what's the correct way to declare LVM on entire disk ?

Mathieu Alorent malorent at echo.fr
Wed Dec 8 16:42:04 CET 2010


Hi Michael,

Le lundi 06 décembre 2010 à 13:34 +0100, Mathieu Alorent a écrit :
> > Your second attempt *without* the disk_config disk2 line would be "correct" -
> > but it seems that setup-storage is not. Could you just give that another try
> > as explained above to see the behaviour is consistent at least? I'll meanwhile
> > try to figure out what's going wrong. Oh, yes, and as always: debug logs are
> > most welcome :-)
> 
> With "sdb", I get "same" error:
> 
> Starting setup-storage 1.3+exp
> Using config file: /var/lib/fai/config/disk_config/PPC_BACK
> Executing: parted -s /dev/sda unit TiB print
> Executing: parted -s /dev/sda unit B print free
> Executing: parted -s /dev/sda unit chs print free
> Executing: parted -s /dev/sdb unit TiB print
> Parted could not read a disk label (new disk?)
> Could not determine size and contents of /dev/sdb, skipping
>     Finding all volume groups
> Executing: mdadm --examine --scan --verbose -c partitions
> /dev/sdb is not a valid block device
> 
> Please find debug logs attached. 

Please let me know if you need more info... :)

Regards
Mât



More information about the linux-fai mailing list