volume update
Contents
Usage
$ ozone sh volume update [-hV] [--user=<ownerName>] <value>
Parameter | Description |
---|---|
value |
A volume URI. It can be a full URI (starts with |
ownerName |
Name of the new volume owner |
-h, --help |
Prints out a help manual for this command |
-V, --version |
Prints out version information and exits |
Examples
Setting a new volume owner:
$ ozone sh volume update --user=sergei vol1
As a confirmation, the command outputs the new volume information:
{
"metadata" : { },
"name" : "vol2",
"admin" : "s_tikhomirov_krb1",
"owner" : "sergei",
"quotaInBytes" : -1,
"quotaInNamespace" : -1,
"usedNamespace" : 0,
"creationTime" : "2025-02-23T20:59:54.218Z",
"modificationTime" : "2025-02-23T21:00:38.275Z",
"acls" : [ {
"type" : "USER",
"name" : "s_tikhomirov_krb1",
"aclScope" : "ACCESS",
"aclList" : [ "ALL" ]
} ],
"refCount" : 0
}