$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/mmcblk0p2 during curtin installation
/dev/disk/by-uuid/f2ef6014-a637-4769-83c7-0e866746983f / ext4 defaults 0 1
# /boot/efi was on /dev/mmcblk0p1 during curtin installation
/dev/disk/by-uuid/7D0E-E807 /boot/efi vfat defaults 0 1
/swap.img       none    swap    sw      0       0

UUID=55b8079f-e586-4501-b644-b90f4102156f /mnt/nas0   auto 
defaults,lazytime,X-mount.mkdir,nofail    0 2
UUID=19d0074b-2a76-486c-a014-651a36136cf3 /mnt/media0 auto 
defaults,lazytime,X-mount.mkdir,nofail,ro 0 2


** Description changed:

  On Ubuntu 24.04, when logging in, the a link in /etc/update-motd.d runs
  /usr/share/landscape/landscape-sysinfo.wrapper which collects and
  displays information using /usr/bin/landscape-sysinfo.
  
- On several of my machines, I have drives auto-mounted via /etc/fstab
+ On several of my machines, I have volumes auto-mounted via /etc/fstab
  that are full or nearly full and which contain local copies of shared
  data required for operational purposes.
  
  These are mounted read-only as the data does not change except on a
  system-wide update handled OOB.
  
  Unfortunately the Disk plugin reports these as problematic with messages
  such as
  
      => /mnt/media0 is using 94.8% of 915.82GB
  
  I cannot find the source code for the Disk plugin so do not know if
  there is a way of disabling the message for read-only mounts.
  
  It would be nice if there were an option to do this without disabling
  the warning for rw mounts.
  
  Alternatively, it could be argued that the warning should not ever be
  generated for ro mounts.
  
  $ lsb_release -rd
  No LSB modules are available.
  Description:    Ubuntu 24.04.3 LTS
  Release:        24.04
  $ apt-cache policy landscape-*
  landscape-common:
    Installed: 24.02-0ubuntu5.3
    Candidate: 24.02-0ubuntu5.3
    Version table:
   *** 24.02-0ubuntu5.3 500
          500 http://gb.archive.ubuntu.com/ubuntu noble-updates/main amd64 
Packages
          100 /var/lib/dpkg/status
       24.02-0ubuntu5 500
          500 http://gb.archive.ubuntu.com/ubuntu noble/main amd64 Packages
  landscape-client:
    Installed: (none)
    Candidate: 24.02-0ubuntu5.3
    Version table:
       24.02-0ubuntu5.3 500
          500 http://gb.archive.ubuntu.com/ubuntu noble-updates/main amd64 
Packages
       24.02-0ubuntu5 500
          500 http://gb.archive.ubuntu.com/ubuntu noble/main amd64 Packages
  $ landscape-sysinfo
    System load:             0.0
    Usage of /:              20.6% of 27.46GB
    Memory usage:            25%
    Swap usage:              0%
    Temperature:             53.0 C
    Processes:               170
    Users logged in:         1
    IPv4 address for enp1s0: 192.168.26.183
    IPv6 address for enp1s0: 2a02:8010:69f8:80::183
    IPv6 address for enp1s0: fda4:c415:2fba:80::183
    IPv6 address for enp1s0: fda4:c415:2fba:80:6a1d:efff:fe1b:d117
    IPv6 address for enp1s0: 2a02:8010:69f8:80:6a1d:efff:fe1b:d117
  
    => /mnt/media0 is using 94.8% of 915.82GB

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2120932

Title:
  landscape-sysinfo reports low space warning for read-only mounts

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/2120932/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to