LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 11-09-2007, 08:44 PM   #1
gimmee
Member
 
Registered: Jul 2006
Location: New Zealand
Distribution: Fedora 17 64bit (Desktop) Fedora 15 (Laptop)
Posts: 98

Rep: Reputation: 16
Smile How to add second sata drive and extend /home to it?


Hi all

Running FC6 64bit with one Sata 400GB hard drive.

Getting another 500GB hard drive next week that I want to add. On the existing hard drive it is setup to dual boot windows, so has ntfs partition (sda1), /boot partition (sda2), / partition (sda3), extended (sda4), linux-swap partition (sda5), and a /home partition (sda6). Ext3 filesystem

I want to add the second sata and have it mounted in someway that it just adds to the capacity of the /home partition and the users don't know any different, its transparent to them that I have added it. They just see they have more space to utilise.

So I presume the drive will show up something like sdb. If I set the file system as ext3 and partition the whole drive as /home would this work or just cause a conflict.

Maybe I should be doing some raid setup, another thing I actually have never done but keen to learn.

I have a thing with even numbers so will be doing a Fedora 8 fresh install in a month or so.

Any help or comments on this will be muchly appreciated.

Cheers

Gimmee (I don't want anything thats just my nickname)
 
Old 11-09-2007, 08:52 PM   #2
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Is your home on an LVM partition? If so you can add a new drive to the LVM so you won't even notice it's there except for the increase in size. I'll look up the tool for you
 
Old 11-09-2007, 08:55 PM   #3
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
system-config-lvm
 
Old 11-09-2007, 09:05 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,352

Rep: Reputation: 1041Reputation: 1041Reputation: 1041Reputation: 1041Reputation: 1041Reputation: 1041Reputation: 1041Reputation: 1041
LVM is designed for things like this.

Else just copy /home to the new disk and mount that at /home. Reuse the old space as something else.
Maybe have a look at unionfs - another (non-LVM) option.
 
Old 11-09-2007, 09:06 PM   #5
gimmee
Member
 
Registered: Jul 2006
Location: New Zealand
Distribution: Fedora 17 64bit (Desktop) Fedora 15 (Laptop)
Posts: 98

Original Poster
Rep: Reputation: 16
Hi billymayday

I actually dont know if the /home is on a LVM. I just did the partitions in the installation phase of FC6 but dont remember anything about that. Gparted doesnt say anything about lvm so maybe I didnt, argghhh.
 
Old 11-09-2007, 09:10 PM   #6
gimmee
Member
 
Registered: Jul 2006
Location: New Zealand
Distribution: Fedora 17 64bit (Desktop) Fedora 15 (Laptop)
Posts: 98

Original Poster
Rep: Reputation: 16
Hi there

Logical Volume Management shows Un-Initialized Disk Entry on each partition so I guess I missed the boat on that on.

Cheers

Last edited by gimmee; 11-09-2007 at 09:11 PM.
 
Old 11-09-2007, 09:18 PM   #7
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Why not do what syg00 suggests, and move to lvm when you upgrade to F8 - or better still, go straight to F8
 
Old 11-09-2007, 09:29 PM   #8
gimmee
Member
 
Registered: Jul 2006
Location: New Zealand
Distribution: Fedora 17 64bit (Desktop) Fedora 15 (Laptop)
Posts: 98

Original Poster
Rep: Reputation: 16
Yeah I think you right on that, will do that LVM when I goto F8. Will take your suggestion and copy /home to the 500GB and remount the ole 400GB under /media/something in the meantime. Didn't even know about lvm and unionfs, just a never ending learning curve isn't it.

Really looking forward to trying F8, we had a good run on FC6 64bit once I had it set up and it has been good to carve out some good linux learning on. The windows oriented family have generally survived well although I am finding it a bit easier now, just a litlle bit more than a little, when I get grilled on any problems that pop up. Haha.

Thanks again

Cheers

Gimmee
 
  


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
How to extend /home partition in rhel4? kathmanduite Linux - Newbie 4 09-06-2007 08:40 AM
How to extend /home fw12 Linux - Software 5 09-06-2006 07:04 PM
Adding a SATA drive to be mounted as /home stefholod Linux - Hardware 5 03-25-2006 07:59 PM
SATA Hard Drive Corruption with Folding@Home Matir Linux - Hardware 3 04-28-2005 05:32 PM
extend /home filesystem size rtmisa Linux - Newbie 6 10-10-2003 08:36 AM


All times are GMT -5. The time now is 11:51 PM.

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