# virsh pool-define-as > 根据提供的参数在 `/etc/libvirt/storage` 中创建一个持久虚拟机存储池的配置文件。 > 另见: `virsh`, `virsh-pool-build`, `virsh-pool-start`。 > 更多信息: 。 - 使用 `/var/vms` 作为底层存储系统,为名为 pool_name 的存储池创建配置文件: `virsh pool-define-as --name {{pool_name}} --type {{dir}} --target {{/var/vms}}`