Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
idmap fail with filesystem type='block'
# virsh dumpxml sew02
<domain type='lxc'>
<memory unit='KiB'>65536</memory>
<currentMemory unit='KiB'>65536</currentMemory>
<vcpu placement='static'>1</vcpu>
<type arch='x86_64'>exe</type>
<uid start='0' target='10000' count='2000'/>
<gid start='0' target='10000' count='2000'/>
<clock offset='utc'/>
<filesystem type='block' accessmode='passthrough'>
<source dev='/dev/instances/sew02'/>
<target dir='/'/>
<filesystem type='mount' accessmode='passthrough'>
<source dir='/sys/fs/fuse/connections'/>
<target dir='/sys/fs/fuse/connections'/>
<interface type='network'>
<mac address='52:54:00:64:1b:2a'/>
<source network='br1'/>
<console type='pty'>
<target type='lxc' port='0'/>
# virsh start sew02
error: Failed to start domain sew02
error: internal error: guest failed to start: Failed to mount device /dev/dm-1 to /var/run/libvirt/lxc/sew02.root: Operation not permitted
0x7f085a52a160 0x7f085a529500
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.