[CentOS] swap labeling annoyance

Fri Jan 6 12:26:23 UTC 2012
mark <m.roth at 5-cent.us>

John Doe wrote:
> 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...

Works on all our other servers. This is the first time I'm trying on a 
blade (and we have almost no blades).

	mark

-- 
A horned and tusked purple thing went racing along the
ridge to my right pursued by a hairless orange-skinned
creature with long claws and a forked tail.  Both were
wailing in different keys.

I nodded.  It was just one damned thing after another.

               - from _Trumps of Doom_ by Roger Zelazny