[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] rescuing a VG with one missing PV



The drive I got was two gigabytes smaller than the original, and thus:

[21:42] lectric(pts/8):~# vgcfgrestore -n archive /dev/ide/host0/bus0/target1/lun0/part1
vgcfgrestore -- size of physical volume /dev/ide/host0/bus0/target1/lun0/part1 differs from backup

The original disc was:

  PVs: [AN] ide/host0/bus0/target1/lun0/part1 60030976 /3664    
		21331968 /1302    38699008/2362  

and it now is 58633312 blocks according to fdisk.

Is there a way to still restore the remaining VG?-o Sounds like the
backup would need to be modified. The physical extents that were in
the dead device would need to be either removed from the VG or
allocated from another device?
-- 
  _____________________________________________________________________
     / __// /__ ____  __                              Erkki Seppälä\   \
    / /_ / // // /\ \/ //ircnet                           Modeemi Ry\  /
   /_/  /_/ \___/ /_/\_\ modeemi fi        http://www.modeemi.fi/~flux/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]