I am setting up LXD to play around with conjure-up. I would like to the storage to be mounted only on my RAID device, so it would be good to remove the default storage or replace/redirect it. I cannot remove the default storage because the default profile uses it.
How can I use the RAID storage with conjure-up and be sure it isn't using my default storage?
The default storage cannot be deleted because it is part of the default profile. The default profile cannot be removed. So the way around this is to push a blank profile to the default profile with;
printf 'config: {}\ndevices: {}' | lxc profile edit default
Then the default storage will be removed from the default profile, so you will now be able to remove the default storage with;
lxc storage delete default