Monday, November 11, 2013

Dealing with Disk Failures Under LVM

Dealing with Disk Failures Under LVM

 remove mirror disk from logical volume
# lvreduce -m 0 /dev/vg03/lvol1 /dev/dsk/c2t6d0
# vgreduce /dev/vg03 /dev/dsk/c2t6d0

add mirror disk to logical volume
# pvcreate /dev/rdsk/c2t9d0
# vgextend /dev/vg03 /dev/dsk/c2t9d0
# lvextend -m 1 /dev/vg03/lvol1 /dev/dsk/c2t9d0

No comments:

Post a Comment

  How to Change Instance Type & Security Group of EC2 in AWS By David Taylor Updated April 29, 2023 EC2 stands for Elastic Compute Cloud...