Thread: Upgraded and now LVM on RAID is gone
a few weeks ago, set old pentium iv system 2 2tb sata drives (/dev/sdb , /dev/sdc), configured in raid-1 array, lvm filesystem on top of it. system boots off of non-raid, non-lvm /dev/sda. then, on weekend, did usual “sudo apt-get update” followed “sudo apt-get dist-upgrade” update system (ubuntu 10.04 lts desktop). following reboot, lvm no longer available, , raid showed “degraded.”
disk utility in ubuntu showed following message:
error assembling array: mdadm exited exit code 1: mdadm: warning /dev/sdb1 , /dev/sdb appear have similar superblocks.
if different, please --zero superblock on one
if same or overlap, please remove 1 list.
never zeroed superblock, noticed raid system attempting repair (via looking @ /proc/mdstat).
find myself in situation raid array appears intact. below output of “cat /proc/mdstat”:
personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md_d0 : active raid1 sdb[0] sdc[1]
1953513472 blocks [2/2] [uu]
unused devices: <none>
raid array looks fine. lvm partitions appear still there too. below output of sfdisk –l:
disk /dev/sda: 30401 cylinders, 255 heads, 63 sectors/track
warning: extended partition not start @ cylinder boundary.
dos , linux interpret contents differently.
units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting 0
device boot start end #cyls #blocks id system
/dev/sda1 * 0+ 29650- 29651- 238164992 83 linux
/dev/sda2 29650+ 30401- 751- 6031361 5 extended
/dev/sda3 0 - 0 0 0 empty
/dev/sda4 0 - 0 0 0 empty
/dev/sda5 29650+ 30401- 751- 6031360 82 linux swap / solaris
warning: gpt (guid partition table) detected on '/dev/sdb'! util sfdisk doesn't support gpt. use gnu parted.
disk /dev/sdb: 243201 cylinders, 255 heads, 63 sectors/track
warning: partition table looks made
c/h/s=*/81/63 (instead of 243201/255/63).
listing i'll assume geometry.
units = cylinders of 2612736 bytes, blocks of 1024 bytes, counting 0
device boot start end #cyls #blocks id system
/dev/sdb1 0+ 765633- 765634- 1953513560 8e linux lvm
end: (c,h,s) expected (1023,80,63) found (513,80,63)
/dev/sdb2 0 - 0 0 0 empty
/dev/sdb3 0 - 0 0 0 empty
/dev/sdb4 0 - 0 0 0 empty
warning: gpt (guid partition table) detected on '/dev/sdc'! util sfdisk doesn't support gpt. use gnu parted.
disk /dev/sdc: 243201 cylinders, 255 heads, 63 sectors/track
warning: partition table looks made
c/h/s=*/81/63 (instead of 243201/255/63).
listing i'll assume geometry.
units = cylinders of 2612736 bytes, blocks of 1024 bytes, counting 0
device boot start end #cyls #blocks id system
/dev/sdc1 0+ 765633- 765634- 1953513560 8e linux lvm
end: (c,h,s) expected (1023,80,63) found (513,80,63)
/dev/sdc2 0 - 0 0 0 empty
/dev/sdc3 0 - 0 0 0 empty
/dev/sdc4 0 - 0 0 0 empty
warning: gpt (guid partition table) detected on '/dev/md_d0'! util sfdisk doesn't support gpt. use gnu parted.
however, actual lvm information found. pvscan outputs “no matching physical volumes found.”
there way recover data had on these drives, or toast?
in advance.
hi,
have similar problem:
http://ubuntuforums.org/showthread.php?t=2128504
did ever find solution?
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [ubuntu] Upgraded and now LVM on RAID is gone
Ubuntu
Comments
Post a Comment