This topic introduces the connection command usage:
- connection --show [options]
- connection --add --name [options]
- connection --update [options]
- connection --delete [options]
- connection --enable [options]
- connection --disable [options]
- connection --help
|
NOTE: If you specify a command without supplying the expected value or option, you are prompted to provide the correct value or option. |
Description
Displays the current connections on a container.
|
NOTE: In addition to displaying the current status of an existing container connection, this command also verifies if an existing container connection is disabled (by listing its status as offline). |
Syntax
connection --show [--name <name>] [--type <NFS|||||>][--verbose]
Where
--name Name of container. ABC
--type Type of sharing (NFS|||||).
--verbose Show further details.
Result
Container Name Connection Type
Target
avc
Other Examples
Display the complete status of all existing container connections by using the --verbose command on a QoreStor (this example only shows a partial display of the total output):
Container Entry ID : 1
Container Name : NV_QS1
connection Entry ID : 1
connection Quota : Unlimited
connection Used Capacity : 257.0 GiB
connection Enabled : Yes
connection status : Available
Description
Adds a new connection to a container.
Syntax
connection --add --name <name> --type <NFS|||||>
[--clients <ip address>]
[--dma <ip address>]
[--initiator <IQN, ip address, hname, or WWPN>]
[--map <nobody | | administrator>]
[--options <NFS | mount export options>]
[--capacity <Positive decimal number>]
Where
--name Name of container.
--type Type of sharing required (NFS|||||).
--clients Restrict NFS/ access to this list of comma separated hs.
--dma Restrict access to this DMA h.
--initiator Restrict /FC access to this /FC initiator.
--map How to map for NFS.
--options mount options NFS (rw,ro,insecure), (hide,unhide, sync always=<yes/no>,valid users).
--capacity usable capacity in Gigabytes.
Result
Successfully added connection entry.
connection Quota : 10
connection Enabled : Yes
Description
Updates or modifies the connection values on an existing container connection on a QoreStor. The --capacity command option lets you specify a positive decimal number to represent the capacity size (in Gigabytes (GB)) of an container.
|
NOTE: container connections are unlimited by default, and type container connections only support unlimited capacity. |
Syntax
connection --update --name <name>
--type <NFS|||||>
[--clients <ip address>]
[--dma <ip address>]
[--initiator <IQN, ip address, hname, or WWPN>]
[--map <nobody | | administrator>]
[--options <NFS | mount export options>]
[--capacity <Positive decimal number>]
Where
--name Name of container.
--type Type of sharing required (NFS|||||).
--clients Restrict NFS/ access to this list of comma separated hs.
--dma Restrict access to this DMA h.
--initiator Restrict /FC access to this /FC initiator.
--map How to map for NFS.
--options mount options NFS (rw,ro,insecure), (hide,unhide).
--capacity usable capacity in Gigabytes.
Result
Successfully updated connection entry.
connection Quota : 200 GiB
connection Used Capacity : 0.0 GiB
connection Enabled : Yes