Add disk to virtual machine of LXD

Hi.

I tried to add disk to vm like adding disk to container, but it says that there is no disk type (unix-block).

How do I add a disk to lxd vm?

Thank you

lxc config device add VM-NAME my-disk disk source=/path/to/disk/or/partition

Could u give a live command example?

What do you mean? The above is the command to add a block disk device to a VM.

What error/issue are you experiencing?