i tried to mount a volume on both containers but i have this error on ct02:
Error: Common start logic: Failed to initialize storage volume “test” of type “custom” on storage pool “btrfs”: Idmaps of container ct-02 and storage volume test are not identical
There is a configuration option you can set on a custom storage volume to tell LXD to do it regardless, though obviously one of the two sides is going to see very confusing ownership of files and directories.