Idmaps of container and storage volume are not identical

Hi guys,

Since, lxd 3.12 I have a problem with shared volume.
When I want to add to c1 a volume of another lxc container I have this error now… I am sorry, I really don’t know how to explain it…

lxc config device add c1 data-c2 disk path=/data/c2 pool=data-01 source=c2

Error: Add disk devices: Failed to setup device: Failed to initialize storage volume "c2" of type "custom" on storage pool "data-01": idmaps of container and storage volume are not identical

Cheers !!

This sounds like a bug, could you file an issue at https://github.com/lxc/lxd/issues?

Hello Stephane

Sure ! I’ll do it tomorrow morning.

Thank you
Have a nice evening :slight_smile:

Hello Stephane,

Issue created

Have a Nice day.
Mathieu