HP 3PAR Solaris Implementation Guide

Product: VV
OS Device Name: /dev/rdsk/c5t50002AC010A7003Ed0s2
The iscsiadm command can be used to remove and modify targets and their parameters, as in
the following examples:
# iscsiadm remove discovery-address 10.106.2.12:3260
# iscsiadm modify initiator-node -d CRC32
Removing Volumes for Fibre Channel Connections
After removing the VLUN exported from the HP 3PAR StoreServ Storage, the VLUN removal from
the Solaris host is performed in different ways depending on the HBA driver and the OS version.
Appendix A, shows examples of a number of these different host configurations and the methods
used to cleanly remove host references to removed HP 3PAR StoreServ Storage VLUNs.
Removing Volumes for iSCSI Connections
The following is an example of removing a virtual volume from the HP 3PAR StoreServ Storage
when using an iSCSI connection.
1. Use the format command to see all HP 3PAR StoreServ Storage VLUNs that are discovered
on the host.
bash-3.00# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. C5t5000c5000AF8554bd0 <SUN72G cyl 14087 alt 2 hd 24 sec 424> /scsi vhci/disk@g5000c5000af8554b
1. c5t5000c5000AF8642Fd0 <SUN72G cyl 14087 alt 2 hd 24 sec 424> /scsi_vhci/disk@g5000c5000af8642f
2. c5t5000c500077B2307d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424> /scsi_vhci/disk@g5000c500077b2307
3. c5t5000c5000AC007F100AFd0 <3PARdata-VV-0000 cyl 4309 alt 2 hd 8 sec 304> /scsi_vhci/ssd@g50002ac007f100af
4. c5t5000c5000AC007F200AFd0 <3PARdata-VV-0000 cyl 4309 alt 2 hd 8 sec 304> /scsi_vhci/ssd@g50002ac007f200af
5. c5t5000c5000AC007F300AFd0 <3PARdata-VV-0000 cyl 4309 alt 2 hd 8 sec 304> /scsi_vhci/ssd@g50002ac007f300af
6. c5t5000c5000AC007F400AFd0 <3PARdata-VV-0000 cyl 4309 alt 2 hd 8 sec 304> /scsi_vhci/ssd@g50002ac007f400af
7. c5t5000c5000AC007F500AFd0 <3PARdata-VV-0000 cyl 4309 alt 2 hd 8 sec 304> /scsi_vhci/ssd@g50002ac007f500af
8. c5t5000c5000AC007F600AFd0 <3PARdata-VV-0000 cyl 4309 alt 2 hd 8 sec 304> /scsi_vhci/ssd@g50002ac007f600af
9. c5t5000c5000AC007F700AFd0 <3PARdata-VV-0000 cyl 4309 alt 2 hd 8 sec 304> /scsi_vhci/ssd@g50002ac007f700af
10. c5t5000c5000AC007F800AFd0 <3PARdata-VV-0000 cyl 4309 alt 2 hd 8 sec 304> /scsi_vhci/ssd@g50002ac007f800af
11. c5t5000c5000AC007F900AFd0 <3PARdata-VV-0000 cyl 4309 alt 2 hd 8 sec 304> /scsi_vhci/ssd@g50002ac007f900af
12. c5t5000c5000AC007F900AFd0 <3PARdata-VV-0000 cyl 4309 alt 2 hd 8 sec 304> /scsi_vhci/ssd@g50002ac007fa00af
Specify disk (enter its number)
2. Use the devfsadm command to remove a VLUN.
CAUTION: Notice now the removed VLUN is referenced in format on the host. This listing
is not consistent across the x86/SPARC or the MU levels.
# devfsadm -i iscsi
Here is an example:
bash-3.00# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. C5t5000c5000AF8554bd0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/scsi vhci/disk@g5000c5000af8554b
1. c5t5000c5000AF8642Fd0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/scsi_vhci/disk@g5000c5000af8642f
2. c5t5000c500077B2307d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/scsi_vhci/disk@g5000c500077b2307
3. c5t5000c5000AC007F100AFd0 <3PARdata-VV-0000 cyl 4309 alt 2 hd 8 sec 304>
Removing Volumes for Fibre Channel Connections 59