LinuxQuestions.org
Help answer threads with 0 replies.
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 08-04-2005, 10:43 PM   #1
apocolpse
Member
 
Registered: Oct 2004
Distribution: Fedora Core 4
Posts: 91

Rep: Reputation: 15
Linux on Multiple Hard Drives


So I just bummed an old comp from a friend of mine, and I'm gonna install Ubuntu on it. I also have an 6.5 GB HD that I already installed in it. So now the machine has 6.5 GB and a 30GB HDs in it.

What is the best way to disribute my linux installion on the system? I'm guessing it would be better to put the main sys files on the smaller one and store my data (music, docs etc) on the large one. What mount points(/home, /usr, /) do i put on either drive ?
 
Old 08-04-2005, 11:25 PM   #2
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 48
I would make the smaller drive the master, and the bigger the slave. I would make 4 partitions, boot, / , swap, and /home. I have read that with multiple drives, it makes the most sense to have swap and / on oposite drives, that way it can simultaneously write to the main drive and the swap, which can't happen if they are on the same drive. You're talking milliseconds of difference, but I tend to think every little bit counts. I would set things up like this:

Code:
Small Drive:
100 MB /boot
6.4 GB /

Big Drive:
500 MB swap
29.5 GB /home
I would put the small drive first in the boot order, as that is what the system will boot from.

Peace,
JimBass
 
Old 08-04-2005, 11:35 PM   #3
volvogga
Member
 
Registered: Aug 2004
Location: MI, USA
Distribution: Fedora Core 3
Posts: 137

Rep: Reputation: 15
Sounds like you got the right idea. It depends on how many partitions and mount points you want, how much space Ubuntu will take, and how much space you want to save for programs that will be installed alongside the system and not in /home (although I don't think this could be much).

Many people like to have 3 or 4 partitions, / , /boot , /home , and swap. I read somewhere once that performance is supposed to be better if the swap partition is on a separate hard disk than the main operating system files. I never really seen any numbers on this though. Probably doesn't make that much of a difference, but its something you may want to think about.

I think a lot of its preference. Like you said, I would put /home on the 30Gig.


*EDIT*

Ha! JimBass beat me to it!

Feeling dumb now.

Thats what I get for turning to the TV for 10 minutes.

Last edited by volvogga; 08-04-2005 at 11:39 PM.
 
Old 08-05-2005, 12:39 AM   #4
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 764

Rep: Reputation: 32
Swap partition

One important point. The swap drive must be on the other IDE channel. There is a hardware limitation here. You can read from one channel while writing to the other but you cannot do a simultaenous read and write on the same channel.

Does it make a difference? I believe so. At work, I used to recover HDDs from windows machines being scrapped and install them in elderly machines still in use. In each case the users reported a performance improvement *UNDER LOAD*. ie, when swapping kicked in, things went faster.

I assume that the same will hold true for Linux BUT remember that a HDD on the same channel as a CDROM may have its performance degraded. Depends on how modern the kit is.
 
Old 08-06-2005, 04:25 PM   #5
apocolpse
Member
 
Registered: Oct 2004
Distribution: Fedora Core 4
Posts: 91

Original Poster
Rep: Reputation: 15
Thanks alot for the insight guys ? How much space would you recommend for the / and /boot partitions ?
 
Old 08-06-2005, 06:17 PM   #6
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 48
Reread my post above.

/boot doesn't neet more than 100 MB, and you may as well let / fill the rest of the small drive.

Peace,
JimBass
 
  


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
multiple booting two hard drives with linux distros slim case Linux - Newbie 3 07-04-2005 09:02 PM
Booting with multiple hard drives Sledge Linux - Newbie 4 01-17-2005 10:44 PM
Multiple Hard Drives TuxFreak Linux - General 3 12-22-2004 12:11 PM
multiple hard drives bosewicht Linux - Hardware 4 11-22-2003 10:23 PM
Multiple Hard Drives in one Linux server jeucken Linux - Hardware 1 11-01-2002 09:51 AM


All times are GMT -5. The time now is 05:45 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