Before You Begin
You must stop using the logical unit device which you want to remove. For example, you can either unmount the file system or export the ZFS pool.
For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.4.
The removed LUNs are marked as unusable.
# cfgadm -al -o show_SCSI_LUN Ap_Id Type Receptacle Occupant Condition c6 fc-fabric connected configured unknown c6::10000000c97ecedc unknown connected configured unknown c6::201600a0b82a38bc disk connected unconfigured unknown c6::21000024ff41d9a4 unknown connected unconfigured unknown c6::21000024ff51bb4a unknown connected unconfigured unknown c7 fc-public connected unconfigured unknown c7::10000000c97ecedd unknown connected unconfigured unknown c7::10000000c9c07a6c unknown connected unusable unknown c7::10000000c9c07a6d unknown connected unconfigured unknown c7::202200a0b85a8c82 disk connected unconfigured unknown c7::202300a0b85a8c82 disk connected unconfigured unknown c7::203200a0b85a8c82 disk connected unconfigured unknown c7::203300a0b85a8c82 disk connected unconfigured unknown c7::2100001b321a45e5 unknown connected unconfigured unknown c7::21000024ff2cd75a unknown connected unconfigured unknown c7::21000024ff2cd75b unknown connected unconfigured unknown c7::2101001b323a45e5 unknown connected unconfigured unknown
# cfgadm -c unconfigure -o unusable_SCSI_LUN c7::10000000c9c07a6c