There are times when you need to remove a drive or set of drives from an IBM Storwize v3700, v5000, or v7000 series storage system. Removal and addition of disks, especially if you're replacing drives with refurbished/used disks, is a command-line task. You connect to the Storwize vX000 array using Putty or a similar SSH client.
All commands for reference purposes are in the link below. Available commands will vary by firmware version.
https://www.ibm.com/docs/fi/v3700/7.8.1?topic=interface-array-commands
Do this to fail-out disks before removal:
svctask chdrive -allowdegraded -use failed XX (where XX is the drive unit number determined in the GUI)
Do this to clear failed-out disks from the GUI:
svctask chdrive -use failed XX (where XX is the drive ID unit number)
svctask chdrive -use unused XX
Do this to mark added disks as candidate disk:
svctask chdrive -use candidate XX (where XX is drive ID unit number)
Do this to clear dump space after failed firmware upgrade, before re-attempting the upgrade:
cleardumps -prefix /dumps
cleardumps -prefix /home/admin/upgrade
All commands for reference purposes are in the link below. Available commands will vary by firmware version.
https://www.ibm.com/docs/fi/v3700/7.8.1?topic=interface-array-commands
Do this to fail-out disks before removal:
svctask chdrive -allowdegraded -use failed XX (where XX is the drive unit number determined in the GUI)
Do this to clear failed-out disks from the GUI:
svctask chdrive -use failed XX (where XX is the drive ID unit number)
svctask chdrive -use unused XX
Do this to mark added disks as candidate disk:
svctask chdrive -use candidate XX (where XX is drive ID unit number)
Do this to clear dump space after failed firmware upgrade, before re-attempting the upgrade:
cleardumps -prefix /dumps
cleardumps -prefix /home/admin/upgrade