Linux command
pvesm 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Example
pvesm status
List
pvesm list [storage_name]
Add
pvesm add dir [storage_name] --path [path/to/directory]
Set
pvesm set [storage_name] --content [iso,images,backup,vztmpl]
Delete
pvesm free local:iso/[filename.iso]
Remove
pvesm remove [storage_name]
说明
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.
参数
- 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)
FAQ
What is the pvesm command used for?
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.
How do I run a basic pvesm example?
Run `pvesm status` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does status, st do in pvesm?
Show status of all storage