swap off on boot

Mogens Kjaer mk at crc.dk
Wed Jun 27 11:39:01 UTC 2007


ron wrote:
> Fedora 7 is booting up with it's swap off. I have to '# /sbin/swapon
> /dev/sdb3' every time I boot in .
> 
> On boot, I see an error message:
> 
> Unable to resume swap device sdb3. no resume ...

This is not an error message.

> Here is Fedora 7s' fstab:
...
> LABEL=SWAP-sdb3    swap                    swap    
> defaults                  0 0

Most likely /dev/sdb3 doesn't have a label.

If you can live without swap a few seconds,
you could try:

# swapoff /dev/sdb3
# mkswap -L SWAP-sdb3 /dev/sdb3
# swapon -a

Mogens

-- 
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: mk at crc.dk Homepage: http://www.crc.dk




More information about the users mailing list