LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pvesm

Configure Proxmox storage backends

TLDR

Show every storage and whether it is online
$ pvesm status
copy
List the contents of one storage
$ pvesm list [storage_name]
copy
Resolve a stored file to its path on disk
$ pvesm path [local]:iso/[filename.iso]
copy
Add a directory-backed storage
$ pvesm add dir [storage_name] --path [path/to/directory]
copy
Restrict what a storage may hold
$ pvesm set [storage_name] --content [iso,backup,vztmpl]
copy
Disable a storage without deleting its definition
$ pvesm set [storage_name] --disable 1
copy
Delete a file from a storage
$ pvesm free [local]:iso/[filename.iso]
copy
Remove the storage definition
$ pvesm remove [storage_name]
copy
Scan a server for NFS exports worth adding
$ pvesm scan nfs [server_address]
copy

SYNOPSIS

pvesm command [storage] [options]

DESCRIPTION

pvesm manages Proxmox VE storage definitions. It configures storage backends for VM disk images, ISO files, container templates, and backups. Supported storage types include local directories, NFS, CIFS, LVM, ZFS, Ceph, and iSCSI.Storage configuration is cluster-wide; changes propagate to all nodes. Each storage can be limited to specific content types and made available on selected nodes.

PARAMETERS

status, st

Show status of all storage
list, l storage
List contents of specified storage
add type storage options
Add new storage definition
set storage options
Modify storage configuration
remove, r storage
Remove storage definition
free volume
Delete a volume/file from storage
--content types
Allowed content types (iso, images, rootdir, vztmpl, backup)
--path path
Directory path (for dir type)

CAVEATS

Removing storage definition does not delete data. Storage must be accessible from all nodes where it's enabled. Some storage types require additional packages or configuration.

HISTORY

Part of Proxmox VE, providing unified storage management for virtualization. Abstracts different storage backends behind a consistent interface used by qm and pct for VM and container storage.

SEE ALSO

qm(1), pct(1), pvesh(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid