Windows - RSM - UnpresentStorageVolume vs. RemoveDiskDevice (615 Views)
Honored Contributor
Posts: 883
Registered: ‎11-13-2008
Message 1 of 1 (615 Views)

Windows - RSM - UnpresentStorageVolume vs. RemoveDiskDevice

Hi guys,

I'm just reviewing some old RSM scripts. I notice a lot of them run the following commands in order


  • UnpresentStorageVolume

  • RemoveDiskDevice

From reading the CLI guide, the first command just unpresents the storage from the server. The second command notifies the server before unpresenting the storage (presumably to let the server flush it's write caches etc ??? ).


I'm just wondering why these two commands would ever appear in this order. Surely you would only run the if the UnpresentStorageVolume command where the RemoveDiskDevice failed? Also, am I correct in assuming that the RemoveDiskDevice command does something a little more elegant?


Any thoughts most appreciated.

If my post was helpful please award me Kudos! or Points :)