[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /dev/hda10



On Thu, May 25, 2000 at 01:13:32PM +0930, John Pearson wrote:

[snip]

> $ /sbin/swapon -s
> Filename                        Type            Size    Used    Priority
> /dev/hda2                       partition       128516  2108    -1
> /dev/hda3                       partition       128516  0       -2

You should specify a "pri" argument in the options field of your
/etc/fstab if you want round-robin swap balancing.  Your current setup
will fill /dev/hda2 first.

Now that I look at it there's no benefit for YOU since both swap
partitions are on the same disk!  If they were on seperate disks you'd
get some performance benefit if you added priority args:

 /dev/hda2	none	swap	sw,pri=1
 /dev/hdb2	none	swap	sw,pri=1

Cheers,

-- 
Nathan Norman         "Eschew Obfuscation"          Network Engineer
GPG Key ID 1024D/51F98BB7            http://home.midco.net/~nnorman/
Key fingerprint = C5F4 A147 416C E0BF AB73  8BEF F0C8 255C 51F9 8BB7

Attachment: pgpOsPIRZHb_b.pgp
Description: PGP signature


Reply to: