Procedure to cleanly replace disk online on e.g. T4-4
I could not find any comprehensive step by step guide how to do online disk replacement, so currently I do something like following scrapped from different sources:
zpool offline pool old-disk if disk is still present
cfgadm -c unconfigure cXX::wXXXXXXXXXXXXXXXX,0
physically replace disk
label new disk and duplicate VTOC if dealing with root pool
zpool online old-disk
zpool replace pool old-disk new-disk
install boot block (if boot disk)
update EEPROM for new boot device name
Two questions
- various documentation suggests that cfgadm -c unconfigure should light up some LED on disk to highlight it. It does not. Is it correct? If yes, should I manually do it - how?