ExamGecko
Question list
Search
Search

Question 18 - 305-300 discussion

Report
Export

The command virsh vol-list vms returns the following error:

error: failed to get pool 'vms'

error: Storage pool not found: no storage pool with matching name 'vms '

Given that the directory /vms exists, which of the following commands resolves this issue?

A.
dd if=/dev/zero of=/vms bs=1 count=0 flags=name:vms
Answers
A.
dd if=/dev/zero of=/vms bs=1 count=0 flags=name:vms
B.
libvirt-poolctl new ---name=/vms ---type=dir ---path=/vms
Answers
B.
libvirt-poolctl new ---name=/vms ---type=dir ---path=/vms
C.
qemu-img pool vms:/vms
Answers
C.
qemu-img pool vms:/vms
D.
virsh pool-create-as vms dir --target /vms
Answers
D.
virsh pool-create-as vms dir --target /vms
E.
touch /vms/.libvirtpool
Answers
E.
touch /vms/.libvirtpool
Suggested answer: D
asked 18/09/2024
Sujit Singh
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first