HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   What can I move to larger hard drive? (http://www.howtoforge.com/forums/showthread.php?t=42672)

Mosquito 14th January 2010 00:53

What can I move to larger hard drive?
 
I've got a server with two drives in it - a 160 GB and a 500 GB - and I'd like to move a majority of the user files to the larger 500 GB drive. What can I safely move and still have ISPConfig function?

On a related note, I've been looking for a listing of what files are installed where on the hard drive. I can't find one anywhere. Does someone have a link to the file system layout after a standard install?

Thanks

Mark_NL 14th January 2010 11:00

You can move everything to the other disc as long as you make sure the moved files are mounted to the same location ..

f.e.

/dev/sda = 160GB
/dev/sdb = 500GB

If you format sdb and copy the whole /home dir to sdb you need to edit the /etc/fstab file and add a line that tells linux that /home can now be found on /dev/sdb

Mosquito 14th January 2010 19:42

I just need to move /home then?

Thank you.

Mosquito 15th January 2010 05:39

/home is not what I want to move. To move user files from ISPConfig to the larger drive I need to move /var/www

Mark_NL 15th January 2010 09:27

Well i would start with copying instead of moving (just to have a backup if all fails ;-))

can you post the content of the file /etc/fstab ?


All times are GMT +2. The time now is 06:09.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.