Unable to attach storage volumes to containers

Every time I try to attach a storage volumes ie:

incus storage volume attach incus-hd webdata1 tmp /mnt/test/

it will return the following error.

Error: Invalid devices: Invalid device name “/mnt/test”: Name contains invalid character “/”

The command syntax is the following: incus storage volume attach [<remote>:]<pool> <volume> <instance> [<new device name> [<path>]].
The name cannot contain / characters, so you should rather do something like incus storage volume attach incus-hd webdata1 tmp my-disk /mnt/test/

1 Like