Was trying to unmap volumes from a host via the GUI and it appears as if they are locked somehow? Can only map to the host, not unmap. This got me poking around XCLI and I wondered if there was any way to take the output from mapping_list host=host001 and push that to an unmap command, like a script? I've done something similar in SVC, but wasn't sure if XCLI supported this.
EDIT: I was able to unmap these LUNs...the host was part of a cluster, so that is why it wouldn't let me do it. I still want to know if this could be done via the XCLI, however. Thanks.