Comment 12 for bug 1499104

Revision history for this message
Juanmi Taboada (juanmitaboada) wrote :

I have created a new virtual machine installing Ubuntu 22.10 and btrfs as a root filesystem. I see that the easy solution is to update the whitelist.

PR resolves this issue:
https://github.com/CanonicalLtd/landscape-client/pull/154

Test scenario:
$ mount | grep btrfs
/dev/sda3 on / type btrfs (rw,relatime,space_cache=v2,subvolid=256,subvol=/@)
/dev/sda3 on /home type btrfs (rw,relatime,space_cache=v2,subvolid=257,subvol=/@home)

Before adding btrfs to the whitelist:
$ ./scripts/landscape-sysinfo
  System load: 0.24 Processes: 246
  Usage of /home: unknown Users logged in: 1
  Memory usage: 6% IPv4 address for enp0s3: 192.168.2.191
  Swap usage: 0%

After adding btrfs to the whitelist:
$ ./scripts/landscape-sysinfo
  System load: 2.99 Processes: 258
  Usage of /home: 90.7% of 9.81GB Users logged in: 1
  Memory usage: 7% IPv4 address for enp0s3: 192.168.2.191
  Swap usage: 0%

  => / is using 90.7% of 9.81GB