osamuaoki / incus-ui-canonical

Incus-UI-Canonical is a a browser frontend for Incus (patched LXD-UI)
GNU General Public License v3.0
17 stars 3 forks source link

Show size for ISO volume #2

Closed lijunle closed 4 months ago

lijunle commented 4 months ago

From the current volume view, I can see only container/image/VM has the size value.

Screenshot 2024-05-16 at 01 06 11

Somehow I can see ISO has its size returned in config.size. Could we show that in the column? I can help on raising a PR if you accept it.

Screenshot 2024-05-16 at 01 02 02

I would like to show size for customer FS as well, but I don't find that info yet.

Related code here:

https://github.com/osamuaoki/incus-ui-canonical/blob/059baca770112918f474c3cd3154297f2d4d08a4/src/pages/storage/StorageVolumeSize.tsx#L38-L47

lijunle commented 4 months ago

It turns out I need to enable BTRFS quota to show them. Although I am still not satisfied with size it shows (ref size vs. excl. size). It sounds an issue to lxd/incus info.