1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-21 18:24:06 +02:00
tldr/pages/linux/pvesm.md

29 lines
599 B
Markdown
Raw Normal View History

2025-08-06 19:16:23 +03:00
# pvesm
> Manage Proxmox storage.
> More information: <https://pve.proxmox.com/pve-docs/pvesm.1.html>.
- Get status for all datastores:
`pvesm {{[st|status]}}`
2025-08-06 19:16:23 +03:00
- List storage contents:
`pvesm {{[l|list]}} {{storage_name}}`
2025-08-06 19:16:23 +03:00
- Add a directory storage:
`pvesm add {{[d|dir]}} {{storage_name}} --path {{path/to/directory}}`
2025-08-06 19:16:23 +03:00
- 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}}`
2025-08-06 19:16:23 +03:00
- Remove a storage:
`pvesm {{[r|remove]}} {{storage_name}}`