Hello. my system has run out of space, and I tried to resize. I shut down VM with ISPConfig, added vitrual disk space Code: qemu-img images/ISPApache.img +300G and now: I tried to use parted, but got error that can't have overlapping partitions. So how to increase disk space correctly. And what is for /dev/vda6?
You have to resize /dev/vda2 first and the resize vda6 and the filesystem afterwards. /dev/vda6 and /dev/vda5 cannot be mounted while resizing /dev/vda2, so either boot into a live cd and do the resizing or unmount /dev/vda6 and swapoff /dev/vda5 before resizing. Good Luck and make sure you have a backup at hand at all times
I extended /dev/vda6, move /var/www to /home/www where /dev/vda6 is mounted and made a symbolink link from /var/www to /home/www. Is it OK for ISPConfig to use symbolik link from /var/www, because now everything is working?
This will not work with a symlink. If you want to use a different partition, then please follow this tutorial: https://www.howtoforge.com/use_moun...ctory_of_a_ispconfig_server_to_a_new_location
Thanks! That's the way I was trying to find. But when I tried to unmount the directory, I got a message: "umount: /var/www/clients/client1/web1/log: target is busy", and the apache2 is stopped. lsof +D /var/www/clients/client1/web1/log doesn't show anything, fuser -vm /var/www/clients/client1/web1/log shows a lot. How to act in this situation, force unmount?