1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/virsh-pool-define-as.md

10 lines
466 B
Markdown
Raw Normal View History

2021-05-27 15:38:35 -04:00
# virsh pool-define-as
2021-05-27 15:21:39 -04:00
> Create a configuration file in `/etc/libvirt/storage` for a persistent virtual machine storage pool from the provided arguments.
2021-06-03 11:35:08 -04:00
> See also: `virsh`, `virsh-pool-build`, `virsh-pool-start`.
2021-05-27 15:21:39 -04:00
> More information: <https://manned.org/virsh>.
2021-06-03 11:32:40 -04:00
- Create the configuration file for a storage pool called pool_name using `/var/vms` as the underlying storage system:
2021-05-27 15:21:39 -04:00
`virsh pool-define-as --name {{pool_name}} --type {{dir}} --target {{/var/vms}}`