![]() |
Disk Usage Help?
I followed the guide on installing ISPConfig 3 on a fresh CentOS 6 and its all up and running well now. When I goto "Monitor" => "Disk Usage" within ISPConfig I see this:
Code:
Filesystem Type Size Used Available Use% Mounted onCan someone please let me know what the optimal solution here is to either swap the capacities of the partitions or to change which partition the website files are stored on and how to do it? Thank you. |
In theory, website files are stored in /var/www
So, it's normal that the file system in use here is / and not /home I will install a multi server environment soon, so I will verify that. |
Website files are stored in /var/www and email files in /var/vmail, so a large /var partition is recommended.
|
/var partition
I'm not sure how these partitions were setup in the first place, I just followed the guide. How do I setup a /var partition and reallocate all those gigabytes to the new /var partition from /home partition? Additionally, should I even create a /var partition or just increase the limit of the / partition?
|
what kind of server are you using?
a machine at home/office? a dedicated/virtual server from a hosting company? I also use CentOS 5 and 6 and with the standard partitioning selected on setup such a configuration should not occur. |
Quote:
|
Windows is my domain although I love Linux/CentOS. In Windows I would know what to do.
Sorry. |
You could move the /home stuff to another directory (on the / partition, e.g. /home_tmp), delete the /dev/mapper/VolGroup-lv_home logical volume, extend the /dev/mapper/VolGroup-lv_root logical volume (make sure you extend the file system as well) and then rename /home/tmp to /home.
You can find instructions here: http://www.howtoforge.com/linux_lvm |
extend file system as well?
Quote:
When trying to remove the /home entry from /etc/fstab I get this: Code:
E325: ATTENTION |
How to Unmount /dev/mapper/VolGroup-lv_root?
Hey Falko,
Following your suggestion I've successfully removed the /home LV and also removed it from /etc/fstab. I'm now trying to increase the size of the / LV but it won't let me unmount it because it says: "device is busy." What can I do to the / LV? |
| All times are GMT +2. The time now is 19:17. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.