/home partition location

Rashkae ubuntu at tigershaunt.com
Tue Apr 1 15:58:34 UTC 2008


elmo wrote:
> If you had two hard drives installed,  would you place a /home partition 
> on a separate hard drive instead of the same hard drive as the ubuntu 
> installation?  Reason?    
> 
> How about a /swap partition?

Create two swap partitions, one on each disk.  In their /etc/fstab,
include the option pri=0

Example:

UUID=56ec0882-678f-46d4-b057-324f7bd52113 none            swap    pri=0

UUID=61c46e3e-a646-4750-9729-e08212371a6f none            swap    pri=0

This will evenly split the load of swap between the two hard disks and
double the speed of swapping (which needs every speed boost it can
possibly get.)

If performance is your goal in life, you can do the same with your
filesystem partitions using software raid.  However, without a redundant
disk, you would also increase your chance of catastrophic data loss from
hard drive failure.



> 
> Would it make any difference if it was a logical or extended partition?
> 
> 





More information about the ubuntu-users mailing list