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

Re: Large swap partitions



Follow-up to msg from 9/30/05, Arjan van de Ven <arjan infradead org> wrote:
> 2) put a roughly equal sized swap on all the other disks and give them
> equal priority in the fstab

When I check my swapon status I see the follow:

[root sager9750 ~]# swapon -s
Filename                                Type            Size    Used    Priority
/dev/sdb3                               partition       1534196 284       -1
/dev/sda3                               partition       1534196 0       -2

[root sager9750 ~]# cat /etc/fstab | grep swap
LABEL=SWAP-sdb3         swap                    swap    defaults        0 0
LABEL=SWAP-sda3         swap                    swap    defaults        0 0

By default my swap space if configured with a priority of -1 and -2 for the second one.
The swapon man pages only talk about priorities between 1 and 32768. How come
I see negative numbers ?

I've added the pri=1 to the /etc/fstab now, but I'm a bit puzzeled by my default settings.
Anyone care to enlightent me ?

Best Regards,
Erik Bussink


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