Configuring SRP Targets (CLI)
Creating a LUN associated with the Target SRP Group using the CLI
Example 1
The following example shows how to create a LUN and associate it with the targetSRPgroup
using the CLI shares CLI context:
swallower:shares default> lun mylun
swallower:shares default/mylun (uncommitted)> set targetgroup=targetSRPgroup
swallower:shares default/mylun (uncommitted)> set volsize=10
swallower:shares default/mylun (uncommitted)> commit
swallower:shares default> list
Filesystems:
NAME
test
LUNs:
NAME
mylun
Related Topics
Understanding SAN
■
SAN Fibre Channel Configuration
■
SAN iSCSI Configuration
■
SAN iSER Target Configuration
■
SAN SRP Configuration
■
SAN Terminology
■
Understanding SAN
These three components remain the same regardless of which protocol is used on the network.
In some cases, the network may even be a cable between the initiator and the target, but in most
cases, there is some type of switching involved.
Targets and initiators are configured by protocol. Refer to the documentation on a
particular protocol
Configuration" on page
Target and initiator groups define sets of targets and initiators that can be associated with LUNs.
A LUN that is associated with a target group can only be seen via the targets in the group. If a
LUN is not explicitly associated with a target group, it is in the default target group and will
be accessible via all targets, regardless of protocol. Similarly, a LUN can only be seen by the
148
Oracle ZFS Storage Appliance Administration Guide, Release OS8.6.x • September 2016
targetgroup = targetSRPgroup (uncommitted)
volsize = 10 (uncommitted)
SIZE
MOUNTPOINT
38K
/export/test
SIZE
GUID
10G
600144F0E9D19FFB00004B82DF490001
("SAN Fibre Channel Configuration" on page
279) for details.
150,
iSCSI
or
"SRP