lxc storage list

To list Storage in LXD, use the command

lxc storage list

Example

root@b24:~# lxc storage list
+---------+--------+--------------------------------------------+-------------+---------+
|  NAME   | DRIVER |                   SOURCE                   | DESCRIPTION | USED BY |
+---------+--------+--------------------------------------------+-------------+---------+
| default | btrfs  | /var/snap/lxd/common/lxd/disks/default.img |             | 7       |
+---------+--------+--------------------------------------------+-------------+---------+
root@b24:~# 

In this installation, we use btrfs file system for storing containers. The file location is /var/snap/lxd/common/lxd/disks/default.img. It is used by 7 containers.

See LXD

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *