lvreduce –k –m 0 /dev/vg00/lvol1
lvreduce –k –m 0 /dev/vg00/lvol2
:
- Check all LV not show Stale
lvdisplay –v /dev/vg00/lvol1
- Remove physical disk from VG (No specify Physical disk)
vgreduce –f vg00
- Save and Remove /etc/lvmtab
mv /etc/lvmtab /etc/lvmtab.bak
- Scan VG for create new /etc/lvmtab
vgscan –v
- Backup VG config
vgcfgbackup –f /etc/lvmconf/vg00.conf vg00
- Check Boot Path
lvlnboot –v
incase wrong use lvlnboot command
lvlnboot -r /dev/vg00/lvol3 /dev/vg00
lvlnboot -b /dev/vg00/lvol1 /dev/vg00
lvlnboot -s /dev/vg00/lvol2 /dev/vg00
lvlnboot -d /dev/vg00/lvol2 /dev/vg00
- Check VG
vgdisplay –v vg00
- Test Reboot for normal operation
shutdown –ry 0
0 comments:
Post a Comment