LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 08-14-2006, 01:05 AM   #1
blkcamarozr28
Member
 
Registered: Oct 2005
Location: Honolulu, Hawaii
Distribution: Fedora Core 1-7, CentOS 4/5, Ubuntu/Xubuntu
Posts: 63

Rep: Reputation: 15
Question How do you add another drive to your existing system?


My current system has only one hdd (hda) but my /home is running out of space. How do I move /home to a new hdd (hdb)? Thanks!


Wilson
 
Old 08-14-2006, 03:07 AM   #2
cdhgee
Member
 
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513

Rep: Reputation: 30
Install your new drive, format it using mkfs, mount it somewhere temporarily (/tmp/home for example), copy the contents of home to your new drive, unmount it again, rename your old /home to /home-old, create an empty directory at /home then remount your new drive at /home. Don't forget to add an entry to /etc/fstab so that it automatically gets mounted at boot.
 
Old 08-14-2006, 03:24 AM   #3
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Does LFS VolumeGroup deal with this kind of matter? I read somewhere, but am uncertain, that you could actually just extend your /home so it resides both on the old harddisk and the new one, but so that it apperas as one. I may be mistaken, but anyway..many "modern" distributions seem to use these VolumeGroups (Fedora Core and Ubuntu, for a start). The goal is, if I got it right, to make it easier to add storage media (like harddisks) to the existing system, resize (grow/shrink) mounted partitions (like /home for example) etc.

Just a thought, no idea how it actually works (as of now).
 
Old 08-14-2006, 03:28 AM   #4
cdhgee
Member
 
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513

Rep: Reputation: 30
Quote:
Originally Posted by b0uncer
Does LFS VolumeGroup deal with this kind of matter?
If you mean LVM, then yes, but only if your existing volume is also LVM formatted. Obviously, you can't extend an LVM volume if you don't have one to begin with. But LVM is great for this sort of thing where you want to spread a volume across multiple disks without resorting to RAID.
 
  


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
RHEL 3: Steps of expanding file system (add new SCSI disks) to existing SW RAID & LVM atman1974 Linux - General 2 01-12-2006 09:49 PM
How to add a hard drive existing Linux system a1ntsk33r3d Linux - Hardware 5 06-28-2005 02:20 PM
How to install a new hard drive on to existing system ksgill Linux - Newbie 3 02-07-2005 12:17 AM
add software raid-1 to existing system hoover93 Linux - Hardware 1 10-07-2003 10:52 AM
Add a new hard drive to existing RH 7.2 guanyu Linux - Software 1 02-27-2002 10:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 06:10 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
Open Source Consulting | Domain Registration