Work with iSCSI devices is really easy and comfortable in Solaris 10, consider following steps to create and use the simplest configuration:
On target.
Declare base directory
iscsitadm modify admin -d /export/sandbox
Create the target
iscsitadm create target --size 10m sandbox
List created target and copy iqn
iscsitadm list target
On initiator.
Use the target
iscsiadm add static-config iqn.1986-03.com.sun:02:a5a27478-ded0-c8c3-9c71-a882cbfbc0ed.sandbox, ip-address
Label the disk:
#format
Useful:
The command shows relation of ISCSI LUN and local device name
iscsiadm list target -S
On target.
Declare base directory
iscsitadm modify admin -d /export/sandbox
Create the target
iscsitadm create target --size 10m sandbox
List created target and copy iqn
iscsitadm list target
On initiator.
Use the target
iscsiadm add static-config iqn.1986-03.com.sun:02:a5a27478-ded0-c8c3-9c71-a882cbfbc0ed.sandbox, ip-address
Label the disk:
#format
Useful:
The command shows relation of ISCSI LUN and local device name
iscsiadm list target -S
Comments