You need to configure an ISCSI target device on your x86 based Oracle Solaris II system. While
configuring the iSCSI device, the following error is displayed:
bash: stmfadm: command not found
Which option describes the solution to the problem?
A.
The COMSTAR feature is not supported on the x86 platform. The feature is supported only on
the SPARC platform.
B.
Use the iscsitadm command on the x86 platform when configuring an iSCSI target.
C.
Install the storage-server group package on this system.
D.
Start the iSCSI target daemon on this system.
Explanation:
STMF Manages transactions, such as context and resources for Small Computer
System Interface (SCSI) command execution, and tracking logical unit and port providers. STMF
also handles logical unit mappings, allocating memory, recovering failed operations, enumeration,and other necessary functions of an I/O stack.
STMF is controlled by stmfadm, and stmfadm is the majority of the commands you will be using to
administer COMSTAR (COmmon Multiprotocl Scsi TARget).
Install the packages you need for COMSTAR with iSCSI and reboot:
# pfexec pkg install storage-server
# pfexec pkg install SUNWiscsit
# shutdown -y -i6 -g0
Note: You can set up and configure a COMSTAR Internet SCSI (iSCSI) target and make it
available over the network. The iSCSI features can work over a normal Internet connection (such
as Ethernet) using the standard iSCSI protocol. The iSCSI protocol also provides naming and
discovery services, authentication services using CHAP and RADIUS, and centralized
management through iSNS.
The COMSTAR target mode framework runs as the stmf service. By default, the service is
disabled. You must enable the service to use COMSTAR functionality. You can identify the service
with the svcs command. If you have not rebooted the server since installing the
group/feature/storage-server package, the service might not be enabled correctly.
Reference: Oracle Solaris Administration, Configuring iSCSI Devices With COMSTAR
C – need to install the storage-server group package