LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 09-11-2005, 01:26 AM   #1
MikeyDIUP
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, 02:15 AM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
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, 02:19 AM   #3
MikeyDIUP
LQ Newbie
 
Registered: Sep 2005
Posts: 2

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

Rep: Reputation: 88
I always like this article.
 
  


Reply


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 12:34 PM
Move home directory iain.ross Linux - Newbie 6 01-01-2005 05:37 PM
I want to move home fannymites Linux - General 1 12-04-2004 06:45 AM
How do i move /home to a new partition? glenn69 Linux - General 8 06-25-2004 12:38 PM
move home to new drive gSalsero Linux - Software 1 06-11-2004 05:13 PM


All times are GMT -5. The time now is 01:41 PM.

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