Hello, I am running out of space on one of my servers running ISPConfig 3 on top of Debian 7. Is there a way to add second HDD (internal or external) so that the clients do not run out of space for e-mails and ownCloud?
run: lvscan to get a list of all logical volumes. If no volumes are listed or the command is not found, then you dont use lvm.
Code: lvscan -bash: lvscan: command not found So I do not use lvm? Is adding second HDD much easier with lvm or is it impossible without? Can I start using it?
You dont use lvm. With lvm you would have been able to to extend your current partition with a second harddisk. But this has to be setup during OS install, there is no esay way to to that now. My suggstion is that you levae either mail or web on the current harddisk and move the other one to the new harddisk. you can then use a bind mount to relocate the data without changing the actual path in ispconfig. A bind mount is a kind of symlink, but on filesystem level. https://www.howtoforge.com/use_moun...ctory_of_a_ispconfig_server_to_a_new_location
Could I backup everything, move data to external HDD, reinstall OS (this time, with lvm enabled), restore data and then add another HDD?
Yes, would recommend to use a backup solution that makes a backup of the whole operating system, so nothing ISPConfig specific.