You are not logged in.
Hello,
I'm trying to define an LVM storage pool for my virtual machines using KVM/libvirt. The configuration looks like this:
<pool type="logical">
<name>vol0</name>
<source>
<device path="/dev/md0"/>
</source>
<target>
<path>/dev/vol0</path>
</target>
</pool>The problem is, that this LVM group is already active (other vms running using volumes inside this group) and 'virsh pool-start vol0' wants me to disable it. Is there any way to start the pool without "deactivate" the volume group?
virsh pool-start vol0error: internal error '/sbin/vgchange -an vol0' exited with non-zero status 5 and signal 0: Can't deactivate volume group "vol0" with 14 open logical volume(s)Further, I'm a bit curious that libvirt might recreate the volume group and therefore deletes all the content during the building process.
Would appreciate any advice ![]()
Regards,
Jonas
Offline