Clarification of "lxc profile device add default root disk path="

Seeking a clarification…

In the LXD Docs there is an example about specifying LXD Storage Pool location:

lxc profile device add default root disk path=/ pool=default

If disk path is a separate physical disk (example: /dev/sdd")…

does that example command then become:

lxc profile device add default root disk path=/dev/sdd/ pool=default

Only asking because the Doc’s example seems like its just pointing to the “root” directory of the LXD Host?

path is where to mount the disk inside the container, source is used to indicate the external source path for external disks and source is used to indicate the custom volume name when pool is non-empty.

You can only pass a block device as source for VMs though.

thanks Tom… I guess I didn’t look at enough of the examples :slight_smile: