LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can I move /home ? (https://www.linuxquestions.org/questions/linux-newbie-8/can-i-move-home-362249/)

MikeyDIUP 09-11-2005 12:26 AM

Can I move /home ?
 
I have / in an LVM partition, and i'm running out of space. What I did was created another LVM volume at /homes. Can I move the data from /home into /homes, and then delete /home and move /homes to /home? I don't know if it's that easy. Thanks for any help!

btmiller 09-11-2005 01:15 AM

Yes, move all of your data over to /homes, emptying out /home completely, so it's an empty directory. Then unmount /homes and remount it as /home. Finally, edit /etc/fstab so the correct partition is mounted as /home on each subsequent reboot. You may want to do this is single user mode to ensure that nothing which could be fouled up by the change is running.

MikeyDIUP 09-11-2005 01:19 AM

Sounds great, thanks for the fast reply :)

2damncommon 09-11-2005 01:36 AM

I always like this article.


All times are GMT -5. The time now is 02:58 AM.