[CentOS] mkswap, lvm and bootbits sectors

Peter Kjellström cap at nsc.liu.se
Wed Mar 14 04:08:46 EDT 2012


On Tuesday 13 March 2012 13.20.01 m.roth at 5-cent.us wrote:
> Peter Kjellström wrote:
> > On Tuesday 13 March 2012 13.41.53 Philippe Naudin wrote:
> >> Hello,
> >> 
> >> I am confused by a warning from mkswap :
> >> 
> >> When making a swap on a LVM volume, I see the following warning :
> >>   mkswap: /dev/vg_SDB1/swap_test6_64: warning: don't erase bootbits
...
> <snip>
> Are you making swap from a logical partition, or a swapfile? If the
> former, perhaps recreating the partition might help.

Don't confuse the poor guy. 1) yes he's doing mkswap on an lv which was 
obvious had you read the post 2) an lv does not have a partition table so your 
statement about recreating it makes no sense.

/Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.centos.org/pipermail/centos/attachments/20120314/f2d19d9c/attachment.bin 


More information about the CentOS mailing list