[CentOS] swap labeling annoyance

John Doe jdmls at yahoo.com
Fri Jan 6 11:33:42 UTC 2012


From: "m.roth at 5-cent.us" <m.roth at 5-cent.us>

> I just upgraded a blade server via rsync from another server. Rebuilt the
> initrd. It boots fine... except that it won't turn on the swap partition.
> Several times, I've made sure swap was off, then mkswap -L SWAP-sda3
> /dev/sda3, but when I do swapon -L SWAP-sda3, it complains it can't find
> the device for the label.

Did you check the partition label after the mkswap?
I just am wondering if the '-' in the middle is handled correctly...

JD



More information about the CentOS mailing list