setup-storage for raid5 + lvm

Nicolas Courtel courtel at cena.fr
Tue Apr 28 18:51:30 CEST 2009


Michael Tautschnig a écrit :
> [...]
>   
>>> So, mysteriously, that information is lost afterwards. Hmm, looking at the code
>>> of vol_id it seems that parted might have overridden the volume id for
>>> /dev/sda2 (instead of /dev/sda1 or /dev/sda3). Could you re-run that failing
>>> installation and, once it aborts, do
>>>
>>> parted -s /dev/sda print
>>>
>>>   
>>>       
>> This looks ok:
>>
>> # parted -s /dev/sda print
>> [...]
>> Number  Start   End     Size    Type     File system  Flags
>> 1      32.3kB  535MB   535MB   primary  ext2         raid
>> 2      535MB   1604MB  1069MB  primary  linux-swap       3      1604MB  
>> 320GB   318GB   primary               raid
>>
>>
>> No raid on sda2, but vol_id disagrees:
>>
>> # /lib/udev/vol_id --export /dev/sda2
>> ID_FS_USAGE=raid
>> ID_FS_TYPE=linux_raid_member
>> [...]
>>
>>     
>
> Did /dev/sda2 ever belong to a RAID array? Could you please try
> - parted -s /dev/sda set 2 raid off
> - run vol_id
> - mkswap /dev/sda2
> - run vol_id
>   

Nothing interesting happens... The disk has been in a raid 1 array a 
while ago, but the partitioning was different, and has been cleaned up 
by the new installation.

-- 
Nicolas

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


More information about the linux-fai mailing list