[linux-lvm] vgchange -an question with disconnected disks
Peter Smith
peter.smith at utsouthwestern.edu
Fri Feb 3 20:01:57 UTC 2006
John DeFranco wrote:
> I have a question regarding the behavior of vgchange -a n on lvm2 when
> there are disk failures. Specifically the following:
>
> 1. vgchange -a y vg00
> 2. disconnect the disks
> 3. vgchange -a n vg00
Are you doing this in the correct order? Shouldn't you _de_activate the
VG _before_ removing the disks? And besides, shouldn't you remove the
offending disks from the VG _before_ deactivating and then removing the
disks physically? Or at least something equivalent.
1. vgreduce vg00 <offending disks>
2. vgchange -a n vg00
3. disconnect the disks
4. vgchange -a y vg00
...
Peter
More information about the linux-lvm
mailing list