- Installed incus.
- ran incus admin init
#Ran:
$ sudo incus storage show default
#
config:
size: 30GiB
source: /var/lib/incus/disks/default.img
description: “”
name: default
driver: btrfs
used_by:
- /1.0/images/4664d6e86ba0698986a9e5ad4930937408a180db138bc2863acf6cedfcb1eb9c
- /1.0/instances/jetty-01
- /1.0/instances/jetty-02
- /1.0/profiles/default
status: Created
locations: - none
#ran below to get into one of my containers
$ sudo incus exec jetty-02 – /bin/bash
#ran below to see disk in container
$df -h
#displayed
Filesystem Size Used Avail Use% Mounted on
/dev/loop8 30G 533M 29G 2% /
none 492K 4.0K 488K 1% /dev
udev 3.7G 0 3.7G 0% /dev/tty
tmpfs 100K 0 100K 0% /dev/incus
tmpfs 100K 0 100K 0% /dev/.incus-mounts
tmpfs 3.8G 0 3.8G 0% /dev/shm
tmpfs 1.5G 96K 1.5G 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
#based on the below line listed in the results…it looks like I created a Loop disk
/dev/loop8 30G 533M 29G 2% /
I want to create containers and see all the specifics, then delete the containers, and delete the
admin init (if possible) and go thru the steps several time to see how the init options work
Is that possible?
Also, how do I assign a description to the storage
$ sudo incus storage show default
config:
size: 30GiB
source: /var/lib/incus/disks/default.img
description: “”
name: default
driver: btrfs
used_by:
- /1.0/images/4664d6e86ba0698986a9e5ad4930937408a180db138bc2863acf6cedfcb1eb9c
- /1.0/instances/jetty-01
- /1.0/instances/jetty-02
- /1.0/profiles/default
status: Created
locations: - none
Lastly
$ sudo incus storage list
±--------±-------±------------±--------±--------+
| NAME | DRIVER | DESCRIPTION | USED BY | STATE |
±--------±-------±------------±--------±--------+
| default | btrfs | | 4 | CREATED |
±--------±-------±------------±--------±--------+
#what is Used BY refer to?
There are several questions in this post. Would you prefer I post one question per post?
Regards,
Bret Stern