For a long time Windows user trying to get up to speed with Incus and Linux
The server being used here is an HPE DL-380 with 256gb of ram and two hba
mode 480gb ssd drives with a new Debian 12 install
I’m watching videos and reading and it takes me awhile to grasp all the new stuff
- Installed Incus
- ran $ adduser bret incus-admin
- ran incus admin init
but screwed up the storage pool… trying to fix
On creating an instance get this error.
root@debian:/home/bret# incus launch images:debian/12 db12-first
Launching db12-first
Error: Failed instance creation: Failed creating instance record: Failed initializing instance: Failed getting root disk: No root device could be found
current details no instances
root@debian:/home/bret# incus list
+------+-------+------+------+------+-----------+
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
+------+-------+------+------+------+-----------+
Default Profile below
root@debian:/home/bret# incus profile show default
config: {}
description: Default Incus profile
devices: {}
name: default
used_by: []
project: default
created a dir pool (shown below)
root@debian:/home/bret# incus storage list
+--------+--------+--------------------+---------+---------+
| NAME | DRIVER | DESCRIPTION | USED BY | STATE |
+--------+--------+--------------------+---------+---------+
| ssd-02 | dir | SSD Drive - Slot 2 | 0 | CREATED |
+--------+--------+--------------------+---------+---------+
In the various threads on this, it seems the best way is to add my ssd-02 storage pool to
my default profile so I can launch an instance.
Please help me with that.
Also seeking explanation on this paragraph in the pools docs
For Dir pools
“The directory storage driver is a basic backend that stores its data in a standard file and directory structure. This driver is quick to set up and allows inspecting the files directly on the disk, which can be convenient for testing. However, Incus operations are not optimized for this driver.”
Incus operations not optimized…
I have access to and am in the process of creating more advanced…or maybe preferred is the right word implementations of Incus, but would appreciate a comment on this.
…and this paragraph also in the Dir driver Pools docs
The dir driver in Incus is fully functional and provides the same set of features as other drivers. However, it is much slower than all the other drivers because it must unpack images and do instant copies of instances, snapshots and images.
Here I’m looking for the “preferred” driver type to use on my Debian server.
Regards