Windows - RSM - UnpresentStorageVolume vs. RemoveDiskDevice (539 Views)
Reply
Honored Contributor
shocko
Posts: 881
Registered: ‎11-13-2008
Message 1 of 1 (539 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 :)
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation