Which six options describe the steps that need to be taken on this host to enable an iSCSI target?

You need to set up an Oracle Solaris 11 host as an iSCSI target so that the host’s disk can be
accessed over a storage network. The disk device is c3t4d0.
Which six options describe the steps that need to be taken on this host to enable an iSCSI target?

You need to set up an Oracle Solaris 11 host as an iSCSI target so that the host’s disk can be
accessed over a storage network. The disk device is c3t4d0.
Which six options describe the steps that need to be taken on this host to enable an iSCSI target?

A.
Create a ZFS file system named iscsi/target.

B.
Create a zpool named iscsi with disk device c3t4d0

C.
Create zfs volume named iscsi/target.

D.
Use the stmfadm command to create a LUN using /dev/zvol/rdsk/iscsi/target.

E.
Use the stmfadm command to create a LUN using iscsi/target.

F.
Use the stmfadm command to make the LUN viewable.

G.
Use the stmfadm command to make the volume viewable.

H.
Enable the svc:/network/iscsi/target:default Service.

I.
Use the itadm command to create the iSCSI target.

Explanation:
How to Create an iSCSI LUN
The following steps are completed on the system that is providing the storage device.
Example: target# zpool create sanpool mirror c2t3d0 c2t4d0
(C)2.Create a ZFS volume to be used as a SCSI LUN.
(D)3. Create a LUN for the ZFS volume.
Example:
target# stmfadm create-lu /dev/zvol/rdsk/sanpool/vol1
Logical unit created: 600144F0B5418B0000004DDAC7C10001
4. Confirm that the LUN has been created.
Example
target# stmfadm list-lu
LU Name: 600144F0B5418B0000004DDAC7C10001
(F) 5. Add the LUN view.
This command makes the LUN accessible to all systems.
target# stmfadm add-view 600144F0B5418B0000004DDAC7C10001
How to Create the iSCSI Target
This procedure assumes that you are logged in to the local system will contains the iSCSI target.
Note: The stmfadm command manages SCSI LUNs. Rather than setting a special iSCSI property
on the ZFS volume, create the volume and use stmfadm to create the LUN.
(H) 1. Enable the iSCSI target service.
target# svcadm enable -r svc:/network/iscsi/target:default
(I) 2. Create the iSCSI target.
target# itadm create-target
Reference: Oracle Solaris Administration: Devices and File Systems, Configuring iSCSI Devices
With COMSTAR



Leave a Reply 3

Your email address will not be published. Required fields are marked *