PING : REPLACING AN LVM DISK : CHAPTER 2
|
Replacing a NON-boot disk WITH LVM mirroring Mirroring introduces an interesting twist to the recovery process. Because LVM keeps a map of "stale" extents on each disk, it is only aware of individual extents which are in need of update, and it does not map this to entire disks. This makes for quick mirror recovery in the case that a disk has temporarily lost connection with the host, or has lost power. In addition, it can greatly speed up the recovery time in the instance of a failed disk. Example configuration:
Volume group /dev/vg00 contains the three disks, with the logical
volume configuration as shown:
|---------| |---------| |---------|
| lvol 1 | | lvol 4 | | lvol 4 |
|---------| | | | mirror |
| lvol 2 | |---------| |---------|
|---------| | lvol 5 | | lvol 5 |
| lvol 3 | | | | mirror |
|---------| |---------| |---------|
hardware address 52.6.0 52.5.0 52.4.0
device file c0t0d0 c0t1d0 c0t2d0
(/dev/dsk/)
This involves a head crash on the disk at address 52.4.0. |