Hello,
I was trying to resize my storage pool (from 100G to 900G) following this topic (Snap) LXD Resize default BTRFS storage pool . However, i neither see my pool is resizing nor cannot start my containers anymore.
lxd version is 4.8
lxc storage list:
default | | btrfs | /var/snap/lxd/common/lxd/disks/default.img
lxc storage show default
config:
size: 100GB
source: /var/snap/lxd/common/lxd/disks/default.img
description: “”
name: default
driver: btrfs
used_by:
- /1.0/images/some-images
- /1.0/instances/container-name
- /1.0/instances/container-name
- /1.0/instances/nextcloud
- /1.0/profiles/default
status: Created
locations: - none
lxc start container
Error: Failed to run: /snap/lxd/current/bin/lxd forkstart nextcloud /var/snap/lxd/common/lxd/containers /var/snap/lxd/common/lxd/logs/nextcloud/lxc.conf:
Try lxc info --show-log nextcloud
for more
lxc info --show-log nextcloud
Log:
lxc nextcloud 20201130162534.547 WARN cgfsng - cgroups/cgfsng.c:mkdir_eexist_on_last:1152 - File exists - Failed to create directory “/sys/fs/cgroup/cpuset//lxc.monitor.nextcloud”
lxc nextcloud 20201130162534.549 WARN cgfsng - cgroups/cgfsng.c:mkdir_eexist_on_last:1152 - File exists - Failed to create directory “/sys/fs/cgroup/cpuset//lxc.payload.nextcloud”
lxc nextcloud 20201130162534.556 WARN cgfsng - cgroups/cgfsng.c:fchowmodat:1573 - No such file or directory - Failed to fchownat(17, memory.oom.group, 1000000000, 0, AT_EMPTY_PATH | AT_SYMLINK_NOFOLLOW )
lxc nextcloud 20201130162534.667 ERROR start - start.c:start:2089 - Input/output error - Failed to exec “/sbin/init”
lxc nextcloud 20201130162534.668 ERROR sync - sync.c:__sync_wait:36 - An error occurred in another process (expected sequence number 7)
lxc nextcloud 20201130162534.672 WARN network - network.c:lxc_delete_network_priv:3185 - Failed to rename interface with index 0 from “eth0” to its initial name “vethc19948a5”
lxc nextcloud 20201130162534.672 ERROR lxccontainer - lxccontainer.c:wait_on_daemonized_start:860 - Received container state “ABORTING” instead of “RUNNING”
lxc nextcloud 20201130162534.672 ERROR start - start.c:__lxc_start:1999 - Failed to spawn container “nextcloud”
lxc nextcloud 20201130162534.672 WARN start - start.c:lxc_abort:1013 - No such process - Failed to send SIGKILL via pidfd 30 for process 10025
lxc 20201130162534.841 WARN commands - commands.c:lxc_cmd_rsp_recv:126 - Connection reset by peer - Failed to receive response for command “get_state”
Thanks in advance!