view show

Prev Next

This command displays details of a view.

Usage

view show --id ID
          [--global-synchronization]
          [--s3]
          [--share-level-acl]
          [--worm]

Required Parameters

--id ID

Specify the ID of the view you want to view.

Options

--global-synchronization

If the view supports global synchronization, this option displays details of synchronization between the view and other views that support global synchronization.

When a view supports global synchronization, the cluster checks for views on paths protected by the same replication group as the view path and synchronizes file handles with those views. The command output shows you if there is a matching view on each remote peer that has global synchronization enabled, and whether it is synced with this view.

The global synchronization feature enables views to support seamless replication failover.

--s3

Displays S3 details.

--share-level-acl

Displays share-level ACL details.

--worm

Display WORM details for the View.

Example

vcli: admin> view show --id 3
+---------------------------------+---------------------+
| ID                              | 3                   |
| Path                            | /io_agent           |
| Alias                           |                     |
| Share                           |                     |
| Bucket                          |                     |
| Bucket-owner                    | None                |
| Policy                          | default             |
| Protocols                       | ['NFS']             |
| Cluster                         | mycluster           |
| Physical-capacity               | 259570682320        |
| Logical-capacity                | 551381676999        |
| S3-locks                        | False               |
| NFS-interop                     | Disabled            |
| Is-remote                       | False               |
| Created time                    | 2023-05-12 05:11:22 |
| Live Monitoring                 | False               |
| Qos-policy                      | None                |
| Tenant-id                       | 1                   |
| Bulk-permission-update-state    | N/A                 |
| Bulk-permission-update-progress | 0                   |
| Abe-protocols                   | []                  |
| Abe-max-depth                   | None                |
| Global Synchronization          | False               |
+---------------------------------+---------------------+

This example displays S3 details of a view:

vcli: admin> view show --id 26 --s3
+---------------------------+-------------------------+
| Path                      | /bucket-jovial-lyrebird |
| Bucket                    | bucket-jovial-lyrebird  |
| Bucket-owner              | lean-cerberus           |
| S3-versioning             | False                   |
| Allow-s3-anonymous-access | False                   |
| Bucket Creators (Users)   | []                      |
| Bucket Creators (Groups)  | []                      |
| S3-unverified-lookup      | False                   |
+---------------------------+-------------------------+

This example shows share-level ACL details for a view.

vcli: admin> view show --id 5 --share-level-acl
Share-level ACL is disabled
Share-level ACL is not configured

This example shows information about global synchronization for a view that has global synchronization enabled. In this case, there is a view on a remote replicated path on a remote peer but the view does not have global synchronization enabled. In order to complete the configuration of global synchronization for the replication path, a new view must be created on the remote peer with global synchronization enabled.

vcli: admin> view show --id 13 --global-synchronization
+----------+--------------+-----------+-------------+-----------------------------------------------------+
| Path     | Cluster name | Peer name | Sync status | Failure-reason                                      |
+----------+--------------+-----------+-------------+-----------------------------------------------------+
| /rep_dir | ClusterA     | peerAtoB  | Error       | Remote view does not support global synchronization |
+----------+--------------+-----------+-------------+-----------------------------------------------------+

This example shows WORM details for a view.

vcli: admin> view show --id 9 --worm
+--------------------------+------------------------------------+
| Path                     | /inventive-cockatoo-fee5-view-622d |
| WORM                     | True                               |
| Files-retention-mode     | N/A                                |
| Default-retention-period |                                    |
| Min-retention-period     | N/A                                |
| Max-retention-period     | N/A                                |
| Auto-commit              | N/A                                |
+--------------------------+------------------------------------+