<!--
Github issues are used for bug reports. For support questions, please use …[our forum](https://discuss.linuxcontainers.org).
Please fill the template below as it will greatly help us track down your issue and reproduce it on our side.
Feel free to remove anything which doesn't apply to you and add more information where it makes sense.
-->
# Required information
* Distribution: `Ubuntu`
* Distribution version: `18.04`
* LXD via `snapd`
* The output of "`lxc info`":
```
config: {}
api_extensions:
- storage_zfs_remove_snapshots
- container_host_shutdown_timeout
- container_stop_priority
- container_syscall_filtering
- auth_pki
- container_last_used_at
- etag
- patch
- usb_devices
- https_allowed_credentials
- image_compression_algorithm
- directory_manipulation
- container_cpu_time
- storage_zfs_use_refquota
- storage_lvm_mount_options
- network
- profile_usedby
- container_push
- container_exec_recording
- certificate_update
- container_exec_signal_handling
- gpu_devices
- container_image_properties
- migration_progress
- id_map
- network_firewall_filtering
- network_routes
- storage
- file_delete
- file_append
- network_dhcp_expiry
- storage_lvm_vg_rename
- storage_lvm_thinpool_rename
- network_vlan
- image_create_aliases
- container_stateless_copy
- container_only_migration
- storage_zfs_clone_copy
- unix_device_rename
- storage_lvm_use_thinpool
- storage_rsync_bwlimit
- network_vxlan_interface
- storage_btrfs_mount_options
- entity_description
- image_force_refresh
- storage_lvm_lv_resizing
- id_map_base
- file_symlinks
- container_push_target
- network_vlan_physical
- storage_images_delete
- container_edit_metadata
- container_snapshot_stateful_migration
- storage_driver_ceph
- storage_ceph_user_name
- resource_limits
- storage_volatile_initial_source
- storage_ceph_force_osd_reuse
- storage_block_filesystem_btrfs
- resources
- kernel_limits
- storage_api_volume_rename
- macaroon_authentication
- network_sriov
- console
- restrict_devlxd
- migration_pre_copy
- infiniband
- maas_network
- devlxd_events
- proxy
- network_dhcp_gateway
- file_get_symlink
- network_leases
- unix_device_hotplug
- storage_api_local_volume_handling
- operation_description
- clustering
- event_lifecycle
- storage_api_remote_volume_handling
- nvidia_runtime
- container_mount_propagation
- container_backup
- devlxd_images
- container_local_cross_pool_handling
- proxy_unix
- proxy_udp
- clustering_join
- proxy_tcp_udp_multi_port_handling
- network_state
- proxy_unix_dac_properties
- container_protection_delete
- unix_priv_drop
- pprof_http
- proxy_haproxy_protocol
- network_hwaddr
- proxy_nat
- network_nat_order
- container_full
- candid_authentication
- backup_compression
- candid_config
- nvidia_runtime_config
- storage_api_volume_snapshots
- storage_unmapped
- projects
- candid_config_key
- network_vxlan_ttl
- container_incremental_copy
- usb_optional_vendorid
- snapshot_scheduling
- container_copy_project
- clustering_server_address
- clustering_image_replication
- container_protection_shift
- snapshot_expiry
- container_backup_override_pool
- snapshot_expiry_creation
- network_leases_location
- resources_cpu_socket
- resources_gpu
- resources_numa
- kernel_features
- id_map_current
- event_location
- storage_api_remote_volume_snapshots
- network_nat_address
- container_nic_routes
- rbac
- cluster_internal_copy
- seccomp_notify
- lxc_features
- container_nic_ipvlan
- network_vlan_sriov
- storage_cephfs
- container_nic_ipfilter
- resources_v2
- container_exec_user_group_cwd
- container_syscall_intercept
- container_disk_shift
- storage_shifted
- resources_infiniband
- daemon_storage
- instances
- image_types
- resources_disk_sata
- clustering_roles
- images_expiry
- resources_network_firmware
- backup_compression_algorithm
- ceph_data_pool_name
- container_syscall_intercept_mount
- compression_squashfs
- container_raw_mount
- container_nic_routed
- container_syscall_intercept_mount_fuse
- container_disk_ceph
- virtual-machines
- image_profiles
- clustering_architecture
- resources_disk_id
- storage_lvm_stripes
- vm_boot_priority
- unix_hotplug_devices
- api_filtering
- instance_nic_network
- clustering_sizing
- firewall_driver
- projects_limits
- container_syscall_intercept_hugetlbfs
- limits_hugepages
- container_nic_routed_gateway
- projects_restrictions
- custom_volume_snapshot_expiry
- volume_snapshot_scheduling
api_status: stable
api_version: "1.0"
auth: trusted
public: false
auth_methods:
- tls
environment:
addresses: []
architectures:
- x86_64
- i686
certificate: |
-----BEGIN CERTIFICATE-----
MIIB/TCCAYOgAwIBAgIQRFDWxh1ympNR6ns4gTBHGDAKBggqhkjOPQQDAzAyMRww
GgYDVQQKExNsaW51eGNvbnRhaW5lcnMub3JnMRIwEAYDVQQDDAlyb290QHR1YmEw
HhcNMjAwMjI3MTI1NzEwWhcNMzAwMjI0MTI1NzEwWjAyMRwwGgYDVQQKExNsaW51
eGNvbnRhaW5lcnMub3JnMRIwEAYDVQQDDAlyb290QHR1YmEwdjAQBgcqhkjOPQIB
BgUrgQQAIgNiAAQufti2/O2Syuc3DQNi47OT6VQhL/uU7tJLjGP2KrjFV2HxNQfS
3iwznnr5RaTKhTAjwSxFO2iIzen+5smMwKtelTByi39AcZzbB+jXLvPuizi/wrmh
JP/VuYTs+48pz5ejXjBcMA4GA1UdDwEB/wQEAwIFoDATBgNVHSUEDDAKBggrBgEF
BQcDATAMBgNVHRMBAf8EAjAAMCcGA1UdEQQgMB6CBHR1YmGHBH8AAAGHEAAAAAAA
AAAAAAAAAAAAAAEwCgYIKoZIzj0EAwMDaAAwZQIxAJfr0VVrMRVFeuvvg/SI0hU2
gYxqn7/WEHdLj37vaS/+ZucXa9XDCW40vkj1piHIWAIwUwFV9c3vPxvskyKUePlV
xbv3PwCnxcoTm1olmqyWwUn+ZTvPJij5FKaFMjBpjf08
-----END CERTIFICATE-----
certificate_fingerprint: 012939ae00e7f82496a6b98d8c8d21e28ff304195f6174050e906d22441ebf37
driver: lxc
driver_version: 4.0.0
firewall: xtables
kernel: Linux
kernel_architecture: x86_64
kernel_features:
netnsid_getifaddrs: "false"
seccomp_listener: "false"
seccomp_listener_continue: "false"
shiftfs: "false"
uevent_injection: "false"
unpriv_fscaps: "true"
kernel_version: 4.15.0-88-generic
lxc_features:
cgroup2: "true"
mount_injection_file: "true"
network_gateway_device_route: "true"
network_ipvlan: "true"
network_l2proxy: "true"
network_phys_macvlan_mtu: "true"
network_veth_router: "true"
seccomp_notify: "true"
project: default
server: lxd
server_clustered: false
server_name: tuba
server_pid: 9199
server_version: "3.23"
storage: zfs
storage_version: 0.7.5-1ubuntu16.7
```
# Issue description
This is the same issue as [on the LXD forums here](https://discuss.linuxcontainers.org/t/failed-to-mount-zfs-filesystem-filesystem-already-mounted/6268) & [this githib issue concerning `zfs` not being namespace aware](https://github.com/lxc/lxd/issues/3535).
hopefully this info helps some others:
**Opening this issue to note that this problem on `zfs` seems to NOT occur if you restart a container from a root console inside the container after adding a bind mount**
# Steps to reproduce
1. After adding a 3rd bind mount to a container with:
`lxc config device add continer-name share-name disk source=/zpool/some/dataset path=/home/username`
2. & then rebooting the container with `lxc restart` the container fails to restart:
`Error: Common start logic: Failed to run: zfs mount zpool/lxd/containers/container-name: cannot mount 'zpool/lxd/containers/container-name': filesystem already mounted`
3. after adding the 2 previous bind mounts I rebooted the container from inside the container with a `reboot` as `root` (which worked ok).
# Information to attach
- [ ] Any relevant kernel output (`dmesg`) - nothing meaningful
- [ ] Container log (`lxc info NAME --show-log`) - empty log
- [ ] Container configuration (`lxc config show NAME --expanded`)
```
architecture: x86_64
config:
image.architecture: amd64
image.description: Centos 6 amd64 (20200327_07:08)
image.os: Centos
image.release: "6"
image.serial: "20200327_07:08"
image.type: squashfs
raw.idmap: uid 10376 10376
volatile.base_image: cdc3a4ac4cfba8998ba6cdb0e29c14bf5b4c76bc7a1f8427e3d8cf3f696f498e
volatile.eth0.host_name: veth2cfcdc78
volatile.eth0.hwaddr: 00:16:3e:8d:e4:95
volatile.idmap.base: "0"
volatile.idmap.current: '[{"Isuid":true,"Isgid":false,"Hostid":1000000,"Nsid":0,"Maprange":10376},{"Isuid":true,"Isgid":false,"Hostid":10376,"Nsid":10376,"Maprange":1},{"Isuid":true,"Isgid":false,"Hostid":1010377,"Nsid":10377,"Maprange":999989623},{"Isuid":false,"Isgid":true,"Hostid":1000000,"Nsid":0,"Maprange":1000000000}]'
volatile.idmap.next: '[{"Isuid":true,"Isgid":false,"Hostid":1000000,"Nsid":0,"Maprange":10376},{"Isuid":true,"Isgid":false,"Hostid":10376,"Nsid":10376,"Maprange":1},{"Isuid":true,"Isgid":false,"Hostid":1010377,"Nsid":10377,"Maprange":999989623},{"Isuid":false,"Isgid":true,"Hostid":1000000,"Nsid":0,"Maprange":1000000000}]'
volatile.last_state.idmap: '[{"Isuid":true,"Isgid":false,"Hostid":1000000,"Nsid":0,"Maprange":10376},{"Isuid":true,"Isgid":false,"Hostid":10376,"Nsid":10376,"Maprange":1},{"Isuid":true,"Isgid":false,"Hostid":1010377,"Nsid":10377,"Maprange":999989623},{"Isuid":false,"Isgid":true,"Hostid":1000000,"Nsid":0,"Maprange":1000000000}]'
volatile.last_state.power: STOPPED
devices:
eth0:
name: eth0
nictype: bridged
parent: br0
type: nic
root:
path: /
pool: pool1
type: disk
share-username-home:
path: /home/username
source: /zpool/username/home
type: disk
share-test:
path: /test
source: /zpool/username/test
type: disk
share-test-clients:
path: /test-clients
source: /zpool/username/test-clients
type: disk
ephemeral: false
profiles:
- default
stateful: false
description: ""
```
- [ ] Main daemon log (at /var/log/lxd/lxd.log or /var/snap/lxd/common/lxd/logs/lxd.log) - no log
- [ ] Output of the client with --debug
- [ ] Output of the daemon with --debug (alternatively output of `lxc monitor` while reproducing the issue)
```
DBUG[04-01|15:34:07] Connecting to a local LXD over a Unix socket
DBUG[04-01|15:34:07] Sending request to LXD method=GET url=http://unix.socket/1.0 etag=
DBUG[04-01|15:34:07] Got response struct from LXD
DBUG[04-01|15:34:07]
{
"config": {},
"api_extensions": [
"storage_zfs_remove_snapshots",
"container_host_shutdown_timeout",
"container_stop_priority",
"container_syscall_filtering",
"auth_pki",
"container_last_used_at",
"etag",
"patch",
"usb_devices",
"https_allowed_credentials",
"image_compression_algorithm",
"directory_manipulation",
"container_cpu_time",
"storage_zfs_use_refquota",
"storage_lvm_mount_options",
"network",
"profile_usedby",
"container_push",
"container_exec_recording",
"certificate_update",
"container_exec_signal_handling",
"gpu_devices",
"container_image_properties",
"migration_progress",
"id_map",
"network_firewall_filtering",
"network_routes",
"storage",
"file_delete",
"file_append",
"network_dhcp_expiry",
"storage_lvm_vg_rename",
"storage_lvm_thinpool_rename",
"network_vlan",
"image_create_aliases",
"container_stateless_copy",
"container_only_migration",
"storage_zfs_clone_copy",
"unix_device_rename",
"storage_lvm_use_thinpool",
"storage_rsync_bwlimit",
"network_vxlan_interface",
"storage_btrfs_mount_options",
"entity_description",
"image_force_refresh",
"storage_lvm_lv_resizing",
"id_map_base",
"file_symlinks",
"container_push_target",
"network_vlan_physical",
"storage_images_delete",
"container_edit_metadata",
"container_snapshot_stateful_migration",
"storage_driver_ceph",
"storage_ceph_user_name",
"resource_limits",
"storage_volatile_initial_source",
"storage_ceph_force_osd_reuse",
"storage_block_filesystem_btrfs",
"resources",
"kernel_limits",
"storage_api_volume_rename",
"macaroon_authentication",
"network_sriov",
"console",
"restrict_devlxd",
"migration_pre_copy",
"infiniband",
"maas_network",
"devlxd_events",
"proxy",
"network_dhcp_gateway",
"file_get_symlink",
"network_leases",
"unix_device_hotplug",
"storage_api_local_volume_handling",
"operation_description",
"clustering",
"event_lifecycle",
"storage_api_remote_volume_handling",
"nvidia_runtime",
"container_mount_propagation",
"container_backup",
"devlxd_images",
"container_local_cross_pool_handling",
"proxy_unix",
"proxy_udp",
"clustering_join",
"proxy_tcp_udp_multi_port_handling",
"network_state",
"proxy_unix_dac_properties",
"container_protection_delete",
"unix_priv_drop",
"pprof_http",
"proxy_haproxy_protocol",
"network_hwaddr",
"proxy_nat",
"network_nat_order",
"container_full",
"candid_authentication",
"backup_compression",
"candid_config",
"nvidia_runtime_config",
"storage_api_volume_snapshots",
"storage_unmapped",
"projects",
"candid_config_key",
"network_vxlan_ttl",
"container_incremental_copy",
"usb_optional_vendorid",
"snapshot_scheduling",
"container_copy_project",
"clustering_server_address",
"clustering_image_replication",
"container_protection_shift",
"snapshot_expiry",
"container_backup_override_pool",
"snapshot_expiry_creation",
"network_leases_location",
"resources_cpu_socket",
"resources_gpu",
"resources_numa",
"kernel_features",
"id_map_current",
"event_location",
"storage_api_remote_volume_snapshots",
"network_nat_address",
"container_nic_routes",
"rbac",
"cluster_internal_copy",
"seccomp_notify",
"lxc_features",
"container_nic_ipvlan",
"network_vlan_sriov",
"storage_cephfs",
"container_nic_ipfilter",
"resources_v2",
"container_exec_user_group_cwd",
"container_syscall_intercept",
"container_disk_shift",
"storage_shifted",
"resources_infiniband",
"daemon_storage",
"instances",
"image_types",
"resources_disk_sata",
"clustering_roles",
"images_expiry",
"resources_network_firmware",
"backup_compression_algorithm",
"ceph_data_pool_name",
"container_syscall_intercept_mount",
"compression_squashfs",
"container_raw_mount",
"container_nic_routed",
"container_syscall_intercept_mount_fuse",
"container_disk_ceph",
"virtual-machines",
"image_profiles",
"clustering_architecture",
"resources_disk_id",
"storage_lvm_stripes",
"vm_boot_priority",
"unix_hotplug_devices",
"api_filtering",
"instance_nic_network",
"clustering_sizing",
"firewall_driver",
"projects_limits",
"container_syscall_intercept_hugetlbfs",
"limits_hugepages",
"container_nic_routed_gateway",
"projects_restrictions",
"custom_volume_snapshot_expiry",
"volume_snapshot_scheduling"
],
"api_status": "stable",
"api_version": "1.0",
"auth": "trusted",
"public": false,
"auth_methods": [
"tls"
],
"environment": {
"addresses": [],
"architectures": [
"x86_64",
"i686"
],
"certificate": "-----BEGIN CERTIFICATE-----\nMIIB/TCCAYOgAwIBAgIQRFDWxh1ympNR6ns4gTBHGDAKBggqhkjOPQQDAzAyMRww\nGgYDVQQKExNsaW51eGNvbnRhaW5lcnMub3JnMRIwEAYDVQQDDAlyb290QHR1YmEw\nHhcNMjAwMjI3MTI1NzEwWhcNMzAwMjI0MTI1NzEwWjAyMRwwGgYDVQQKExNsaW51\neGNvbnRhaW5lcnMub3JnMRIwEAYDVQQDDAlyb290QHR1YmEwdjAQBgcqhkjOPQIB\nBgUrgQQAIgNiAAQufti2/O2Syuc3DQNi47OT6VQhL/uU7tJLjGP2KrjFV2HxNQfS\n3iwznnr5RaTKhTAjwSxFO2iIzen+5smMwKtelTByi39AcZzbB+jXLvPuizi/wrmh\nJP/VuYTs+48pz5ejXjBcMA4GA1UdDwEB/wQEAwIFoDATBgNVHSUEDDAKBggrBgEF\nBQcDATAMBgNVHRMBAf8EAjAAMCcGA1UdEQQgMB6CBHR1YmGHBH8AAAGHEAAAAAAA\nAAAAAAAAAAAAAAEwCgYIKoZIzj0EAwMDaAAwZQIxAJfr0VVrMRVFeuvvg/SI0hU2\ngYxqn7/WEHdLj37vaS/+ZucXa9XDCW40vkj1piHIWAIwUwFV9c3vPxvskyKUePlV\nxbv3PwCnxcoTm1olmqyWwUn+ZTvPJij5FKaFMjBpjf08\n-----END CERTIFICATE-----\n",
"certificate_fingerprint": "012939ae00e7f82496a6b98d8c8d21e28ff304195f6174050e906d22441ebf37",
"driver": "lxc",
"driver_version": "4.0.0",
"firewall": "xtables",
"kernel": "Linux",
"kernel_architecture": "x86_64",
"kernel_features": {
"netnsid_getifaddrs": "false",
"seccomp_listener": "false",
"seccomp_listener_continue": "false",
"shiftfs": "false",
"uevent_injection": "false",
"unpriv_fscaps": "true"
},
"kernel_version": "4.15.0-88-generic",
"lxc_features": {
"cgroup2": "true",
"mount_injection_file": "true",
"network_gateway_device_route": "true",
"network_ipvlan": "true",
"network_l2proxy": "true",
"network_phys_macvlan_mtu": "true",
"network_veth_router": "true",
"seccomp_notify": "true"
},
"project": "default",
"server": "lxd",
"server_clustered": false,
"server_name": "tuba",
"server_pid": 9199,
"server_version": "3.23",
"storage": "zfs",
"storage_version": "0.7.5-1ubuntu16.7"
}
}
DBUG[04-01|15:34:07] Sending request to LXD method=GET url=http://unix.socket/1.0/instances/centos6-builder etag=
DBUG[04-01|15:34:07] Got response struct from LXD
DBUG[04-01|15:34:07]
{
"architecture": "x86_64",
"config": {
"image.architecture": "amd64",
"image.description": "Centos 6 amd64 (20200327_07:08)",
"image.os": "Centos",
"image.release": "6",
"image.serial": "20200327_07:08",
"image.type": "squashfs",
"raw.idmap": "uid 10376 10376",
"volatile.base_image": "cdc3a4ac4cfba8998ba6cdb0e29c14bf5b4c76bc7a1f8427e3d8cf3f696f498e",
"volatile.eth0.host_name": "veth12526d52",
"volatile.eth0.hwaddr": "00:16:3e:8d:e4:95",
"volatile.idmap.base": "0",
"volatile.idmap.current": "[{\"Isuid\":true,\"Isgid\":false,\"Hostid\":1000000,\"Nsid\":0,\"Maprange\":10376},{\"Isuid\":true,\"Isgid\":false,\"Hostid\":10376,\"Nsid\":10376,\"Maprange\":1},{\"Isuid\":true,\"Isgid\":false,\"Hostid\":1010377,\"Nsid\":10377,\"Maprange\":999989623},{\"Isuid\":false,\"Isgid\":true,\"Hostid\":1000000,\"Nsid\":0,\"Maprange\":1000000000}]",
"volatile.idmap.next": "[{\"Isuid\":true,\"Isgid\":false,\"Hostid\":1000000,\"Nsid\":0,\"Maprange\":10376},{\"Isuid\":true,\"Isgid\":false,\"Hostid\":10376,\"Nsid\":10376,\"Maprange\":1},{\"Isuid\":true,\"Isgid\":false,\"Hostid\":1010377,\"Nsid\":10377,\"Maprange\":999989623},{\"Isuid\":false,\"Isgid\":true,\"Hostid\":1000000,\"Nsid\":0,\"Maprange\":1000000000}]",
"volatile.last_state.idmap": "[{\"Isuid\":true,\"Isgid\":false,\"Hostid\":1000000,\"Nsid\":0,\"Maprange\":10376},{\"Isuid\":true,\"Isgid\":false,\"Hostid\":10376,\"Nsid\":10376,\"Maprange\":1},{\"Isuid\":true,\"Isgid\":false,\"Hostid\":1010377,\"Nsid\":10377,\"Maprange\":999989623},{\"Isuid\":false,\"Isgid\":true,\"Hostid\":1000000,\"Nsid\":0,\"Maprange\":1000000000}]",
"volatile.last_state.power": "STOPPED"
},
"devices": {
"share-username-home": {
"path": "/home/username",
"source": "/zpool/username/home",
"type": "disk"
},
"share-test": {
"path": "/test",
"source": "/zpool/username/test",
"type": "disk"
},
"share-test-clients": {
"path": "/test-clients",
"source": "/zpool/username/test-clients",
"type": "disk"
}
},
"ephemeral": false,
"profiles": [
"default"
],
"stateful": false,
"description": "",
"created_at": "2020-03-27T11:54:45.557837473Z",
"expanded_config": {
"image.architecture": "amd64",
"image.description": "Centos 6 amd64 (20200327_07:08)",
"image.os": "Centos",
"image.release": "6",
"image.serial": "20200327_07:08",
"image.type": "squashfs",
"raw.idmap": "uid 10376 10376",
"volatile.base_image": "cdc3a4ac4cfba8998ba6cdb0e29c14bf5b4c76bc7a1f8427e3d8cf3f696f498e",
"volatile.eth0.host_name": "veth12526d52",
"volatile.eth0.hwaddr": "00:16:3e:8d:e4:95",
"volatile.idmap.base": "0",
"volatile.idmap.current": "[{\"Isuid\":true,\"Isgid\":false,\"Hostid\":1000000,\"Nsid\":0,\"Maprange\":10376},{\"Isuid\":true,\"Isgid\":false,\"Hostid\":10376,\"Nsid\":10376,\"Maprange\":1},{\"Isuid\":true,\"Isgid\":false,\"Hostid\":1010377,\"Nsid\":10377,\"Maprange\":999989623},{\"Isuid\":false,\"Isgid\":true,\"Hostid\":1000000,\"Nsid\":0,\"Maprange\":1000000000}]",
"volatile.idmap.next": "[{\"Isuid\":true,\"Isgid\":false,\"Hostid\":1000000,\"Nsid\":0,\"Maprange\":10376},{\"Isuid\":true,\"Isgid\":false,\"Hostid\":10376,\"Nsid\":10376,\"Maprange\":1},{\"Isuid\":true,\"Isgid\":false,\"Hostid\":1010377,\"Nsid\":10377,\"Maprange\":999989623},{\"Isuid\":false,\"Isgid\":true,\"Hostid\":1000000,\"Nsid\":0,\"Maprange\":1000000000}]",
"volatile.last_state.idmap": "[{\"Isuid\":true,\"Isgid\":false,\"Hostid\":1000000,\"Nsid\":0,\"Maprange\":10376},{\"Isuid\":true,\"Isgid\":false,\"Hostid\":10376,\"Nsid\":10376,\"Maprange\":1},{\"Isuid\":true,\"Isgid\":false,\"Hostid\":1010377,\"Nsid\":10377,\"Maprange\":999989623},{\"Isuid\":false,\"Isgid\":true,\"Hostid\":1000000,\"Nsid\":0,\"Maprange\":1000000000}]",
"volatile.last_state.power": "STOPPED"
},
"expanded_devices": {
"eth0": {
"name": "eth0",
"nictype": "bridged",
"parent": "br0",
"type": "nic"
},
"root": {
"path": "/",
"pool": "pool1",
"type": "disk"
},
"share-username-home": {
"path": "/home/username",
"source": "/zpool/username/home",
"type": "disk"
},
"share-test": {
"path": "/test",
"source": "/zpool/username/test",
"type": "disk"
},
"share-test-clients": {
"path": "/test-clients",
"source": "/zpool/username/test-clients",
"type": "disk"
}
},
"name": "centos6-builder",
"status": "Stopped",
"status_code": 102,
"last_used_at": "2020-03-27T17:45:26.108241343Z",
"location": "none",
"type": "container"
}
DBUG[04-01|15:34:07] Connected to the websocket: ws://unix.socket/1.0/events
DBUG[04-01|15:34:07] Sending request to LXD method=PUT url=http://unix.socket/1.0/instances/centos6-builder/state etag=
DBUG[04-01|15:34:07]
{
"action": "start",
"timeout": 0,
"force": false,
"stateful": false
}
DBUG[04-01|15:34:07] Got operation from LXD
DBUG[04-01|15:34:07]
{
"id": "fb96dec8-fa14-4875-9b5a-e12bcbe51fb4",
"class": "task",
"description": "Starting container",
"created_at": "2020-04-01T15:34:07.499043915Z",
"updated_at": "2020-04-01T15:34:07.499043915Z",
"status": "Running",
"status_code": 103,
"resources": {
"containers": [
"/1.0/containers/centos6-builder"
]
},
"metadata": null,
"may_cancel": false,
"err": "",
"location": "none"
}
DBUG[04-01|15:34:07] Sending request to LXD method=GET url=http://unix.socket/1.0/operations/fb96dec8-fa14-4875-9b5a-e12bcbe51fb4 etag=
DBUG[04-01|15:34:07] Got response struct from LXD
DBUG[04-01|15:34:07]
{
"id": "fb96dec8-fa14-4875-9b5a-e12bcbe51fb4",
"class": "task",
"description": "Starting container",
"created_at": "2020-04-01T15:34:07.499043915Z",
"updated_at": "2020-04-01T15:34:07.499043915Z",
"status": "Running",
"status_code": 103,
"resources": {
"containers": [
"/1.0/containers/centos6-builder"
]
},
"metadata": null,
"may_cancel": false,
"err": "",
"location": "none"
}
Error: Common start logic: Failed to run: zfs mount zpool/lxd/containers/centos6-builder: cannot mount 'zpool/lxd/containers/centos6-builder': filesystem already mounted
Try `lxc info --show-log centos6-builder` for more info
```