Problem/Question
Mount points located under /mnt/
are not shown in the Web UI. Other disk mount points (like /
or /boot/firmware
) display fine, but none of my mounted nvme or external disks under /mnt/
are visible in the disk space charts.
root@DietPi:~# sudo -u netdata cat /proc/self/mountinfo | grep /mnt
38 20 0:33 / /mnt/0fc862d1-0874-4e79-bca8-2db9d20db381 rw,relatime shared:22 - autofs systemd-1 rw,fd=48,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=1125
39 20 0:34 / /mnt/14792149-9a2e-4f55-8dce-3bc54754a6f0 rw,relatime shared:23 - autofs systemd-1 rw,fd=50,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=1128
40 20 0:35 / /mnt/271ac613-0673-4521-9ff4-7d06a6e3c42e rw,relatime shared:24 - autofs systemd-1 rw,fd=51,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=1131
41 20 0:36 / /mnt/8915ec2f-d06b-45c0-8266-021fb3465166 rw,relatime shared:25 - autofs systemd-1 rw,fd=52,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=1134
42 20 0:37 / /mnt/d7c535cc-43bb-4d36-8763-f6148088ab2e rw,relatime shared:26 - autofs systemd-1 rw,fd=53,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=1137
320 41 259:3 / /mnt/8915ec2f-d06b-45c0-8266-021fb3465166 rw,noatime shared:152 - ext4 /dev/nvme0n1p3 rw,lazytime
500 38 8:17 / /mnt/0fc862d1-0874-4e79-bca8-2db9d20db381 rw,noatime shared:364 - ext4 /dev/sdb1 rw,lazytime
851 39 8:1 / /mnt/14792149-9a2e-4f55-8dce-3bc54754a6f0 rw,noatime shared:370 - ext4 /dev/sda1 rw,lazytime
939 40 8:33 / /mnt/271ac613-0673-4521-9ff4-7d06a6e3c42e rw,noatime shared:382 - ext4 /dev/sdc1 rw,lazytime
110 42 8:49 / /mnt/d7c535cc-43bb-4d36-8763-f6148088ab2e rw,noatime shared:61 - ext4 /dev/sdd1 rw,lazytime
root@DietPi:~# ls -ald /mnt/0fc862d1-0874-4e79-bca8-2db9d20db381/
drwxr-xr-x 4 root root 4096 Apr 15 2023 /mnt/0fc862d1-0874-4e79-bca8-2db9d20db381/
root@DietPi:~# ls -ald /mnt/14792149-9a2e-4f55-8dce-3bc54754a6f0/
drwxr-xr-x 31 root root 4096 Aug 4 15:10 /mnt/14792149-9a2e-4f55-8dce-3bc54754a6f0/
root@DietPi:~# ls -ald /mnt/271ac613-0673-4521-9ff4-7d06a6e3c42e/
drwxr-xr-x 4 root root 4096 Feb 14 2024 /mnt/271ac613-0673-4521-9ff4-7d06a6e3c42e/
root@DietPi:~# ls -ald /mnt/8915ec2f-d06b-45c0-8266-021fb3465166/
drwxr-xr-x 4 root root 4096 Apr 5 19:29 /mnt/8915ec2f-d06b-45c0-8266-021fb3465166/
root@DietPi:~# ls -ald /mnt/d7c535cc-43bb-4d36-8763-f6148088ab2e/
drwxr-xr-x 6 root root 4096 Feb 14 2024 /mnt/d7c535cc-43bb-4d36-8763-f6148088ab2e/
All disks are visible in the Disks section :
Relevant docs you followed/actions you took to solve the issue
- Reviewed official documentation:
https://learn.netdata.cloud/docs/collecting-metrics/linux-systems/disk-space
- Verified that default configuration does not exclude
/mnt/
.
[plugin:proc:diskspace]
section confirmed.
[plugin:proc:diskspace]
# remove charts of unmounted disks = yes
# update every = 1s
# check for new mount points every = 15s
# exclude space metrics on paths = /dev /dev/shm /proc/* /sys/* /var/run/user/* /run/lock /run/user/* /snap/* /var/lib/docker/* /var/lib/containers/storage/* /run/credentials/* /run/containerd/* /rpool /rpool/*
# exclude space metrics on filesystems = *gvfs *gluster* *s3fs *ipfs *davfs2 *httpfs *sshfs *gdfs *moosefs fusectl autofs cgroup cgroup2 hugetlbfs devtmpfs fuse.lxcfs
# exclude inode metrics on filesystems = msdosfs msdos vfat overlayfs aufs* *unionfs
# space usage for all disks = auto
# inodes usage for all disks = auto
Environment/Browser/Agent’s version etc
-
OS: DietPi (Debian-based)
-
Netdata Agent version:
v2.6.1
-
Installation type: Bare Metal
What I expected to happen
Netdata should automatically detect and display disk space metrics for /mnt/
mount points as documented in the Disk Space plugin documentation, since they are not excluded and are valid ext4 partitions.