setup-storage for raid5 + lvm

Nicolas Courtel courtel at cena.fr
Thu Apr 30 11:11:46 CEST 2009


>>
>> # mdadm --zero-superblock /dev/sda2
>> # /lib/udev/vol_id -u /dev/sda2
>> 6428a2d1-c30d-4916-ab6b-625117989651
>> #
>>
>> I wonder how this mdadm data was still there, though...
>>
>> Thanks for your help,
>>
>>     
>
> Ok, good to know, thanks for testing this. I wonder whether we should do
> something about this in setup-storage, but I believe that doing mdadm
> --zero-superblock on each and every non-RAID device is pure overkill.
>
>   
I agree.  You may want to add a few words in the error message, 
something like "Failed to obtain UUID [...], check that $device_name is 
not or has not been a RAID partition".

-- 
Nicolas
-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20090430/a5b420d6/attachment.htm 


More information about the linux-fai mailing list