これらのプールはどのようにまたはどこで作成されますか?設定ファイルはどこにありますか?
$ virsh pool-list --all
Name State Autostart
-------------------------------------------
default active yes
Downloads active yes
$ virsh pool-info Downloads
Name: Downloads
UUID: fdbe7407-67c4-405d-8e46-9c2695a8b353
State: running
Persistent: yes
Autostart: yes
Capacity: 219.88 GiB
Allocation: 34.87 GiB
Available: 185.01 GiB
$ virsh pool-info default
Name: default
UUID: cb72b02e-b436-4ec9-9460-d297744c4c69
State: running
Persistent: yes
Autostart: yes
Capacity: 219.88 GiB
Allocation: 34.95 GiB
Available: 184.93 GiB
私はプールがvirt-manager
GUIによって生成されたと思います。
に空き容量がありますかdefault
?Downloads
プールが重複する可能性があります。
ベストアンサー1
ここにありますはい:
$ ll /etc/libvirt/storage
total 20
drwxr-xr-x 3 root root 4096 Nov 14 00:39 ./
drwxr-xr-x 7 root root 4096 Nov 12 14:22 ../
drwxr-xr-x 2 root root 4096 Nov 14 00:39 autostart/
-rw------- 1 root root 538 Nov 12 14:22 default.xml
-rw------- 1 root root 541 Nov 14 00:39 Downloads.xml
物理ファイル:
$ sudo cat /etc/libvirt/storage/default.xml
<!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
virsh pool-edit default
or other application using the libvirt API.
-->
<pool type='dir'>
<name>default</name>
<uuid>cb72b02e-b436-4ec9-9460-d297744c4c69</uuid>
<capacity unit='bytes'>0</capacity>
<allocation unit='bytes'>0</allocation>
<available unit='bytes'>0</available>
<source>
</source>
<target>
<path>/var/lib/libvirt/images</path>
</target>
</pool>
$ sudo cat /etc/libvirt/storage/Downloads.xml
<!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
virsh pool-edit Downloads
or other application using the libvirt API.
-->
<pool type='dir'>
<name>Downloads</name>
<uuid>fdbe7407-67c4-405d-8e46-9c2695a8b353</uuid>
<capacity unit='bytes'>0</capacity>
<allocation unit='bytes'>0</allocation>
<available unit='bytes'>0</available>
<source>
</source>
<target>
<path>/home/thufir/Downloads</path>
</target>
</pool>