swap off on boot[Solved]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



These steps worked for me:

$ locate vol_id

/lib/udev/vol_id
/usr/share/man/man8/vol_id.8.gz

ron: no swap lable 'ID_FS_LABEL= '

$ sudo /lib/udev/vol_id /dev/sdb3

ID_FS_USAGE=other
ID_FS_TYPE=swap
ID_FS_VERSION=2
ID_FS_UUID=69caa1c1-5435-4dbb-b434-5a91c62d7cee
ID_FS_LABEL=
ID_FS_LABEL_SAFE=

ron: swap turned off

$ sudo /sbin/swapoff /dev/sdb3

ron: swap labled

$ sudo /sbin/mkswap -L SWAP-sdb3 /dev/sdb3

Setting up swapspace version 1, size = 2097438 kB
LABEL=SWAP-sdb3, no uuid

ron: swap turned back on

$ sudo /sbin/swapon /dev/sdb3

ron: swap labled 'ID_FS_LABEL=SWAP-sdb3 '

$ sudo /lib/udev/vol_id /dev/sdb3

ID_FS_USAGE=other
ID_FS_TYPE=swap
ID_FS_VERSION=2
ID_FS_UUID=
ID_FS_LABEL=SWAP-sdb3
ID_FS_LABEL_SAFE=SWAP-sdb3

ron: logs

$ sudo cat /var/log/dmesg | grep swap

$ sudo cat /var/log/messages | grep swap

Jun 27 11:49:37 f7 kernel: Adding 2048276k swap on /dev/sdb3.
Priority:-2 extents:1 across:2048276k

Thank you so much. It seems like, after installing some other distros,
swap space labels are being erased. I tried to isolate this problem by
making separate swap space for each distro and commenting out  any
reference to each others partitions. I will remove the '#'. and
condense swap to one partition on each disk.

Thread start:

https://www.redhat.com/archives/fedora-list/2007-June/msg05752.html

--
macroron

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux