Re: mkswap, lvm and bootbits sectors

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



Le mer. 14 mars 2012 18:14:31 CET, Peter Kjellström a écrit:

> On Wednesday 14 March 2012 11.50.37 Philippe Naudin wrote:
> > Thanks all for your answers.
> > 
> > Actually, my problem concern lvm, not mkswap.
> 
> No, afaict there's nothing wrong with your lvm. The only problem I see is that 
> mkswap prints our an incorrect or at least pointless warning.
> 
> I can confirm that mkswap on an lv on one of my test machines also says 
> "warning: don't erase bootbits...". It also says this when running against a 
> file full of zeroes...
> 
> Regarding fdisks complaints about "doesn't contain a valid partition 
> table...", this is normal (and may be considered a bug in the "-l" option, it 
> could have excluded lvm-devices from its list...).
> 
> If you want to get to the bottom of this I suspect the easiest way is to look 
> at the mkswap source code (under which circumstances it prints that message).

Ahh, perfect, thanks a lot. These bugs^W features of fdisk and mkswap
were absent of CentOS-5 : I was lost, wondering what can be my
mistakes.

Thanks again,

-- 
Philippe Naudin
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux