LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux on Multiple Hard Drives (https://www.linuxquestions.org/questions/linux-newbie-8/linux-on-multiple-hard-drives-350120/)

apocolpse 08-04-2005 10:43 PM

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 ?

JimBass 08-04-2005 11:25 PM

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

volvogga 08-04-2005 11:35 PM

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:).

davcefai 08-05-2005 12:39 AM

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.

apocolpse 08-06-2005 04:25 PM

Thanks alot for the insight guys ? How much space would you recommend for the / and /boot partitions ?

JimBass 08-06-2005 06:17 PM

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


All times are GMT -5. The time now is 10:22 AM.