I’m in crosh using lxc trying to store containers to the external drive (shared folder), am I doing something obviously wrong?
Is there a better driver to use for this usecase?
(termina) chronos@localhost ~ $ lxc --version
4.0.7
(termina) chronos@localhost ~ $ storage create sd dir source=/mnt/shared/removable/MicroSD/.containers
Storage pool sd created
(termina) chronos@localhost ~ $ lxc launch images:alpine/edge -s sd
Creating the instance
Error: Failed instance creation: Failed creating instance from image: Unpack failed, Failed to run: tar -C /mnt/stateful/lxd/storage-pools/sd/containers/correct-roughy --numeric-owner --xattrs-include=* -Jxf -: tar: metadata.yaml: Cannot change ownership to uid 0, gid 0: Operation not permitted
tar: templates/inittab.tpl: Cannot change ownership to uid 0, gid 0: Operation not permitted
tar: templates/hosts.tpl: Cannot change ownership to uid 0, gid 0: Operation not permitted
tar: templates/hostname.tpl: Cannot change ownership to uid 0, gid 0: Operation not permitted
tar: templates: Cannot change ownership to uid 0, gid 0: Operation not permitted
tar: Exiting with failure status due to previous errors.