iscsi persistent binding
1. Is it necessary to make persistent binding entries for iscsi disks? If yes how to do it. If no how the disk binds to the same c#t# for every reboot?
2. I have configured disk access through s/w iscsi initiators. I am able to see the controller c2 using format command but not through cfgadm. Can some one explain this behaviour? Also if I wan't to unconfigure the c2 do I need to use cfgadm or iscsiadm command?
3. What is the best practice to remove a iscsi disk ? I was getting a "disk in use" message when I tried the "iscsiadm remove static-config" command eventhough the disk wasn't having any filesystem.
solc2-#echo | format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c1t0d0 <DEFAULT cyl 1302 alt 2 hd 255 sec 63>
/pci@0,0/pci15ad,1976@10/sd@0,0
1. c2t14d0 <DEFAULT cyl 747 alt 2 hd 128 sec 32>
/iscsi/disk@0000iqn.2008-08.com.starwindsoftware%3Astarwind54-windisk1FFFF,0
2. c2t15d0 <DEFAULT cyl 797 alt 2 hd 64 sec 32>
/iscsi/disk@0000iqn.2008-08.com.starwindsoftware%3Astarwind54-cordsk1FFFF,0
solc2-#cfgadm -la
Ap_Id Type Receptacle Occupant Condition
c1 scsi-bus connected configured unknown
c1::dsk/c1t0d0 disk connected configured unknown
pcie160 unknown empty unconfigured unknown
pcie161 unknown empty unconfigured unknown
pcie162 unknown empty unconfigured unknown
solc1-#cat /etc/release
Solaris 10 5/09 s10x_u7wos_08 X86
Copyright 2009 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 30 March 2009
solc1-#prtdiag -v
System Configuration: VMware, Inc. VMware Virtual Platform
BIOS Configuration: Phoenix Technologies LTD 6.00 10/13/2009