Mailinglist Archive: opensuse (4344 mails)

< Previous Next >
Re: [SLE] How to detect if a swap partition is available and active?
  • From: Michael Behrens <behrens@xxxxxxxxxxx>
  • Date: Sun, 21 Aug 2005 14:33:17 +0200
  • Message-id: <4308748D.1010000@xxxxxxxxxxx>
I would switch off the swap partition with "swapoff", then test it r/w whith "badblocks". If it shows to be ok, reformat it with mkswap, and
reenable it with swapon.

One of course needs enough memory to do this without swapping..


Viele Grüße

Michael Behrens

< Previous Next >