[mythtv-users] Lost Swap space
Yan Seiner
yan at seiner.com
Fri Sep 21 15:16:50 UTC 2007
Craig Huff wrote:
> I had a problem last night with my FE and had to drop into single user
> mode during boot to fsck all the partitions. Everything came back ok,
> except for the swap. I know you don't fsck the swap, so I checked with
> "swapon -s" which reported that I had no swap. Then I looked in
> /etc/fstab and found that, as usual for Fedora Core 6, the swap is
> referenced by label. I fired up qtparted and looked at the partition
> and it appears to have lost it's label. I quit qtparted and edited
> /etc/fstab to comment out the existing swap line and create a copy that
> references the drive directly as /dev/hda2 and rebooted, but no joy.
> System works fine, except it has no swap space. What suggestions can
> anyone provide for re-enabling the swap?
man swapon
try swapon -a or swapon /dev/hda2
and then look into dmesg to see what happened.
it's possible you will have to mkswap /dev/hda2 if the swap 'file
system' got hosed.
--Yan
--
o__
,>/'_ o__
(_)\(_) ,>/'_ o__
Yan Seiner (_)\(_) ,>/'_ o__ o__
Certified Personal Trainer (_)\(_) ,>/'_ ,>/'_
Licensed Professional Engineer (_)\(_) (_)\(_)
'man' is short for 'manual' because it's very short, for a manual.
More information about the mythtv-users
mailing list