#4428 Webmin 1.690 System Information Local disk space appears to ignore btrfs filesystems

Other
closed-fixed
nobody
5
2014-06-02
2014-06-02
Bruce Lilly
No

Webmin 1.690 still (see e.g. bugs 3824, 4368, 4363, 4343) sometimes incorrectly reports local disk space in the System Information screen. In other cases it's reasonable. When reported incorrectly, the "used" and "total" figures appear to be only for the partition mounted on /boot, and ignores the root (mounted on /) partition. In all cases where I've seen this, the root partition is formatted as btrfs. In all cases, Webmin Hardware -> Partitions on Local Disks shows the partitions and mount points correctly as does System -> Disk and Network Filesystems.

An example follows:

System hostname sg31g2c.blilly.net (192.168.99.57)
Operating system SuSE Linux 12.3
Webmin version 1.690
Time on system Sun Jun 1 20:17:10 2014
Kernel and CPU Linux 3.7.10-1.28-desktop on x86_64
Processor information Intel(R) Pentium(R) 4 CPU 3.00GHz, 2 cores
Drive temperatures sda: 36℃
System uptime 4 days, 15 hours, 48 minutes
Running processes 127
CPU load averages 0.05 (1 min) 0.07 (5 mins) 0.06 (15 mins)
CPU usage 0% user, 1% kernel, 0% IO, 99% idle
Real memory 1.32 GB used, 3.86 GB total
Virtual memory 99.60 MB used, 16 GB total
Local disk space 380.02 MB used, 4 GB total

sg31g2c.blilly.net:/data/config # df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 2.0G 32K 2.0G 1% /dev
tmpfs 2.0G 0 2.0G 0% /dev/shm
tmpfs 2.0G 64M 1.9G 4% /run
/dev/sda3 1.8T 238G 1.6T 13% /
tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
tmpfs 2.0G 64M 1.9G 4% /var/lock
tmpfs 2.0G 64M 1.9G 4% /var/run
/dev/sda1 4.0G 381M 3.7G 10% /boot
sg31g2c.blilly.net:/data/config # cat /etc/mtab
rootfs / rootfs rw 0 0
devtmpfs /dev devtmpfs rw,relatime,size=1997768k,nr_inodes=499442,mode=755 0 0
tmpfs /dev/shm tmpfs rw,relatime 0 0
tmpfs /run tmpfs rw,nosuid,nodev,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,gid=5,mode=620,ptmxmode=000 0 0
/dev/sda3 / btrfs rw,relatime,space_cache 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0
tmpfs /sys/fs/cgroup tmpfs rw,nosuid,nodev,noexec,mode=755 0 0
cgroup /sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd 0 0
cgroup /sys/fs/cgroup/cpuset cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 0
cgroup /sys/fs/cgroup/cpu,cpuacct cgroup rw,nosuid,nodev,noexec,relatime,cpuacct,cpu 0 0
cgroup /sys/fs/cgroup/memory cgroup rw,nosuid,nodev,noexec,relatime,memory 0 0
cgroup /sys/fs/cgroup/devices cgroup rw,nosuid,nodev,noexec,relatime,devices 0 0
cgroup /sys/fs/cgroup/freezer cgroup rw,nosuid,nodev,noexec,relatime,freezer 0 0
cgroup /sys/fs/cgroup/net_cls cgroup rw,nosuid,nodev,noexec,relatime,net_cls 0 0
cgroup /sys/fs/cgroup/blkio cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0
cgroup /sys/fs/cgroup/perf_event cgroup rw,nosuid,nodev,noexec,relatime,perf_event 0 0
cgroup /sys/fs/cgroup/hugetlb cgroup rw,nosuid,nodev,noexec,relatime,hugetlb 0 0
systemd-1 /proc/sys/fs/binfmt_misc autofs rw,relatime,fd=26,pgrp=1,timeout=300,minproto=5,maxproto=5,direct 0 0
mqueue /dev/mqueue mqueue rw,relatime 0 0
hugetlbfs /dev/hugepages hugetlbfs rw,relatime 0 0
tmpfs /var/lock tmpfs rw,nosuid,nodev,relatime,mode=755 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
tmpfs /var/run tmpfs rw,nosuid,nodev,relatime,mode=755 0 0
/dev/sda1 /boot reiserfs rw,relatime,user_xattr,acl 0 0
proc /var/lib/ntp/proc proc ro,nosuid,nodev,relatime 0 0
nfsd /proc/fs/nfsd nfsd rw,relatime 0 0
nfsd /var/lib/ntp/proc/fs/nfsd nfsd rw,relatime 0 0
rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs rw,relatime 0 0
proc /var/lib/named/proc proc ro,nosuid,nodev,noexec,relatime 0 0

Discussion

  • Jamie Cameron
    Jamie Cameron
    2014-06-02

    Thanks - I'll fix this for btsfs in the next Webmin release.

     
  • Jamie Cameron
    Jamie Cameron
    2014-06-02

    • status: open --> closed-fixed