This widget could not be displayed.
Disk Enclosures
1859564 Members
6452 Online
110403 Solutions
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.

RSM Scripting - RemoveDiskDevice vs. UnpresentStorageVolume

 
shocko
Honored Contributor

RSM Scripting - RemoveDiskDevice vs. UnpresentStorageVolume

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