If you want /dev/vdb2 to be /home, you should just mount it on /home instead of /data, as I suggested above. symlinks can have surprising side effects.
You’re still probably going to run low on disk space for databases and logs, so you may want to symlink or bind mount the database data directory into /home (formerly /data).
I don’t know where it is. If you followed the steps you suggested you were following above to move the contents of /home to data and then symlink, your data would now be in /data/home, I guess?
If you then deleted /home so you could make the symlink, you’d need to remake /home as a directory (empty), so you can mount /dev/vdb2 on that mount point. You mount a filesystem on a directory path, so there would need to be a /home to mount it on.
Based on what you said previous, you would need to mount /dev/vdb2 on /home (also unmount /data) and move the files from /home/home to just /home.
This was my plan. However, in the end I made so many changes that I lost track.
Even though I have the server space now, email works, the websites still do not work. Can’t start Apache due to SSL errors (for now I use Cloudflare SSL, will use Letsencrypt later)
Doh! Now Webmin seems to be gone - how I get that back?
OK, logout and login again as root
After commenting all SSL related lines from the Apache *.comf I can start Apache - but get Cloudflare SSL handshake failed error.
You really need to start over. Seriously. Get the basics first. Get help from your provider to properly set up the distro of choice. Having a huge /data directory by default is just plain wrong.
I’m not sure partitions on a modern Linux distro is really necessary. Back in the days of ext2 file systems it made a lot of sense.
Now I get a new error while Checking Configuration: No Ethernet interface could be automatically found on your system. Use the [module configuration] page to set the interface manually
I did start fresh with a new Debian 12 install and expanded the storage of /home with that /data mapping thing (see message above)
Generally Copilot/ChatGPT etc. do give useful hints and can be a great help.
First virtual domain created, moved the postfix mailboxes from old postfix 2.6.6 to 3.7.11 manually (/home/domain/homes + /home/domain/Maildir), works fine with Roundcube.