Storage Software
1752571 Members
5264 Online
108788 Solutions
New Discussion

Windows - RSM - UnpresentStorageVolume vs. RemoveDiskDevice

 
shocko
Honored Contributor

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 :)