[linux-lvm] After replacing sata card can't read
bluca at comedia.it
Wed Dec 12 08:29:54 UTC 2007
On Wed, Dec 12, 2007 at 07:06:46AM +0000, Glynn Morrison wrote:
>what I did:
> mdadm --create --assume-clean /dev/md2 --level=5 --raid-devices=6 /dev/sd[a-f]1
and you are 1000% sure you got the order right?
> pvcreate -u uRm1dv-M80B-YRPp-vNM8-WNth-kuke-oNCGHG /dev/md2
> vgcfgrestore -f lvm-raid raid
>Latter I tried: pvcreate --restorefile lvm-raid -u uRm1dv-M80B-YRPp-vNM8-WNth-kuke-oNCGHG /dev/md2 instead to the same affect.
if the mdadm was correct this should have not been needed
>I'm assuming that all this wont have affected the actual data on the
>drive, but I'm at a loss of what to do now, as far as I can see
>everything is now as it was...
usually after doing "mdadm --create --assume-clean" you should check
that data is still readable, if not try changing the order of drives in
"mdadm" and try again.
More information about the linux-lvm