commands.sh

pvesm

linux

Manage Proxmox storage.

More info →

Options (4)

boolean

Get status for all datastores

Example: pvesm {{[st|status]}}
boolean

List storage contents

Example: pvesm {{[l|list]}} {{storage_name}}
boolean

Add a directory storage

Example: pvesm add {{[d|dir]}} {{storage_name}} --path {{path/to/directory}}
boolean

Remove a storage

Example: pvesm {{[r|remove]}} {{storage_name}}

Examples (6)

Get status for all datastores

pvesm [st|status]

List storage contents

pvesm [l|list] storage_name

Add a directory storage

pvesm add [d|dir] storage_name --path path/to/directory

Set a storage to contain specific content

pvesm set storage_name --content iso,images,backup,vztmpl,...

Delete a file from storage

pvesm free local:iso/archlinux-2025.08.01-x86_64.iso

Remove a storage

pvesm [r|remove] storage_name
made by @shridhargupta | data from tldr-pages