LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to extend /home (https://www.linuxquestions.org/questions/linux-software-2/how-to-extend-home-480685/)

fw12 09-05-2006 03:01 PM

How to extend /home
 
I have a hard drive that is getting tight on space.

If I install a new hard drive, is there a way to extend /home onto the new drive? Or is my only option to

cp -a /home /home/on/new/drive

then make an entry in fstab to make /home/on/new/drive the new /home?

acid_kewpie 09-05-2006 03:07 PM

there are plenty of options, but you've not told us a single thing about how your system is currently set up. are you using lvm? do you have a seperate /home partition? if you're on lvm then you can add the additional hardware to the lvm group to get that expansion, using system-config-lvm. if you are not on lvm, then you would be looking to move wholesale to the new device with the cp commands

Brian1 09-05-2006 04:40 PM

If seperate partition and not LVM then check this post out. http://www.linuxquestions.org/questi...home+partition
Several others here on the subject.

Brian1

J.W. 09-05-2006 07:02 PM

If you are attempting to transfer the /home partition from one disk to another, the following article may be of interest: http://www-128.ibm.com/developerwork...-partplan.html

Brian1 09-06-2006 06:59 PM

That looks like the link I was thinking of. Looks good and easy to follow.
Brian1

masonm 09-06-2006 07:04 PM

last time I had to move /home I just booted with the Slack install disk and did everything from there. Piece of cake to copy everything to the new partition without worrying about any files being in use. A quick fstab edit and you're in business.


All times are GMT -5. The time now is 08:00 AM.