Skip to main content

pxctl volume

pxctl volume

pxctl volume

Description

Manage volumes

Example

pxctl volume -h

pxctl volume list

pxctl volume list

Description

List volumes in the cluster

Flags

FlagDescription

--all, -a

(bool)

show all volumes, including snapshots

--name

(str)

volume name used during creation if any

--label, -l

(str)

list of comma-separated name=value pairs

--parent, -p

(str)

show all snapshots created for given volume

--volumes, -v

(bool)

show only volumes

--time, -t

(bool)

show all volumes sorted by creation time

pxctl volume update

pxctl volume update <required-argument>

Description

Update volume settings

Example

pxctl volume update [flags] volName

Flags

FlagDescription

--label, -l

(str)

list of comma-separated name=value pairs to update (use empty label value to remove label)

--export_options

(str)

set export options

--mount_options

(str)

Set mount options for a volume. Provide the mount options as a comma-separated key=value pairs. (Use empty value to reset mount options)

--pure_nfs_endpoint

(str)

Set Pure FB NFS endpoint for a FB DirectAccess volume. Provide the Pure FB NFS endpoint as a string.

--size, -s

(uint)

New size for the volume (GiB)

Default value: 1

pxctl volume inspect

pxctl volume inspect <required-argument>

Description

Inspect a volume

Example

pxctl volume inspect [flags] volName

Flags

FlagDescription

--extended, -e

(bool)

extended report on volume state