Bug 56109 - Check failed: 30_disk_usage - Check free disk space moint moint /snap/core/11993 is 100.0% full
Check failed: 30_disk_usage - Check free disk space moint moint /snap/core/11...
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC - System diagnostic
UCS 5.0
Other Linux
: P5 normal (vote)
: UCS 5.0-4-errata
Assigned To: Marius Meschter
Florian Best
https://git.knut.univention.de/univen...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2023-06-01 09:14 CEST by Mirac Erdemiroglu
Modified: 2023-08-02 16:06 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 2: Improvement: Would be a product improvement
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.046
Enterprise Customer affected?: Yes
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): bitesize
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mirac Erdemiroglu univentionstaff 2023-06-01 09:14:38 CEST
Customer affected Ticket#2023052121000262
UCS: 5.0-3 errata638
Installed: adconnector=12.0 fetchmail=6.3.26 letsencrypt=2.0.0-2 mailserver=12.0 ox-connector=2.1.4 oxseforucs=7.10.6-ucs7 samba-memberserver=4.16

The system diagnose Check failed: 30_disk_usage show the following warning

######################## Start 30_disk_usage #########################
## Check failed: 30_disk_usage - Check free hard disk space ##
Some hard disks are almost full:
- Hard disk for moint point /snap/core/11993 is 100.0% full.
######################### End 30_disk_usage ##########################


But the mount point is read only
mount | grep snap
/var/lib/snapd/snaps/core_11993.snap on /snap/core/11993 type squashfs (ro,relatime)


df -h
Dateisystem                 Größe Benutzt Verf. Verw% Eingehängt auf
udev                         3,9G       0  3,9G    0% /dev
tmpfs                        798M     16M  783M    2% /run
/dev/mapper/vg_ucs-root       50G     35G   13G   74% /
tmpfs                        3,9G       0  3,9G    0% /dev/shm
tmpfs                        5,0M       0  5,0M    0% /run/lock
tmpfs                        3,9G       0  3,9G    0% /sys/fs/cgroup
/dev/loop0                   100M    100M     0  100% /snap/core/11993
/dev/sda1                    470M     75M  371M   17% /boot


The warning irritates administrators because the output says the disk is 100% full.

Perhaps it would be better to read only mount points that are used under /dev/loop0 will be shown as a hint rather than a warning.
Comment 2 Marius Meschter univentionstaff 2023-07-25 17:10:35 CEST
ignore read-only loop devices and squashfs mount points when looking for mount points

univention-management-console-module-diagnostic.yaml
fe5de004307c | feat(diagnostics): ignore read-only loop device

univention-management-console-module-diagnostic (6.0.6-2)
fe5de004307c | feat(diagnostics): ignore read-only loop device
Comment 3 Florian Best univentionstaff 2023-08-01 11:59:42 CEST
OK: read-only mounted devices starting with /dev/loop are ignored
OK: devices with type=squashfs are ignored
OK: YAML
Comment 4 Christian Castens univentionstaff 2023-08-02 16:06:25 CEST
<https://errata.software-univention.de/#/?erratum=5.0x759>