Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-11-2005, 12:26 AM   #1
LQ Newbie
Registered: Sep 2005
Posts: 2

Rep: Reputation: 0
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!
Old 09-11-2005, 01:15 AM   #2
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
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.
Old 09-11-2005, 01:19 AM   #3
LQ Newbie
Registered: Sep 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Sounds great, thanks for the fast reply
Old 09-11-2005, 01:36 AM   #4
Senior Member
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
I always like this article.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Move my Home directory... it-s Linux - General 5 07-08-2005 11:34 AM
Move home directory iain.ross Linux - Newbie 6 01-01-2005 04:37 PM
I want to move home fannymites Linux - General 1 12-04-2004 05:45 AM
How do i move /home to a new partition? glenn69 Linux - General 8 06-25-2004 11:38 AM
move home to new drive gSalsero Linux - Software 1 06-11-2004 04:13 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:28 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration