mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Swap areas lose their signatures after reboot
@ 2005-08-30 12:26 Christoph Pleger
  2005-08-31 18:56 ` Pavel Machek
  0 siblings, 1 reply; 3+ messages in thread
From: Christoph Pleger @ 2005-08-30 12:26 UTC (permalink / raw)
  To: linux-kernel

Hello,

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?

Regards
  Christoph

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Swap areas lose their signatures after reboot
  2005-08-30 12:26 Swap areas lose their signatures after reboot Christoph Pleger
@ 2005-08-31 18:56 ` Pavel Machek
  2005-09-01 17:07   ` Christoph Pleger
  0 siblings, 1 reply; 3+ messages in thread
From: Pavel Machek @ 2005-08-31 18:56 UTC (permalink / raw)
  To: Christoph Pleger; +Cc: linux-kernel

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         


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Swap areas lose their signatures after reboot
  2005-08-31 18:56 ` Pavel Machek
@ 2005-09-01 17:07   ` Christoph Pleger
  0 siblings, 0 replies; 3+ messages in thread
From: Christoph Pleger @ 2005-09-01 17:07 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-09-01 17:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-30 12:26 Swap areas lose their signatures after reboot Christoph Pleger
2005-08-31 18:56 ` Pavel Machek
2005-09-01 17:07   ` Christoph Pleger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®