Re: How to check if swap is working?
- From: Steven Ringwald <asric@xxxxxxxxx>
- Date: Fri, 16 Dec 2005 19:26:18 -0800
Daniel B. Thurman wrote:
Ok, thanks to Warren and Steve for the tips!
Turns out that my swap failed to work. I thought that when I
did a mkswap, a label would be used and the fstab would somehow
get correctly set. I was wrong on both counts. grrr.
I had to hardpath the swap (/dev/hda3) into the fstab and
then run swapon -a command. I rechecked swap and now I have
something other than "0"
Again, thanks for the tips!
Glad to be of help!
When you ran the mkswap command, there is an option to label it.
mkswap -L dans-swap /dev/hda3
Hope that this helps!
Steve
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Relevant Pages
- Re: LABEL for swap partition.
... I have it ready to go and want to include it in my fstab. ... I can't find how to label a swap disk/space. ... You can label it with the mkswap command: ... (comp.os.linux.setup) - Re: use of label in fstab
... use of label in fstab ... > I made another partition /dev/sda5 and used e2label to label it dyndata, ... I don't generally mount by label & I don't use ext filesystems, ... (Ubuntu) - Re: HD error: BAD SUPER BLOCK
... >>to fstab and rebooted. ... sectors/track: 63 ... /kernel: ad6: cannot find label ... /kernel: ad6s1: cannot find label (no disk label) ... (freebsd-questions) - Re: [opensuse] /dev/disk/by-uuid ?
... Use "swapoff" to take it out of service before recreating it then ... sda1, use mkswap to recreate it with a label, then revert the process ... kernel might not see the label till next reboot. ... not running - unless the live founds swap space and uses it. ... (SuSE) - Re: [kde] automounting IPOD
... xfs) filesystem that is to be mounted by its UUID or volume label ... changes the disk device name but not the filesystem volume label. ... If I add an fstab entry for /dev/sda2 with suitable options this ... (KDE) |
|