lxd init I tried to set the stogage backend as brtfs on an external disk same as purposed by this command. The path filled is /dev/disk/by-label/mylabel
The command as me for other questions after and fail during the creation of the mkfs.btrfs and return this error:
Error: Failed to create storage pool ‘default’: failed to format block device: Failed to run: mkfs.btrfs /dev/disk/by-label/mylabel -L default: /dev/disk/by-label/mylabel appears to contain an existing filesystem (brtfs).
Error: use the -f option to force overwrite of /dev/disk/by-label/mylabel
The help of
lxd init not provide info about this parameter (note that the help have an error too because it purpose a --version option that doesn’t work). If anyone have an idea about how to force the creation of the FS.