Not sure if Docker, LXD, or btrfs. "user_subvol_rm_allowed" is enabled,
issue only started appearing recently, unsure if due to Docker upgrade
or LXD upgrade. Observed this error earlier but "user_subvol_rm_allowed"
resolved it. However, with it enabled it still occurs now.

me@host: lxd --version

root@docker:~# docker info
Containers: 2
 Running: 0
 Paused: 0
 Stopped: 2
Images: 1
Server Version: 1.12.1
Storage Driver: btrfs
 Build Version: Btrfs v4.7
 Library Version: 101
Logging Driver: json-file
Cgroup Driver: cgroupfs
 Volume: local
 Network: null host bridge overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: apparmor
Kernel Version: 4.4.0-43-generic
Operating System: Ubuntu 16.04.1 LTS
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 4 GiB
Name: docker
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
WARNING: No swap limit support
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
Insecure Registries:

root@docker:~# docker --version
Docker version 1.12.1, build 23cf638

root@docker:~# mount | grep btrfs
/dev/md2 on / type btrfs 
/dev/md2 on /dev/lxd type btrfs 
/dev/md2 on /dev/.lxd-mounts type btrfs 
/dev/md2 on /var/lib/docker/btrfs type btrfs 

And finally, the error:

docker rm 681fbe3f6870
Error response from daemon: Driver btrfs failed to remove root filesystem 
0c214cb543ccd067e5208c8d5374b8345ec534c54b488719f17adb5f6cd44821: Failed to 
rescan btrfs quota for &{}: operation not permitted

You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

  can't delete docker containers in lxd: Driver btrfs failed to remove
  root filesystem

To manage notifications about this bug go to:

ubuntu-bugs mailing list

Reply via email to