volume update

Definition

Updates the owner of the volume.

Usage

$  ozone sh volume update [-hV] [--user=<ownerName>] <value>
Arguments
Parameter Description

value

A volume URI. It can be a full URI (starts with o3://, e.g. o3://hostname:9862/vol1/) or a short URI (starts with a volume name, e.g. vol1). Any missing information is obtained from the configuration files

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
}
Found a mistake? Seleсt text and press Ctrl+Enter to report it