btrfs is going to be the slowest storage backend for virtual machines due to its copy-on-write behavior and VMs writing through one very large file on disk.
Now when i want to start the container I receive the following error.
lxc mailserver 20221104173048.403 ERROR cgroup2_devices - …/src/src/lxc/cgroups/cgroup2_devices.c:bpf_program_load_kernel:332 - Operation not permitted - Failed to load bpf program: (null)
lxc mailserver 20221104173048.531 ERROR conf - …/src/src/lxc/conf.c:turn_into_dependent_mounts:3919 - No such file or directory - Failed to recursively turn old root mount tree into dependent mount. Continuing…
lxc mailserver 20221104173048.665 ERROR start - …/src/src/lxc/start.c:start:2197 - No such file or directory - Failed to exec “/sbin/init”
lxc mailserver 20221104173048.665 ERROR sync - …/src/src/lxc/sync.c:sync_wait:34 - An error occurred in another process (expected sequence number 7)
lxc mailserver 20221104173048.679 WARN network - …/src/src/lxc/network.c:lxc_delete_network_priv:3631 - Failed to rename interface with index 0 from “eth0” to its initial name “vethe2d68ece”
lxc mailserver 20221104173048.679 ERROR lxccontainer - …/src/src/lxc/lxccontainer.c:wait_on_daemonized_start:877 - Received container state “ABORTING” instead of “RUNNING”
lxc mailserver 20221104173048.679 ERROR start - …/src/src/lxc/start.c:__lxc_start:2107 - Failed to spawn container “mailserver”
lxc mailserver 20221104173048.679 WARN start - …/src/src/lxc/start.c:lxc_abort:1036 - No such process - Failed to send SIGKILL via pidfd 18 for process 343115
lxc 20221104173053.811 ERROR af_unix - …/src/src/lxc/af_unix.c:lxc_abstract_unix_recv_fds_iov:218 - Connection reset by peer - Failed to receive response
lxc 20221104173053.811 ERROR commands - …/src/src/lxc/commands.c:lxc_cmd_rsp_recv_fds:128 - Failed to receive file descriptors for command “get_state”
Hi @ckruijntjens,
The best answer to your question will be zfs, in your case you have 4 1TB ssd drives and you are looking for a raid option then you can use those four drives as RAIDZ/RAIDZ1. And if the storage size is not your first priority then you can even choose RAID10.
Regards.
You can use that option as you mentioned but there is an another easy way, you define a new storage with lxc storage create and use lxc move <container_name> -s new_pool.
Regards.