Fix multiple iscsi connections to the same IQN

...and some general debug commands
Unmount the partitons related to the LUNS with multiple connections
umount /u01
umount /u02
umount /u03
umount /l01
umount /l02
umount /l05
umount /l03
Find the sessions that are runnning/connected
iscsiadm -m session
Logout of the sessions
iscsiadm -m node -T \ iqn.2001-05.com.equallogic:0-8a0906-e23cdab04-542d46c32504e145-hudson \ --logout
iscsiadm -m node -T \ iqn.2001-05.com.equallogic:0-8a0906-ade6a1106-4ec000ee3414f959-hudson100gb \ --logout
Remove the iqn directory
cd /var/lib/iscsi/nodes
Determine which iqn to remove
rm -rf iqn<--->
Delete the old and find the new iqn's
service iscsi restart
iscsiadm -m iface -I ethX --op=delete
iscsiadm -m iface -I ethX --op=new
iscsiadm -m discovery -t st -p 10.1.1.1 -I eth1 --op=delete --op=new
service iscsi restart
iscsiadm -m session
Restore LVM superblock
vgcfgbackup>
reboot>
Solaris related ...
iscsiadm list isns-server
A general indicator for the iSCSI connection.
iscsiadm list target -v
Show verbose info for ALL targers
iscsiadm list target -S <iqn ... >
Show info for specific target (by iqn)
This returns the long disk device name
iscsiadm list target -v -S <iqn ... >
Show verbose info for specific target (by iqn)
This returns the long disk device name
iscsiadm list target-param
This returns ALL the irq's for the system
iscsiadm list target-param <iqn ... >
This returns the irq's for the specific iqn