Local repro without real disks:

# Fake raw files:
 $ fallocate -l 50M /tmp/lvmbase1
 $ fallocate -l 50M /tmp/lvmbase2
# Make loopbacks for LVM disks
 # find next free with
  $ sudo losetup -f
 # create
  $ sudo losetup /dev/loop25 /tmp/lvmbase1
  $ sudo losetup /dev/loop37 /tmp/lvmbase2
 # make a new partition via fdisk
 # ensure partitions are known via kpartx / partprobe
 # set filter in lvm.conf to be able to work with loopbacks
  filter = [ "a|/dev/loop.*|", "r/.*/" ]
# Create the LVM disks
  $ sudo pvcreate -f /dev/loop25p1
  $ sudo pvcreate -f /dev/loop37p1
  $ sudo vgcreate testlvm /dev/loop25p1 /dev/loop37p1
  $ sudo lvcreate -n testvol1 -L 20M testlvm
# Got:
  /dev/mapper/testlvm-testvol1 -> ../dm-0

# For ZFS
# Fake raw files
 $ fallocate -l 100M /tmp/zfsbase1
 $ fallocate -l 100M /tmp/zfsbase2
 $ sudo zpool create zfsmirrortest mirror /tmp/zfsbase1 /tmp/zfsbase2
 $ sudo zfs create -V 20M zfsmirrortest/vol1
# Got:
  /dev/zvol/zfsmirrortest/vol1 -> ../../zd0

With that in place I can run the virt-aa-helper call against a local
build from upstream git and hope to iterate/fix it there.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1756394

Title:
  Upgrading libvirt from 4.0.0-1ubuntu4 to 4.0.0-1ubuntu5 introduced a
  permission denied on device error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1756394/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to