How to add a disk raw partition to a LXD container?

Here are the docs for the unix-block device:

It uses the source and path settings. So if you want to refer to a device by UUID you should use the /dev/disk/by-uuid/ paths.

1 Like