Disk Replacement
Steps to replace disk on a daos system (hot swap):
Identify the disk to be replaced (this should cause the disk to blink):
dmg storage query list-devices -l aurora-daos-xxxx:10003
dmg storage led identify -l aurora-daos-xxxx:10003 970005:01:00.0Mark disk as faulty:
dmg storage set nvme-faulty -l aurora-daos-xxxx:10003 -u $UUIDAt this stage if you were not swapping an already bad disk rebuild should be triggered.
Verify the marked disk is in 'EVICTED' state:
dmg storage query list-devices -l aurora-daos-xxxx:10003Perform the Hot swap.
Pull the old disk out.
Wait alteast 20s-30s.
Inserting new disk.
Verify the states of old and new disk. Old disk should show 'UNPLUGGED', new one should show 'NEW'
dmg storage query list-devices -l aurora-daos-xxxx:10003Allow rebuild to complete triggered in step 2.
Run dmg disk replace:
dmg storage replace nvme --old-uuid $OLD_UUID --new-uuid $NEW_UUID -l
aurora-daos-xxxx:10003Rebuild should be triggered as the disk should reintegrate on it's own. But it can take some time for it to show. So please wait. You can perform step 8 in the meanwhile.
Verify the state of new disk, it should show 'NORMAL'. Old disk should not be in the list anymore.
dmg storage query list-devices -l aurora-daos-xxxx:10003Wait for rebuild to complete.
what does 970005:01:00.0 reference? the PCIe address of an affected drive from “list-devices”?