I needed to replace a drive reported for predictive failure on a Dell 730xd so I ran:
racadm raid replacephysicaldisk:Disk.Bay.3:Enclosure.Internal.0-1:RAID.Integrated.1-1 -dstpd Disk.Bay.10:Enclosure.Internal.0-1:RAID.Integrated.1-1
This will replace a disk in your virtual disk, but won’t update the iDRAC display until the iDRAC is reset, or the machine rebooted. You can verify the job is finished with the lifecycle log, or by using the percli tool to view the topology before doing the reset.
perccli /c0 show
You can get the tool here:
https://www.dell.com/support/article/ca/en/cabsdt1/sln283135/how-to-use-the-poweredge-raid-controller-perc-command-line-interface-cli-utility-to-manage-your-raid-controller?lang=en
You can reset the iDRAC from racadm:
racadm racreset soft