LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-05-2006, 03:01 PM   #1
fw12
Member
 
Registered: Mar 2006
Distribution: Fedora core, Ubuntu
Posts: 168

Rep: Reputation: 30
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?
 
Old 09-05-2006, 03:07 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,386

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
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
 
Old 09-05-2006, 04:40 PM   #3
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
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
 
Old 09-05-2006, 07:02 PM   #4
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 69
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
 
Old 09-06-2006, 06:59 PM   #5
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
That looks like the link I was thinking of. Looks good and easy to follow.
Brian1
 
Old 09-06-2006, 07:04 PM   #6
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 13.37 Android 4.0
Posts: 2,248

Rep: Reputation: 46
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.
 
  


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
Extend LVM partition rconan Linux - Software 5 08-31-2010 02:32 AM
Extend Ethernet cable? ctkroeker General 18 02-14-2007 04:03 AM
Extend file system mcouthino Linux - Enterprise 1 12-11-2005 09:21 AM
How to extend network range? G-Fox Linux - Hardware 3 11-13-2003 11:09 PM
extend /home filesystem size rtmisa Linux - Newbie 6 10-10-2003 08:36 AM


All times are GMT -5. The time now is 07:24 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration