diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-19 16:19:11 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-19 16:19:11 +0300 |
commit | 1f8b10e1d9dca0d2ef80db3cfa99f37d8e8019d9 (patch) | |
tree | bd11491c7ceca0f9572f1823b58ad98d1f5ef91c /doc | |
parent | ea7455c82929d4b8e8a81999b0282c3c650ccb9a (diff) |
Add latest changes from gitlab-org/gitlab@15-1-stable-ee
Diffstat (limited to 'doc')
-rw-r--r-- | doc/administration/gitaly/recovery.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/administration/gitaly/recovery.md b/doc/administration/gitaly/recovery.md index ecd68234b01..2b5916be916 100644 --- a/doc/administration/gitaly/recovery.md +++ b/doc/administration/gitaly/recovery.md @@ -425,3 +425,21 @@ This command fails if: - The repository is already being tracked by the Praefect database. - The repository does not exist on disk. + +### List virtual storage details + +> [Introduced](https://gitlab.com/gitlab-org/gitaly/-/merge_requests/4609) in GitLab 15.1. + +The `list-storages` Praefect sub-command lists virtual storages and their associated storage nodes. If a virtual storage is: + +- Specified using `-virtual-storage`, it lists only storage nodes for the specified virtual storage. +- Not specified, all virtual storages and their associated storage nodes are listed in tabular format. + +```shell +sudo /opt/gitlab/embedded/bin/praefect -config /var/opt/gitlab/praefect/config.toml list-storages -virtual-storage <virtual_storage_name> +``` + +The command outputs: + +- Result to `STDOUT` and the command's logs. +- Errors to `STDERR`. |