On 20/06/2024 12:21, Carsten Grzemba via illumos-discuss wrote:
You can selectively configure your pathes to exclude Tapes and media changers.How is the syntax for selectively configure paths? My plan is to disable mpxio for iscsi global and enable mpxio only for the disk. There the paths are like shown above:/devices/iscsi/[email protected] <mailto:[email protected]>%3Aoceanstor%3A2100a08cf8f6f36b%3A%3A1020003%3A172.xx.yy.ZZ000E,1:c /devices/iscsi/[email protected] <mailto:[email protected]>%3Aoceanstor%3A2100a08cf8f6f36b%3A%3A20003%3A172.xx.yy.zz0004,0:c
I guess that you either don't configure those pathes at all (where
do they come from ? isns server ? ) or selectively remove them like
described in the man page (s.b.).
mpxio for iscsi is managed via the /kernel/drv/iscsi.conf file,
there's also an iscsit.conf file, but I don't know how that should
work in this context. mpxio for iscsi seems to be a global parameter.
remove Subcommand
The syntax for the remove subcommand is:
# iscsiadm remove direct_object
The remove subcommand supports the following direct_objects:
discovery-address discovery-address, ...
Removes a target device from the list of discovery
addresses. A discovery address (as in the syntax shown
below) is an IP address-port combination used in a
SendTargets discovery session. Using this discovery
approach, a target device can inform an initiator of the
target address and target name of each target exposed by
that device. If any target exposed by the discovery
address is currently mounted or there is active I/O on
the device, an error of "logical unit in use" is
returned and the operation fails. If the associated dev-
ices are not in use, they are removed.
discovery-address must be formatted as:
<IP address>[:<port>]
There are no options associated with this direct object.
isns-server isns-server, ...
Removes an iSNS server from the list of iSNS server
addresses. An iSNS server address (specified in the syn-
tax shown below) is an IP address-port combination used
in an iSNS discovery session. By using iSNS discovery,
an iSNS server can provide an initiator with information
about a portal and the name of each target that belongs
to the same discovery domain as that of the initiator.
If any target discovered by means of iSNS is currently
mounted or there is active I/O on the device, an error
of "logical unit in use" is returned and the operation
fails. If the associated devices are not in use, they
are removed.
isns-server must be formatted as:
IP_address[:port]
There are no options associated with this direct object.
static-config static_target, ...
Removes a target from the list of statically discovered
targets. If the target being removed is currently
mounted or there is active I/O on the device, an error
of "logical unit in use" is returned and the operation
fails. If a device is not in use, it will be removed.
static_target must be formatted as:
<target-name>,<target-address>[:port-number][,tpgt]
There are no options associated with this direct object.
target-param target-name
Removes target specified by target-name. The target name
is formatted as:
<target-name>
There are no options associated with this direct object.
For iSCSI booting when the Solaris I/O multipathing
feature (formerly known as Sun StorEdge Traffic Manager
[STMS] or MPxIO) is enabled, you cannot remove the tar-
get.
--
Dr.Udo Grabowski Inst.of Meteorology & Climate Research IMK-ASF-SAT
https://www.imk-asf.kit.edu/english/sat.php
KIT - Karlsruhe Institute of Technology https://www.kit.edu
Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------ illumos: illumos-discuss Permalink: https://illumos.topicbox.com/groups/discuss/Tfd60c28085c2ca49-M5f133ad1da102e20900f0317 Delivery options: https://illumos.topicbox.com/groups/discuss/subscription
