On 20/08/06 14:49 LeVA wrote: > Hi! > > I have two disk drives, and each of them has a swap partition. I would > like to swap to both of them, but firstly to the "other" disk, which is > not used during the running of the system, thus making the swapping > less painful (the drives are on separate ide channels/cables). > > The swap partition which is on the disk which has the root partition > gets always priority 0, so I thought that I should add this to my > fstab: > > /dev/wd1b none swap sw,priority=0 0 0 > /dev/wd0b none swap sw,priority=1 0 0 > > But after reboot, both of the swap partitions gets priority 0. > I can change the wd0b's priority to 1 after the boot, but is this the > proper way of doing this, and one can not define the main swap > partition's priority in fstab?
I don't know about the Why (but the explanation given by Ingo makes sense). As a fix for your problem you can give negative priorities as well, i.e.: # /etc/fstab /dev/wd1b none swap sw,priority=-1 0 0 regards tilo > Thanks! > > Daniel