Differences
This shows you the differences between two versions of the page.
sanboot:iscsi_create_via_opensolaris [2007/11/10 17:59] mcb30 created |
sanboot:iscsi_create_via_opensolaris [2007/11/10 18:02] mcb30 |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Creating an iSCSI target on OpenSolaris ====== | ||
- | |||
- | ===== Starting the iSCSI target service ===== | ||
- | |||
- | Ensure that the iSCSI target daemon is running: | ||
- | |||
- | # svcadm enable iscsitgt | ||
- | |||
- | ===== Creating an iSCSI target ===== | ||
- | |||
- | Create the target: | ||
- | |||
- | # iscsitadm create target --size 4g my_target | ||
- | |||
- | where //my_target// is a short name of your choice. List the properties of the newly-created target: | ||
- | |||
- | # iscsitadm list target | ||
- | | ||
- | Target: my_target | ||
- | iSCSI Name: iqn.1986-03.com.sun:02:8ff4de24-303f-46f9-ccb3-f09f22a6edab.my_target | ||
- | Connections: 0 | ||
- | |||
- | Make a note of the iSCSI IQN of the newly-created target (//iqn.1986-03.com.sun:02:8ff4de24-303f-46f9-ccb3-f09f22a6edab.my_target// in the above example). You are now ready to | ||
- | |||
- | * [[sanboot:iscsi_install|Install to the iSCSI target]] | ||