disabled 19:16:32 svc:/network/iscsi_initiator:default
disabled 19:17:41 svc:/system/iscsitgt:default
root@s01# svcadm enable network/iscsi_initiator
root@s01# svcs -a | grep iscsi
disabled 19:17:41 svc:/system/iscsitgt:default
online 19:29:26 svc:/network/iscsi_initiator:default
root@s01# iscsiadm add discovery-address 192.168.2.2:3260
root@s01# iscsiadm modify discovery -t enable
root@s01# format
Searching for disks...
The device does not support mode page 3 or page 4,
or the reported geometry info is invalid.
WARNING: Disk geometry is based on capacity data.
The current rpm value 0 is invalid, adjusting it to 3600
The device does not support mode page 3 or page 4,
or the reported geometry info is invalid.
WARNING: Disk geometry is based on capacity data.
The current rpm value 0 is invalid, adjusting it to 3600
done
c3t3d0: configured with capacity of 18.00MB
c3t4d0: configured with capacity of 98.00MB
AVAILABLE DISK SELECTIONS:
0. c0d0
/pci@0,0/pci-ide@7,1/ide@0/cmdk@0,0
1. c3t1d0
/iscsi/disk@0000iqn.1994-04.org.netbsd.iscsi-target%3Atarget30001,0
2. c3t2d0
/iscsi/disk@0000iqn.1994-04.org.netbsd.iscsi-target%3Atarget20001,0
3. c3t3d0
/iscsi/disk@0000iqn.1994-04.org.netbsd.iscsi-target%3Atarget10001,0
4. c3t4d0
/iscsi/disk@0000iqn.1994-04.org.netbsd.iscsi-target%3Atarget00001,0
Specify disk (enter its number): c^C
root@s01#
2 comments:
Doesn't work with Sun 7110...
works for solaris 10 only
Post a Comment