Where should I mount other partitions or subvolumes from non-primary storage devices in order for LXD to access it?

I just acquired a 4TB SSD, and I just discovered that LXD doesn’t have a removable-media permission.

Where should I mount the subvolume(s) so that LXD can find it, and automatically create subvolumes on it?

I created a subvolume on my 4TB SATA SSD, and mounted it on /mnt/lxd-data, but it didn’t work as expected

Scratch that:

For some reason, I got it to work on the terminal

lxc storage create secondary btrfs source=/mnt/lxd-data

And here’s the YAML

access_entitlements:
  - can_delete
  - can_edit
name: secondary
description: ''
driver: btrfs
config:
  volatile.initial_source: /mnt/lxd-data

Not sure why it didn’t work when I just used the web GUI

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.