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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux