When deleting igroups, you can use a single command to simultaneously remove the LUN mapping and delete the igroup. You can also use two separate commands to unmap the LUNs and delete the igroup.
|If you want to...||Then enter this command...|
|Remove LUN mappings before deleting the igroup||lun unmap lun-path igroup then igroup destroy igroup1 [igroup2, igroup3...]|
|Remove all LUN maps for an igroup and delete the igroup with one command||igroup destroy -f igroup1 [igroup2, igroup3...]|