Displays a list of host maps or available LUN numbers.
hostmap ‑list [‑details] [{ ‑unmapped | [{ ‑lun lun‑or‑clone‑id‑or‑fqn [, lun‑or‑clone‑id‑or‑fqn]... | ‑availableLunNumbers }] [{ ‑host host‑id‑or‑fqn [, host‑id‑or‑fqn]... | ‑hostmap hostmap‑id‑or‑fqn [, hostmap‑id‑or‑fqn]... | ‑hostGroup host‑group‑id‑or‑fqn [, host‑group‑id‑or‑fqn]... | ‑hostGroupMap host‑group‑map‑id‑or‑fqn [, host‑group‑map‑id‑or‑fqn]... }] }] [{‑sessionKey | ‑u admin‑user ‑oracleFS oracle‑fs‑system}] [{‑outputformat | ‑o} { text | xml }] [{‑timeout timeout‑in‑seconds | ‑verify | ‑usage | ‑example | ‑help}]
Displays a list of the fully qualified names (FQNs) of the hosts, and the LUNs to which they are mapped. Use the ‑details option to see hostmap or hostgroupmap FQNs and unique identifiers (IDs), LUN numbers, and mapping types. Use the ‑unmapped option to display a list of the LUNs which have no mappings.
Returns a list of all of the logical unit numbers that are available on the Oracle FS System, for a given SAN host or hostmap or SAN host group or hostgroup map. If neither hosts, host groups, nor maps are provided, then the globally available numbers are returned.
The fully qualified name (FQN) and unique identifier (ID) of the LUN or of the Clone LUN
The logical unit number of the LUN or of the Clone LUN
The FQN and the ID of the SAN host
The FQN and the ID of each initiator that is associated with the SAN host
Specifies a host entry which represents a computer on the customer SAN. You identify a host by providing a unique ID (ID) or a fully qualified name (FQN) for the host entry.
The list of host mappings are returned only for the specified SAN hosts.
Specifies a group of computers on the customer SAN. You identify the host group by providing a unique ID (ID) or a fully qualified name (FQN) for the group.
The list of host mappings are returned only for the specified host groups.
Specifies a mapping between a LUN and a host group. You identify the host group mapping by providing a fully qualified name (FQN) or a unique ID (ID).
The list of host mappings are returned only for the specified host group maps.
Identifies a mapping between a LUN and a SAN host. You identify the hostmap by providing a unique ID (ID) or a fully qualified name (FQN).
The list of host mappings are returned only for the specified host maps.
Specifies the ID or the fully qualified name (FQN) of a LUN that resides on the Oracle FS System. An FQN begins with a forward slash character ( / ) and is followed by a path expression to locate the LUN.
Returns a list of LUNs which have no mappings. Only the fully qualified name (FQN) of the LUNs are returned. To display the FQNs and the unique identifiers (IDs) of the LUNs, include the -outputformat xml option. The -details option provides no additional information when used with hostmap -list -unmapped.
The following global options can be used for fully formed fscli commands:
The command completes successfully.
The command returns with an error.
The session times out.
Inspects the validity of the command syntax, not the semantics. Used to test the structure of a command without running the command. Does not determine whether errors would be produced if you issue a structurally correct command with the input provided.
Directs the CLI to prompt you to supply a session key when you issue the command. The CLI displays Sessionkey: as the prompt. To obtain a session key, log in with the ‑returnKey option specified. After the session is established, the session key is displayed in STDOUT. If you request a session key, the ‑sessionkey option is required syntax for all commands that are issued in a given session. In environments with more than one Oracle FS System, the session key is used to determine to which Oracle FS System to direct the command for validation. Session keys are also used to establish two or more CLI sessions when using a shared administrator account.