Replace a degraded drive or proactively replace a drive with the CLI
- Identify the drive to be replaced
lsdrive
- Collect details of the targeted drive (mdisk id, member id, enclosure id, slot id)
lsdrive <drive id>
- Identify available spares in the system to copy targeted drive to
lsdrive -filtervalue use=spare
- Copy target drive to available spare
charraymember -member <target member id> -newdrive <drive id of spare> -balanced <id of the mdisk/array>
- Monitor copy process
lsarraymemberprogress
- Once copy operation is complete, check disk status
lsdrive <drive id>
- Replace drive
[[Drive Replacement - Offline or Spare with CLI]]