Question 3
Examine the code fragment from /etc/tgt/targets.conf:
<target iqn.2013-03.com.example.mypc:1>
backing-store /iSCSIsharedDisk/physDisk1.img
write-cache off
</target>
<target iqn.2013-03.com.example.myps:2>
backing-store / iSCSIsharedDisk/physDisk2.img
initiator-address 192.0.2.105
initiator address 192.0.2.106
write-cache off
</target>
<target iqn.2013-03.com.example.mypc:3>
backing-store /iSCSIsharedDisk/physDisk3.img
write-cache off
</target>
Which statement is true?
Only the target identified by the iqn ending with mypc:2 is visible. This target is visible to the specific clients identified by the initiator address.
The initiator-address syntax in not valid. The address value should be specified as an iqn, not an IP address. This causes an error, and only iqns ending with mypc:1 and mypc:3 are visible.
All targets are visible to prospective clients, but the target iqn ending with mypc:2 is visible exclusively to the specified IP addresses.
The initiator-address syntax is not valid. The address value must be specified as an iqn, not an IP address. The initiator-address parameters are ignored and all targets are visible without restriction.
Correct answer: B