[linux-lvm] Can't restore the volume group after ghosting an hdd

Sasha Z kleptophobiac at gmail.com
Wed Mar 23 02:08:31 UTC 2005


Oh confound it!

I cleaned off a bunch of junk on my array to reduce total usage to two
drives. I pvmoved the other two drives and reduced the logical volume.
Then I reduced the volume group to eliminate those two drives. I went
to resize the reiserfs, but here's what I get:

[root at fileserver archive]# resize_reiserfs /dev/vg0/lv0
resize_reiserfs 3.6.19 (2003 www.namesys.com)

bread: Cannot read the block (2): (Invalid argument).
reiserfs_open: bread failed reading block 2
bread: Cannot read the block (16): (Invalid argument).
reiserfs_open: bread failed reading block 16

reiserfs_open: the reiserfs superblock cannot be found on /dev/vg0/lv0.

but

  PV         VG   Fmt  Attr PSize   PFree
  /dev/hde4  vg0  lvm2 a-   179.75G      0
  /dev/hdg1       lvm2 --   172.55G 172.55G
  /dev/hdi        lvm2 --   152.67G 152.67G
  /dev/hdk1  vg0  lvm2 a-   233.76G  37.81G

and again:

  VG   #PV #LV #SN Attr  VSize   VFree
  vg0    2   1   0 wz--n 413.51G 37.81G

and finally:

  LV   VG   Attr   LSize   Origin Snap%  Move Copy%
  lv0  vg0  -wi-s- 375.70G

What caused this to die? Just after I got DVD-R's too! :(




More information about the linux-lvm mailing list