Start
Is Disk
Replaced
Check Disk is Okay
Is Disk Okay ?
Check Data on Disk (use fstyp(1M))
Data on Disk ?
Get the VG name to
which the PV belongs to
Is VG Active ?
Check and collect Config info for VG
Is Good Config
exists ?
The Disk is not
seen with
ioscan(1M) output
or not readable.
Correct and restart
Yes
YesNoYes
End
No
The disk appears to have
some data or the disk
belongs to some volume
manager. Please replace the
correct disk with an unused
and restart
Activate the VG
and Restart
No
Couldn’t find the configuration. Ensure
prior to restarting, below information is
available.
- pvdisplay PV info
- Lvdisplay for each lvol on PV info
- /etc/lvmconf/<vg_name>.conf is
accessible
End
No
Yes
Check root
Disk
Gather all required information
Eg :
- What PV is to be replaced
-Is the PV Hot swappable
-What LV’s are affected
- What their layout ? Are they mirrored
- Is the PV root Disk or part of root VG
Hot Swappable ?
Yes
No
Shutdown the system,
Turnoff the power, Replace
the disk and Restart
Any unmirrored logical
Volumes?
OS >= 11.31
Try to close all affected LVs
- halt applications
- fuser -u /mnt
- ps -f ppids
- fuser -ku /mnt
- umount /mnt
No
No
Successfully
Disabled ?
Yes
LVM OLR
Installed ?
pvchange -a N PV
Replace the disk and Restart
End
Is pvdisplay status
available ?
Lvreduce -m 0 -A n /dev/vgtest/lvolv1 PV
(for 1 way mirroring)
Lvreduce -m 1 -A n /dev/vgtest/lvolv1 PV
(for 2 way mirroring)
If all physical extents on PV are moved to
another PV then :
vgreduce /dev/vgtest PV
vgchange -a n
vgtest
Is ioscan of all
hardward path
NO_HW?
No
Check Root
Disk
Yes
Yes
Yes
No
No
Yes
Yes
No
Yes
No
Comentarios a estos manuales