1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 23:02:07 +02:00
tldr/pages/common/virsh-pool-define-as.md
2021-06-23 14:22:33 +01:00

9 lines
466 B
Markdown

# virsh pool-define-as
> Create a configuration file in `/etc/libvirt/storage` for a persistent virtual machine storage pool from the provided arguments.
> See also: `virsh`, `virsh-pool-build`, `virsh-pool-start`.
> More information: <https://manned.org/virsh>.
- Create the configuration file for a storage pool called pool_name using `/var/vms` as the underlying storage system:
`virsh pool-define-as --name {{pool_name}} --type {{dir}} --target {{/var/vms}}`