2005-09-01 15:04:56

by Pavel Machek

[permalink] [raw]
Subject: Re: Swap areas lose their signatures after reboot

Hi!

> We have a machine with much RAM and 4 SCSI disks. We want to have 8 GB
> of Swap space. So I partitioned the hard disks with one swap partition
> of 2GB on every disk. But only the swap partition of the first disk can
> be used after a reboot; the other three swap partitions lose their swap
> signature.
>
> When I call "swapon -a" manually, it says "Invalid argument" for these
> three partitions. After executing "mkswap" on them, "swapon -a" works
> fine. But I have to call "mkswap" after every reboot.
>
> What happens with the swap signatures during reboot?

swsusp plays with them... Are you using swsusp?
--
64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms


2005-09-01 17:07:56

by Christoph Pleger

[permalink] [raw]
Subject: Re: Swap areas lose their signatures after reboot

Hello,


> swsusp plays with them... Are you using swsusp?

I am not using swsusp.

I found out that as I had alredy guessed the swap signature
("SWAPSPACE2" at address 0xFF6 of the swap partition) has been deleted
after a reboot.


Christoph