On Sat, 2008-08-02 at 12:49 +0300, Eray Aslan wrote: > Hello, > > One of the disks in a 3-disk lvm2 group crashed. I would like to > continue with the remaining 2 disks. How to remove the non-functioning > disk from the group and re-create the volume with 2 disks? I have backups. > > # vgremove home_vol > Couldn't find device with uuid 'D0HvzD-Vw9B-40Vd-NSn1-RW0d-SlVF-pM4jOH'. > Couldn't find all physical volumes for volume group home_vol. > Couldn't find device with uuid 'D0HvzD-Vw9B-40Vd-NSn1-RW0d-SlVF-pM4jOH'. > Couldn't find all physical volumes for volume group home_vol. > Couldn't find device with uuid 'D0HvzD-Vw9B-40Vd-NSn1-RW0d-SlVF-pM4jOH'. > Couldn't find all physical volumes for volume group home_vol. > Couldn't find device with uuid 'D0HvzD-Vw9B-40Vd-NSn1-RW0d-SlVF-pM4jOH'. > Couldn't find all physical volumes for volume group home_vol. > Volume group "home_vol" not found > > # vgscan > Reading all physical volumes. This may take a while... > Couldn't find device with uuid 'D0HvzD-Vw9B-40Vd-NSn1-RW0d-SlVF-pM4jOH'. > Couldn't find all physical volumes for volume group home_vol. > Couldn't find device with uuid 'D0HvzD-Vw9B-40Vd-NSn1-RW0d-SlVF-pM4jOH'. > Couldn't find all physical volumes for volume group home_vol. > Couldn't find device with uuid 'D0HvzD-Vw9B-40Vd-NSn1-RW0d-SlVF-pM4jOH'. > Couldn't find all physical volumes for volume group home_vol. > Couldn't find device with uuid 'D0HvzD-Vw9B-40Vd-NSn1-RW0d-SlVF-pM4jOH'. > Couldn't find all physical volumes for volume group home_vol. > Volume group "home_vol" not found
The lvm(8) man page lists the --partial flag. A quick Google search reveals: vgchange -ay --partial -a