1Z0-821 · Question #176
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…
The correct answer is 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. F. Use the stmfadm command to make the LUN viewable. H. Enable the svc:/network/iscsi/target:default Service. 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 (D)3. Create a LUN for the ZFS volume. target# stmfadm create-lu…
Question
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?
Options
- ACreate a ZFS file system named iscsi/target.
- BCreate a zpool named iscsi with disk device c3t4d0
- CCreate zfs volume named iscsi/target.
- DUse the stmfadm command to create a LUN using /dev/zvol/rdsk/iscsi/target.
- EUse the stmfadm command to create a LUN using iscsi/target.
- FUse the stmfadm command to make the LUN viewable.
- GUse the stmfadm command to make the volume viewable.
- HEnable the svc:/network/iscsi/target:default Service.
How the community answered
(48 responses)- A8% (4)
- B73% (35)
- E15% (7)
- G4% (2)
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 (D)3. Create a LUN for the ZFS volume. target# stmfadm create-lu /dev/zvol/rdsk/sanpool/vol1 Logical unit created: 600144F0B5418B0000004DDAC7C10001 4. Confirm that the LUN has been created. 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
Topics
Community Discussion
No community discussion yet for this question.