create_storage
Add new storage pools to Proxmox by specifying the storage ID, type, and optional parameters like path, server, or export for various backends.
Instructions
Create a new storage pool configuration.
Args: storage: Storage ID. type: Storage type: dir, lvm, lvmthin, zfspool, nfs, cifs, iscsi, rbd, cephfs, pbs, glusterfs, btrfs. path: File system path (for dir, nfs mounts). server: Server IP/hostname (for nfs, cifs, iscsi, pbs, glusterfs, rbd, cephfs). export: NFS export path. vgname: LVM volume group name. thinpool: LVM thin pool name (for lvmthin). pool: Pool name (for Ceph RBD/CephFS, ZFS). portal: iSCSI portal. target: iSCSI target. datastore: PBS datastore name. content: Comma-separated content types (images, rootdir, vztmpl, iso, backup, snippets, import). nodes: Restrict storage to these nodes (comma-separated). shared: Mark as shared storage. disable: Create disabled. maxfiles: Max backup files (0 = unlimited). prune_backups: Backup retention policy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| storage | Yes | ||
| type | Yes | ||
| path | No | ||
| server | No | ||
| export | No | ||
| vgname | No | ||
| thinpool | No | ||
| pool | No | ||
| portal | No | ||
| target | No | ||
| datastore | No | ||
| content | No | ||
| nodes | No | ||
| shared | No | ||
| disable | No | ||
| maxfiles | No | ||
| prune_backups | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |