Swap Space Not Being Used?

Michael H. Warfield mhw at wittsend.com
Fri Sep 22 17:44:44 UTC 2006


On Fri, 2006-09-22 at 01:35 -0400, Rick Bilonick wrote:
> On Fri, 2006-09-22 at 00:35 -0400, Dave Jones wrote:
> > On Fri, Sep 22, 2006 at 12:27:20AM -0400, Rick Bilonick wrote:
> >  
> >  > Unable to find swap-space signature
> >  > Unable to find swap-space signature
> >  > Unable to find swap-space signature
> >  > Unable to find swap-space signature
> >  > Unable to find swap-space signature
> >  > Unable to find swap-space signature
> >  > 
> >  > A few days ago (right before this problem started), I installed acpitool
> >  > and I tried to do a suspend (which didn't work). I think that screwed
> >  > something up!
> > 
> > mkswap /dev/hda6, and then it should work.
> > 
> > 	Dave
> > 
> 
> OK, I rebooted but still get:
> 
> > dmesg | grep swap
> 
> Kernel command line: ro root=/dev/VolGroup00/LogVol00 rhgb quiet
> resume2=swap:/dev/hda6
> audit(1158902797.697:4): avc:  denied  { unlink } for  pid=1852
> comm="swapon" name="blkid.tab.old" dev=dm-0 ino=1736154
> scontext=system_u:system_r:fsadm_t tcontext=root:object_r:etc_t
> tclass=file
> audit(1158902797.809:5): avc:  denied  { unlink } for  pid=1852
> comm="swapon" name="blkid.tab.old" dev=dm-0 ino=1736154
> scontext=system_u:system_r:fsadm_t tcontext=root:object_r:etc_t
> tclass=file
> 
> This gets swap going:
> root at ophth-bilora chippy]# /sbin/swapon /dev/hda6

> But how do I get this to work automatically like it used to?

	Two choices...  Change the "LABEL=SWAP-hda6" in your fstab to read
simply "/dev/hda6" or go back and rebuild the swap again, and this time
specify the label name using the -L option:

	mkswap -L "SWAP-hda6" /dev/hda6

> Rick B.

	Mike
-- 
Michael H. Warfield (AI4NB) | (770) 985-6132 |  mhw at WittsEnd.com
   /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/
   NIC whois: MHW9          | An optimist believes we live in the best of all
 PGP Key: 0xDF1DD471        | possible worlds.  A pessimist is sure of it!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20060922/74268baf/attachment-0002.bin 


More information about the users mailing list