Open JohannesLares opened 1 month ago
Thanks for your bug report :+1:
Adding a
also means to show inaccessible filesystems.
Do you have an idea why docker 25.x treats your fileystem as inaccessible?
From my tests, I have noticed, that df -TPk
shows only the first occurrence of a specific kind of mount, and df -TPka
shows all the mounts.
$ df -TPk
Filesystem Type 1024-blocks Used Available Capacity Mounted on
overlay overlay 82999276 6529676 76469600 8% /
tmpfs tmpfs 65536 0 65536 0% /dev
shm tmpfs 65536 0 65536 0% /dev/shm
/dev/vda4 xfs 82999276 6529676 76469600 8% /etc/hosts
tmpfs tmpfs 1818440 4 1818436 1% /<redacted>
tmpfs tmpfs 1818440 0 1818440 0% /proc/acpi
tmpfs tmpfs 1818440 0 1818440 0% /proc/scsi
tmpfs tmpfs 1818440 0 1818440 0% /sys/firmware
$ df -TPka
Filesystem Type 1024-blocks Used Available Capacity Mounted on
overlay overlay 82999276 6529676 76469600 8% /
proc proc 0 0 0 - /proc
tmpfs tmpfs 65536 0 65536 0% /dev
devpts devpts 0 0 0 - /dev/pts
sysfs sysfs 0 0 0 - /sys
cgroup cgroup2 0 0 0 - /sys/fs/cgroup
mqueue mqueue 0 0 0 - /dev/mqueue
shm tmpfs 65536 0 65536 0% /dev/shm
/dev/vda4 xfs 82999276 6529676 76469600 8% /etc/resolv.conf
/dev/vda4 xfs 82999276 6529676 76469600 8% /etc/hostname
/dev/vda4 xfs 82999276 6529676 76469600 8% /etc/hosts
tmpfs tmpfs 1818440 4 1818436 1% /<redacted>
/dev/vda4 xfs 82999276 6529676 76469600 8% /var/www/html
/dev/vda4 xfs 82999276 6529676 76469600 8% /var/www/data
/dev/vda4 xfs 82999276 6529676 76469600 8% /var/www/data2
/dev/vda4 xfs 82999276 6529676 76469600 8% /var/www/html/config
...
Only the first /dev/vda4
mount is shown with df -TPk
, when df -TPka
shows all /dev/vda4
mounts.
From df
man page:
-a, --all
include pseudo, duplicate, inaccessible file systems
I think that the data volumes are dropped without -a
flag, because those can be seen as duplicates.
The reason why you don't see the overlay filesystem is because overlay filsystems are explicitly excluded. See https://github.com/nextcloud/serverinfo/pull/303
Steps to reproduce
Expected behaviour
Disks should show up as expected. Picture with docker v24 and mounts with devicemapper.
Actual behaviour
Disks do not show up. Picture with docker v27 and mounts with overlay2
This issue can be fixed by adding
a
flag (df -TPk
todf -TPka
) to https://github.com/nextcloud/serverinfo/blob/master/lib/OperatingSystems/Linux.php#L197Server configuration
Operating system: RHEL 9.3
Web server: NGINX
Database: MariaDB
PHP version: 8.2.20
Nextcloud version: (see Nextcloud admin page) 28.0.6
Where did you install Nextcloud from: Docker hub
List of activated apps:
Nextcloud configuration:
Client configuration
Browser: Safari 17.5
Operating system: macOS Sonoma 14.5