- 论坛徽章:
- 0
|
Disk Replacement (Local rootvg hot-swapped SCSI disk)
When a failed local disk is detected, the SA should open a hardware call with IBM support (with the pSeries S/N prtconf ), and run diagnostics to determine the disk is real failed.
a) Check the error log for relevant errors.
errpt |more
errpt –aN hdiskname | more
b) Check and record disk attribute (S/N and location )
lscfg –vl hdiskname
c) Check VG membership for disk
lspv –L hdiskname
d) Check VG
lsvg –L rootvg
lsvg –p rootvg
e) Check LV on the disk
lspv –l hdiskname
lsvg –l rootvg
f) Remove any unmirrored LV on the disk
rmlv lvname
g) Unmirror rootvg from disk
Unmirrorvg rootvg hdiskname
h) Remove disk from VG
reducevg rootvg hdiskname
i) Use # diag to physically identify the disk in the server (LED blink )
diag->task selection ->hot plug task -> SCSI and SISC RAID hot plug manage -> identify a device attached to a SCSI hot swap enclosure device
j) Remove device definitions for disk
rmdev –d –l hdiskname
lspv | more (check)
k) Physical replace the disk, same or larger size than the failed disk, check S/N
l) add new disk in rootvg
cfgmgr –v Create the newdisk device definition
lspv Check
extendvg rootvg newdisk Add the disk to rootvg
lspv Check
mirrorvg rootvg newdisk Mirror VG
syncvg –v rootvg Sync VG
bosboot –a –d /dev/ newdisk
Chvg –a’y’ –Q’n’ –x’n’ rootvg
bootlist –m normal -o
m) recreate the removed LV
n) check final configuration
boot_check -y verify your work done |
|