[
https://issues.apache.org/jira/browse/HDDS-17756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anurag Parvatikar updated HDDS-17756:
-------------------------------------
Description:
HDDS-17710 added ozone admin storagepolicy check <volume/bucket/key>
[--show-replicas]. It checks one key. A path that ends at the bucket is
rejected with "Key name is missing." To find keys that sit on the wrong storage
type, an operator must run the command once for each key.
To quickly identify a list of keys that do not match their storage policy, add
a --mis-match flag to the command which accepts a path that ends at a bucket.
It lists the keys of that bucket and prints only keys that do not match their
storage policy.
In case of OBS: list the key name.
In case of FSO: list the full key path.
was:
HDDS-17710 added ozone admin storagepolicy check <volume/bucket/key>
[--show-replicas]. It checks one key. A path that ends at the bucket is
rejected with "Key name is missing." To find keys that sit on the wrong storage
type, an operator must run the command once for each key.
To quickly identify a list of keys that do not match their storage policy, add
a --mis-match flag to the command which accepts a path that ends at a bucket.
It lists the keys of that bucket and prints only keys that do not match their
storage policy.
> Add --mis-match option to ozone admin storagepolicy check to list keys of a
> bucket that do not match their storage policy
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: HDDS-17756
> URL: https://issues.apache.org/jira/browse/HDDS-17756
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Anurag Parvatikar
> Assignee: Anurag Parvatikar
> Priority: Major
>
> HDDS-17710 added ozone admin storagepolicy check <volume/bucket/key>
> [--show-replicas]. It checks one key. A path that ends at the bucket is
> rejected with "Key name is missing." To find keys that sit on the wrong
> storage type, an operator must run the command once for each key.
> To quickly identify a list of keys that do not match their storage policy,
> add a --mis-match flag to the command which accepts a path that ends at a
> bucket. It lists the keys of that bucket and prints only keys that do not
> match their storage policy.
> In case of OBS: list the key name.
> In case of FSO: list the full key path.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]