QuestionQ52

VerifiedVM Deployment and Provisioning

The command virsh vol-list vms produces this error:

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

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

Explanation

A directory must be registered with libvirt as a storage pool before virsh vol-list can address it by pool name. virsh pool-create-as vms dir --target /vms creates and starts the directory-backed storage pool named vms, using /vms as its target.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!