Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI Exam 305-300 Topic 4 Question 35 Discussion

Actual exam question for LPI's 305-300 exam
Question #: 35
Topic #: 4
[All 305-300 Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Dewitt
1 months ago
Wait, do we need to create the storage pool, or just add a file? I'm so confused, I might as well just roll the dice and hope for the best.
upvoted 0 times
Aliza
1 days ago
D) virsh pool-create-as vms dir --target /vms
upvoted 0 times
...
Mari
7 days ago
B) libvirt-poolctl new ---name=/vms ---type=dir ---path=/vms
upvoted 0 times
...
Lamar
8 days ago
A) dd if=/dev/zero of=/vms bs=1 count=0 flags=name:vms
upvoted 0 times
...
...
Leonora
1 months ago
Hold up, are we sure we're not just supposed to touch a file and call it a day? Maybe option E is the secret answer. *wink wink*
upvoted 0 times
Shelba
4 days ago
User3: Let's give option E a shot first and see if it works.
upvoted 0 times
...
Paulina
11 days ago
User2: I'm not so sure. Maybe we should try option D instead.
upvoted 0 times
...
Rory
16 days ago
User1: I think option E might be the solution. *wink wink*
upvoted 0 times
...
...
Xochitl
2 months ago
Ooh, I like the way this is going. Time to make a storage pool and get this show on the road!
upvoted 0 times
Francis
2 days ago
D) virsh pool-create-as vms dir --target /vms
upvoted 0 times
...
Meaghan
6 days ago
B) libvirt-poolctl new ---name=/vms ---type=dir ---path=/vms
upvoted 0 times
...
Dong
1 months ago
A) dd if=/dev/zero of=/vms bs=1 count=0 flags=name:vms
upvoted 0 times
...
...
Magda
2 months ago
Ah, I see. The pool needs to be created first. Option D it is!
upvoted 0 times
...
France
2 months ago
Hmm, the error message clearly states that the storage pool 'vms' is not found. I think option D is the way to go here.
upvoted 0 times
Shaniqua
1 months ago
Yes, virsh pool-create-as vms dir --target /vms should resolve the issue.
upvoted 0 times
...
Shawnta
1 months ago
I agree, option D looks like the correct command to create the storage pool 'vms'.
upvoted 0 times
...
...
Cherelle
2 months ago
Thanks, I'll try that command. Hopefully it works!
upvoted 0 times
...
Lenna
2 months ago
I think the correct command to resolve it is D) virsh pool-create-as vms dir --target /vms.
upvoted 0 times
...
Cherelle
2 months ago
I got stuck on that virsh vol-list vms error.
upvoted 0 times
...

Save Cancel