openmediavault / openmediavault

openmediavault is the next generation network attached storage (NAS) solution based on Debian Linux. Thanks to the modular design of the framework it can be enhanced via plugins. openmediavault is primarily designed to be used in home environments or small home offices.
https://www.openmediavault.org
Other
5.03k stars 476 forks source link

Broken File System Usage graph for one (but only one!) volume #1813

Closed mikeage closed 3 weeks ago

mikeage commented 1 month ago

Describe the bug

After upgrading to the latest OMV (which includes #1806), I have a broken graph for one of my volumes. The only thing different about this one, that I can see, is that it's a BTRFS volume with multiple devices, as opposed to just one.

To Reproduce

Steps to reproduce the behavior:

  1. Go to Diagnostics -> Performance Statistics -> File System Usage
  2. Choose volume 9900c9f3-6ac9-4791-a4a9-cb3f9c140f53 (obviously only on mine!)
  3. See broken graph (attached)
  4. I tried the regenerate button, but it didn't change anything. I don't know where the logs are; there was nothing in the main journal (sudo journalctl -f)

Expected behavior

Proper graph, like the rest of them Screenshots

Screenshot 2024-08-16 at 8 05 42

Reference to Forum

None

openmediavault Server (please complete the following information):

Additional context

mikeage@openmediavault:/var/log$ sudo btrfs filesystem show /srv/dev-disk-by-uuid-9900c9f3-6ac9-4791-a4a9-cb3f9c140f53
Label: none  uuid: 9900c9f3-6ac9-4791-a4a9-cb3f9c140f53
    Total devices 3 FS bytes used 2.86TiB
    devid    1 size 3.64TiB used 1.43TiB path /dev/sdc
    devid    2 size 3.64TiB used 1.43TiB path /dev/sdd
    devid    3 size 7.28TiB used 2.86TiB path /dev/sdb

mikeage@openmediavault:/var/log$ sudo btrfs filesystem df /srv/dev-disk-by-uuid-9900c9f3-6ac9-4791-a4a9-cb3f9c140f53
Data, RAID1: total=2.85TiB, used=2.85TiB
System, RAID1: total=32.00MiB, used=432.00KiB
Metadata, RAID1: total=5.00GiB, used=4.15GiB
GlobalReserve, single: total=512.00MiB, used=0.00B
votdev commented 1 month ago

After upgrading to the latest OMV (which includes https://github.com/openmediavault/openmediavault/pull/1806), I have a broken graph for one of my volumes.

This means, before there was no problem? I can't really imagine that because the change doesn't really do anything different.

Please post the output of

# omv-rpc -u admin 'FileSystemMgmt' 'enumerateMountedFilesystems' '{"includeroot": true}' | jq
# omv-rpc -u admin 'CollectdDisk' 'enumerate' | jq
# ls -alh /var/lib/rrdcached/db/
mikeage commented 1 month ago

Before, there was some inconsistency in how the graph was displayed, hence issue #1805 :-)

Logs:

sudo omv-rpc -u admin 'FileSystemMgmt' 'enumerateMountedFilesystems' '{"includeroot": true}' | jq

[
  {
    "devicename": "sda1",
    "devicefile": "/dev/disk/by-uuid/032a20cc-7082-4901-8ef0-0359fcd9ba30",
    "predictabledevicefile": "/dev/disk/by-uuid/032a20cc-7082-4901-8ef0-0359fcd9ba30",
    "canonicaldevicefile": "/dev/sda1",
    "parentdevicefile": "/dev/sda",
    "devlinks": [
      "/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-part1",
      "/dev/disk/by-partuuid/7c837846-01",
      "/dev/disk/by-path/pci-0000:09:01.0-scsi-0:0:0:0-part1",
      "/dev/disk/by-uuid/032a20cc-7082-4901-8ef0-0359fcd9ba30"
    ],
    "uuid": "032a20cc-7082-4901-8ef0-0359fcd9ba30",
    "label": "",
    "type": "ext4",
    "blocks": "31861548",
    "mounted": true,
    "mountpoint": "/",
    "used": "3.39 GiB",
    "available": "27296698368",
    "size": "32626225152",
    "percentage": 12,
    "description": "/dev/sda1 [EXT4, 3.39 GiB (12%) used, 25.42 GiB available]",
    "propposixacl": true,
    "propquota": true,
    "propresize": true,
    "propfstab": true,
    "propcompress": false,
    "propautodefrag": false,
    "hasmultipledevices": false,
    "devicefiles": [
      "/dev/sda1"
    ],
    "comment": "",
    "_readonly": false,
    "_used": false,
    "propreadonly": false,
    "usagewarnthreshold": 85
  },
  {
    "devicename": "sdd",
    "devicefile": "/dev/disk/by-uuid/9900c9f3-6ac9-4791-a4a9-cb3f9c140f53",
    "predictabledevicefile": "/dev/disk/by-uuid/9900c9f3-6ac9-4791-a4a9-cb3f9c140f53",
    "canonicaldevicefile": "/dev/sdd",
    "parentdevicefile": "/dev/sdd",
    "devlinks": [
      "/dev/disk/by-diskseq/4",
      "/dev/disk/by-id/ata-ST4000VN006-3CW104_ZW629FNR",
      "/dev/disk/by-id/usb-TerraMas_TDAS_002302280014-0:0",
      "/dev/disk/by-id/wwn-0x5000c500e8948829",
      "/dev/disk/by-path/pci-0000:07:1b.0-usb-0:4:1.0-scsi-0:0:0:0",
      "/dev/disk/by-uuid/9900c9f3-6ac9-4791-a4a9-cb3f9c140f53"
    ],
    "uuid": "9900c9f3-6ac9-4791-a4a9-cb3f9c140f53",
    "label": "",
    "type": "btrfs",
    "blocks": "7814031876",
    "mounted": true,
    "mountpoint": "/export/storage",
    "used": "2.85 TiB",
    "available": "4858601893888",
    "size": "8001568641024",
    "percentage": 39,
    "description": "/dev/sdd [BTRFS, 2.85 TiB (39%) used, 4.41 TiB available]",
    "propposixacl": true,
    "propquota": false,
    "propresize": true,
    "propfstab": true,
    "propcompress": true,
    "propautodefrag": true,
    "hasmultipledevices": true,
    "devicefiles": [
      "/dev/sdb",
      "/dev/sdc",
      "/dev/sdd"
    ],
    "comment": "",
    "_readonly": false,
    "_used": false,
    "propreadonly": false,
    "usagewarnthreshold": 85
  },
  {
    "devicename": "sde",
    "devicefile": "/dev/disk/by-uuid/cdda3aec-f9c4-4298-a111-92d7faa35359",
    "predictabledevicefile": "/dev/disk/by-uuid/cdda3aec-f9c4-4298-a111-92d7faa35359",
    "canonicaldevicefile": "/dev/sde",
    "parentdevicefile": "/dev/sde",
    "devlinks": [
      "/dev/disk/by-diskseq/5",
      "/dev/disk/by-id/ata-WDC_WD10EZEX-60WN4A1_WD-WCC6Y0HYC14H",
      "/dev/disk/by-id/usb-TerraMas_TDAS_002302280014-0:0",
      "/dev/disk/by-id/wwn-0x50014ee2129e6968",
      "/dev/disk/by-path/pci-0000:07:1b.0-usb-0:5:1.0-scsi-0:0:0:0",
      "/dev/disk/by-uuid/cdda3aec-f9c4-4298-a111-92d7faa35359"
    ],
    "uuid": "cdda3aec-f9c4-4298-a111-92d7faa35359",
    "label": "",
    "type": "btrfs",
    "blocks": "976762584",
    "mounted": true,
    "mountpoint": "/srv/dev-disk-by-uuid-cdda3aec-f9c4-4298-a111-92d7faa35359",
    "used": "468.87 GiB",
    "available": "494640074752",
    "size": "1000204886016",
    "percentage": 50,
    "description": "/dev/sde [BTRFS, 468.87 GiB (50%) used, 460.66 GiB available]",
    "propposixacl": true,
    "propquota": false,
    "propresize": true,
    "propfstab": true,
    "propcompress": true,
    "propautodefrag": true,
    "hasmultipledevices": false,
    "devicefiles": [
      "/dev/sde"
    ],
    "comment": "",
    "_readonly": false,
    "_used": false,
    "propreadonly": false,
    "usagewarnthreshold": 85
  },
  {
    "devicename": "sdf",
    "devicefile": "/dev/disk/by-uuid/e39deefc-22f8-476a-b382-145241fb336d",
    "predictabledevicefile": "/dev/disk/by-uuid/e39deefc-22f8-476a-b382-145241fb336d",
    "canonicaldevicefile": "/dev/sdf",
    "parentdevicefile": "/dev/sdf",
    "devlinks": [
      "/dev/disk/by-diskseq/14",
      "/dev/disk/by-id/ata-ST2000LM003_HN-M201RAD_S36VJ9AGA07711",
      "/dev/disk/by-id/usb-StoreJet_Transcend_S36VJ9AGA07711-0:0",
      "/dev/disk/by-id/wwn-0x50004cf210f85118",
      "/dev/disk/by-path/pci-0000:07:1b.0-usb-0:1:1.0-scsi-0:0:0:0",
      "/dev/disk/by-uuid/e39deefc-22f8-476a-b382-145241fb336d"
    ],
    "uuid": "e39deefc-22f8-476a-b382-145241fb336d",
    "label": "",
    "type": "btrfs",
    "blocks": "1953514584",
    "mounted": true,
    "mountpoint": "/srv/dev-disk-by-uuid-e39deefc-22f8-476a-b382-145241fb336d",
    "used": "393.16 GiB",
    "available": "1576082915328",
    "size": "2000398934016",
    "percentage": 21,
    "description": "/dev/sdf [BTRFS, 393.16 GiB (21%) used, 1.43 TiB available]",
    "propposixacl": true,
    "propquota": false,
    "propresize": true,
    "propfstab": true,
    "propcompress": true,
    "propautodefrag": true,
    "hasmultipledevices": false,
    "devicefiles": [
      "/dev/sdf"
    ],
    "comment": "",
    "_readonly": false,
    "_used": false,
    "propreadonly": false,
    "usagewarnthreshold": 85
  }
]

sudo omv-rpc -u admin 'CollectdDisk' 'enumerate' | jq

[
  {
    "devicefile": "/dev/sda",
    "predictabledevicefile": "/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi0",
    "canonicaldevicefile": "/dev/sda",
    "root": true,
    "description": "QEMU HARDDISK [/dev/sda, 32.00 GiB]"
  },
  {
    "devicefile": "/dev/sdd",
    "predictabledevicefile": "/dev/disk/by-id/ata-ST4000VN006-3CW104_ZW629FNR",
    "canonicaldevicefile": "/dev/sdd",
    "root": false,
    "description": "ST4000VN006-3CW104 [/dev/sdd, 3.63 TiB]"
  },
  {
    "devicefile": "/dev/sde",
    "predictabledevicefile": "/dev/disk/by-id/ata-WDC_WD10EZEX-60WN4A1_WD-WCC6Y0HYC14H",
    "canonicaldevicefile": "/dev/sde",
    "root": false,
    "description": "WDC WD10EZEX-60WN4A1 [/dev/sde, 931.51 GiB]"
  },
  {
    "devicefile": "/dev/sdf",
    "predictabledevicefile": "/dev/disk/by-id/ata-ST2000LM003_HN-M201RAD_S36VJ9AGA07711",
    "canonicaldevicefile": "/dev/sdf",
    "root": false,
    "description": "ST2000LM003 HN-M201RAD [/dev/sdf, 1.81 TiB]"
  }
]

And the directories, including a few more that might be helpful

mikeage@openmediavault:~$ ls -alh /var/lib/rrdcached/db/
total 12K
drwxr-xr-x  3 root root 4.0K May 26 21:07 .
drwxr-xr-x  4 root root 4.0K May 26 21:07 ..
drwxr-xr-x 25 root root 4.0K Aug  6 21:05 localhost
mikeage@openmediavault:~$ ls -alh /var/lib/rrdcached/db/localhost/
total 100K
drwxr-xr-x 25 root root 4.0K Aug  6 21:05 .
drwxr-xr-x  3 root root 4.0K May 26 21:07 ..
drwxr-xr-x  2 root root 4.0K May 26 21:07 cpu-0
drwxr-xr-x  2 root root 4.0K May 26 21:07 cpu-1
drwxr-xr-x  2 root root 4.0K May 26 21:07 cpu-2
drwxr-xr-x  2 root root 4.0K May 26 21:07 cpu-3
drwxr-xr-x  2 root root 4.0K May 26 21:07 df-root
drwxr-xr-x  2 root root 4.0K Jun 14 05:40 df-srv-dev-disk-by-uuid-9900c9f3-6ac9-4791-a4a9-cb3f9c140f53
drwxr-xr-x  2 root root 4.0K May 27 05:22 df-srv-dev-disk-by-uuid-aa186c8f-4468-47a0-bc4a-9e0509611c54
drwxr-xr-x  2 root root 4.0K Jun 17 20:19 df-srv-dev-disk-by-uuid-c369db86-bcd9-49a1-82f8-5d44c82720a1
drwxr-xr-x  2 root root 4.0K May 28 09:27 df-srv-dev-disk-by-uuid-cdda3aec-f9c4-4298-a111-92d7faa35359
drwxr-xr-x  2 root root 4.0K Aug  4 10:44 df-srv-dev-disk-by-uuid-e39deefc-22f8-476a-b382-145241fb336d
drwxr-xr-x  2 root root 4.0K May 27 05:17 disk-sda
drwxr-xr-x  2 root root 4.0K May 28 12:41 disk-sdb
drwxr-xr-x  2 root root 4.0K Jun 16 06:09 disk-sdc
drwxr-xr-x  2 root root 4.0K Jun 14 05:57 disk-sdd
drwxr-xr-x  2 root root 4.0K Jun 17 20:19 disk-sde
drwxr-xr-x  2 root root 4.0K Aug  4 11:04 disk-sdf
drwxr-xr-x  2 root root 4.0K Aug  6 21:06 disk-sdg
drwxr-xr-x  2 root root 4.0K May 26 21:07 interface-enp6s18
drwxr-xr-x  2 root root 4.0K May 26 21:07 interface-lo
drwxr-xr-x  2 root root 4.0K May 26 21:07 load
drwxr-xr-x  2 root root 4.0K May 26 21:07 memory
drwxr-xr-x  2 root root 4.0K May 26 21:07 rrdcached
drwxr-xr-x  2 root root 4.0K May 26 21:07 uptime
votdev commented 1 month ago

What is the output of

# ls -alh /var/lib/openmediavault/rrd
mikeage commented 1 month ago
mikeage@openmediavault:~$ ls -alh /var/lib/openmediavault/rrd
total 3.2M
drwxr-xr-x 2 root root  12K Aug  6 21:05 .
drwxr-xr-x 8 root root 4.0K Aug 16 08:00 ..
-rw-r--r-- 1 root root  15K Aug 17 20:45 cpu-0-day.png
-rw-r--r-- 1 root root  16K Aug 17 20:45 cpu-0-hour.png
-rw-r--r-- 1 root root  22K Aug 17 20:45 cpu-0-month.png
-rw-r--r-- 1 root root  19K Aug 17 20:45 cpu-0-week.png
-rw-r--r-- 1 root root  18K Aug 17 20:45 cpu-0-year.png
-rw-r--r-- 1 root root  14K Aug 17 20:45 df-root-day.png
-rw-r--r-- 1 root root  14K Aug 17 20:45 df-root-hour.png
-rw-r--r-- 1 root root  14K Aug 17 20:45 df-root-month.png
-rw-r--r-- 1 root root  14K Aug 17 20:45 df-root-week.png
-rw-r--r-- 1 root root  15K Aug 17 20:45 df-root-year.png
-rw-rw-rw- 1 root root  12K Aug 17 20:45 df-srv-dev-disk-by-uuid-9900c9f3-6ac9-4791-a4a9-cb3f9c140f53-day.png
-rw-rw-rw- 1 root root  13K Aug 17 20:45 df-srv-dev-disk-by-uuid-9900c9f3-6ac9-4791-a4a9-cb3f9c140f53-hour.png
-rw-rw-rw- 1 root root  14K Aug 17 20:45 df-srv-dev-disk-by-uuid-9900c9f3-6ac9-4791-a4a9-cb3f9c140f53-month.png
-rw-rw-rw- 1 root root  13K Aug 17 20:45 df-srv-dev-disk-by-uuid-9900c9f3-6ac9-4791-a4a9-cb3f9c140f53-week.png
-rw-rw-rw- 1 root root  15K Aug 17 20:45 df-srv-dev-disk-by-uuid-9900c9f3-6ac9-4791-a4a9-cb3f9c140f53-year.png
-rw-rw-rw- 1 root root  13K Jul  4 18:07 df-srv-dev-disk-by-uuid-aa186c8f-4468-47a0-bc4a-9e0509611c54-day.png
-rw-rw-rw- 1 root root  13K Jul  4 18:07 df-srv-dev-disk-by-uuid-aa186c8f-4468-47a0-bc4a-9e0509611c54-hour.png
-rw-rw-rw- 1 root root  14K Jul  4 18:07 df-srv-dev-disk-by-uuid-aa186c8f-4468-47a0-bc4a-9e0509611c54-month.png
-rw-rw-rw- 1 root root  14K Jul  4 18:07 df-srv-dev-disk-by-uuid-aa186c8f-4468-47a0-bc4a-9e0509611c54-week.png
-rw-rw-rw- 1 root root  14K Jul  4 18:07 df-srv-dev-disk-by-uuid-aa186c8f-4468-47a0-bc4a-9e0509611c54-year.png
-rw-rw-rw- 1 root root  11K Jun 17 20:19 df-srv-dev-disk-by-uuid-c369db86-bcd9-49a1-82f8-5d44c82720a1-day.png
-rw-rw-rw- 1 root root  11K Jun 17 20:19 df-srv-dev-disk-by-uuid-c369db86-bcd9-49a1-82f8-5d44c82720a1-hour.png
-rw-rw-rw- 1 root root  11K Jun 17 20:19 df-srv-dev-disk-by-uuid-c369db86-bcd9-49a1-82f8-5d44c82720a1-month.png
-rw-rw-rw- 1 root root  11K Jun 17 20:19 df-srv-dev-disk-by-uuid-c369db86-bcd9-49a1-82f8-5d44c82720a1-week.png
-rw-rw-rw- 1 root root  12K Jun 17 20:19 df-srv-dev-disk-by-uuid-c369db86-bcd9-49a1-82f8-5d44c82720a1-year.png
-rw-rw-rw- 1 root root  14K Aug 17 20:45 df-srv-dev-disk-by-uuid-cdda3aec-f9c4-4298-a111-92d7faa35359-day.png
-rw-rw-rw- 1 root root  15K Aug 17 20:45 df-srv-dev-disk-by-uuid-cdda3aec-f9c4-4298-a111-92d7faa35359-hour.png
-rw-rw-rw- 1 root root  16K Aug 17 20:45 df-srv-dev-disk-by-uuid-cdda3aec-f9c4-4298-a111-92d7faa35359-month.png
-rw-rw-rw- 1 root root  16K Aug 17 20:45 df-srv-dev-disk-by-uuid-cdda3aec-f9c4-4298-a111-92d7faa35359-week.png
-rw-rw-rw- 1 root root  17K Aug 17 20:45 df-srv-dev-disk-by-uuid-cdda3aec-f9c4-4298-a111-92d7faa35359-year.png
-rw-rw-rw- 1 root root  12K Aug 17 20:45 df-srv-dev-disk-by-uuid-e39deefc-22f8-476a-b382-145241fb336d-day.png
-rw-rw-rw- 1 root root  12K Aug 17 20:45 df-srv-dev-disk-by-uuid-e39deefc-22f8-476a-b382-145241fb336d-hour.png
-rw-rw-rw- 1 root root  13K Aug 17 20:45 df-srv-dev-disk-by-uuid-e39deefc-22f8-476a-b382-145241fb336d-month.png
-rw-rw-rw- 1 root root  13K Aug 17 20:45 df-srv-dev-disk-by-uuid-e39deefc-22f8-476a-b382-145241fb336d-week.png
-rw-rw-rw- 1 root root  14K Aug 17 20:45 df-srv-dev-disk-by-uuid-e39deefc-22f8-476a-b382-145241fb336d-year.png
-rw-rw-rw- 1 root root  673 Jul  4 18:07 disk-octets-nvme0-day.png
-rw-rw-rw- 1 root root  673 Jul  4 18:07 disk-octets-nvme0-hour.png
-rw-rw-rw- 1 root root  673 Jul  4 18:07 disk-octets-nvme0-month.png
-rw-rw-rw- 1 root root  673 Jul  4 18:07 disk-octets-nvme0-week.png
-rw-rw-rw- 1 root root  673 Jul  4 18:07 disk-octets-nvme0-year.png
-rw-r--r-- 1 root root  18K Aug 17 20:45 disk-octets-sda-day.png
-rw-r--r-- 1 root root  22K Aug 17 20:45 disk-octets-sda-hour.png
-rw-r--r-- 1 root root  31K Aug 17 20:45 disk-octets-sda-month.png
-rw-r--r-- 1 root root  26K Aug 17 20:45 disk-octets-sda-week.png
-rw-r--r-- 1 root root  20K Aug 17 20:45 disk-octets-sda-year.png
-rw-rw-rw- 1 root root  25K Aug  6 21:00 disk-octets-sdb-day.png
-rw-rw-rw- 1 root root  31K Aug  6 21:00 disk-octets-sdb-hour.png
-rw-rw-rw- 1 root root  15K Aug  6 21:00 disk-octets-sdb-month.png
-rw-rw-rw- 1 root root  17K Aug  6 21:00 disk-octets-sdb-week.png
-rw-rw-rw- 1 root root  15K Aug  6 21:00 disk-octets-sdb-year.png
-rw-rw-rw- 1 root root  22K Aug  6 21:00 disk-octets-sdc-day.png
-rw-rw-rw- 1 root root  21K Aug  6 21:00 disk-octets-sdc-hour.png
-rw-rw-rw- 1 root root  18K Aug  6 21:00 disk-octets-sdc-month.png
-rw-rw-rw- 1 root root  19K Aug  6 21:00 disk-octets-sdc-week.png
-rw-rw-rw- 1 root root  21K Aug  6 21:00 disk-octets-sdc-year.png
-rw-rw-rw- 1 root root  19K Aug 17 20:45 disk-octets-sdd-day.png
-rw-rw-rw- 1 root root  19K Aug 17 20:45 disk-octets-sdd-hour.png
-rw-rw-rw- 1 root root  17K Aug 17 20:45 disk-octets-sdd-month.png
-rw-rw-rw- 1 root root  17K Aug 17 20:45 disk-octets-sdd-week.png
-rw-rw-rw- 1 root root  21K Aug 17 20:45 disk-octets-sdd-year.png
-rw-rw-rw- 1 root root  16K Aug 17 20:45 disk-octets-sde-day.png
-rw-rw-rw- 1 root root  13K Aug 17 20:45 disk-octets-sde-hour.png
-rw-rw-rw- 1 root root  17K Aug 17 20:45 disk-octets-sde-month.png
-rw-rw-rw- 1 root root  15K Aug 17 20:45 disk-octets-sde-week.png
-rw-rw-rw- 1 root root  17K Aug 17 20:45 disk-octets-sde-year.png
-rw-rw-rw- 1 root root  16K Aug 17 20:45 disk-octets-sdf-day.png
-rw-rw-rw- 1 root root  13K Aug 17 20:45 disk-octets-sdf-hour.png
-rw-rw-rw- 1 root root  17K Aug 17 20:45 disk-octets-sdf-month.png
-rw-rw-rw- 1 root root  17K Aug 17 20:45 disk-octets-sdf-week.png
-rw-rw-rw- 1 root root  18K Aug 17 20:45 disk-octets-sdf-year.png
-rw-rw-rw- 1 root root  12K Aug  8 12:00 disk-octets-sdg-day.png
-rw-rw-rw- 1 root root  12K Aug  8 12:00 disk-octets-sdg-hour.png
-rw-rw-rw- 1 root root  13K Aug  8 12:00 disk-octets-sdg-month.png
-rw-rw-rw- 1 root root  15K Aug  8 12:00 disk-octets-sdg-week.png
-rw-rw-rw- 1 root root  14K Aug  8 12:00 disk-octets-sdg-year.png
-rw-rw-rw- 1 root root  673 Jul  4 18:07 disk-ops-nvme0-day.png
-rw-rw-rw- 1 root root  673 Jul  4 18:07 disk-ops-nvme0-hour.png
-rw-rw-rw- 1 root root  673 Jul  4 18:07 disk-ops-nvme0-month.png
-rw-rw-rw- 1 root root  673 Jul  4 18:07 disk-ops-nvme0-week.png
-rw-rw-rw- 1 root root  673 Jul  4 18:07 disk-ops-nvme0-year.png
-rw-r--r-- 1 root root  22K Aug 17 20:45 disk-ops-sda-day.png
-rw-r--r-- 1 root root  23K Aug 17 20:45 disk-ops-sda-hour.png
-rw-r--r-- 1 root root  25K Aug 17 20:45 disk-ops-sda-month.png
-rw-r--r-- 1 root root  23K Aug 17 20:45 disk-ops-sda-week.png
-rw-r--r-- 1 root root  19K Aug 17 20:45 disk-ops-sda-year.png
-rw-rw-rw- 1 root root  29K Aug  6 21:00 disk-ops-sdb-day.png
-rw-rw-rw- 1 root root  27K Aug  6 21:00 disk-ops-sdb-hour.png
-rw-rw-rw- 1 root root  17K Aug  6 21:00 disk-ops-sdb-month.png
-rw-rw-rw- 1 root root  18K Aug  6 21:00 disk-ops-sdb-week.png
-rw-rw-rw- 1 root root  16K Aug  6 21:00 disk-ops-sdb-year.png
-rw-rw-rw- 1 root root  17K Aug  6 21:00 disk-ops-sdc-day.png
-rw-rw-rw- 1 root root  21K Aug  6 21:00 disk-ops-sdc-hour.png
-rw-rw-rw- 1 root root  21K Aug  6 21:00 disk-ops-sdc-month.png
-rw-rw-rw- 1 root root  23K Aug  6 21:00 disk-ops-sdc-week.png
-rw-rw-rw- 1 root root  22K Aug  6 21:00 disk-ops-sdc-year.png
-rw-rw-rw- 1 root root  17K Aug 17 20:45 disk-ops-sdd-day.png
-rw-rw-rw- 1 root root  25K Aug 17 20:45 disk-ops-sdd-hour.png
-rw-rw-rw- 1 root root  19K Aug 17 20:45 disk-ops-sdd-month.png
-rw-rw-rw- 1 root root  20K Aug 17 20:45 disk-ops-sdd-week.png
-rw-rw-rw- 1 root root  22K Aug 17 20:45 disk-ops-sdd-year.png
-rw-rw-rw- 1 root root  16K Aug 17 20:45 disk-ops-sde-day.png
-rw-rw-rw- 1 root root  13K Aug 17 20:45 disk-ops-sde-hour.png
-rw-rw-rw- 1 root root  17K Aug 17 20:45 disk-ops-sde-month.png
-rw-rw-rw- 1 root root  16K Aug 17 20:45 disk-ops-sde-week.png
-rw-rw-rw- 1 root root  18K Aug 17 20:45 disk-ops-sde-year.png
-rw-rw-rw- 1 root root  16K Aug 17 20:45 disk-ops-sdf-day.png
-rw-rw-rw- 1 root root  13K Aug 17 20:45 disk-ops-sdf-hour.png
-rw-rw-rw- 1 root root  18K Aug 17 20:45 disk-ops-sdf-month.png
-rw-rw-rw- 1 root root  18K Aug 17 20:45 disk-ops-sdf-week.png
-rw-rw-rw- 1 root root  18K Aug 17 20:45 disk-ops-sdf-year.png
-rw-rw-rw- 1 root root  13K Aug  8 12:00 disk-ops-sdg-day.png
-rw-rw-rw- 1 root root  13K Aug  8 12:00 disk-ops-sdg-hour.png
-rw-rw-rw- 1 root root  13K Aug  8 12:00 disk-ops-sdg-month.png
-rw-rw-rw- 1 root root  16K Aug  8 12:00 disk-ops-sdg-week.png
-rw-rw-rw- 1 root root  15K Aug  8 12:00 disk-ops-sdg-year.png
-rw-rw-rw- 1 root root  673 Jul  4 18:07 disk-time-nvme0-day.png
-rw-rw-rw- 1 root root  673 Jul  4 18:07 disk-time-nvme0-hour.png
-rw-rw-rw- 1 root root  673 Jul  4 18:07 disk-time-nvme0-month.png
-rw-rw-rw- 1 root root  673 Jul  4 18:07 disk-time-nvme0-week.png
-rw-rw-rw- 1 root root  673 Jul  4 18:07 disk-time-nvme0-year.png
-rw-r--r-- 1 root root  20K Aug 17 20:45 disk-time-sda-day.png
-rw-r--r-- 1 root root  21K Aug 17 20:45 disk-time-sda-hour.png
-rw-r--r-- 1 root root  19K Aug 17 20:45 disk-time-sda-month.png
-rw-r--r-- 1 root root  28K Aug 17 20:45 disk-time-sda-week.png
-rw-r--r-- 1 root root  16K Aug 17 20:45 disk-time-sda-year.png
-rw-rw-rw- 1 root root  21K Aug  6 21:00 disk-time-sdb-day.png
-rw-rw-rw- 1 root root  15K Aug  6 21:00 disk-time-sdb-hour.png
-rw-rw-rw- 1 root root  17K Aug  6 21:00 disk-time-sdb-month.png
-rw-rw-rw- 1 root root  21K Aug  6 21:00 disk-time-sdb-week.png
-rw-rw-rw- 1 root root  16K Aug  6 21:00 disk-time-sdb-year.png
-rw-rw-rw- 1 root root  34K Aug  6 21:00 disk-time-sdc-day.png
-rw-rw-rw- 1 root root  33K Aug  6 21:00 disk-time-sdc-hour.png
-rw-rw-rw- 1 root root  33K Aug  6 21:00 disk-time-sdc-month.png
-rw-rw-rw- 1 root root  36K Aug  6 21:00 disk-time-sdc-week.png
-rw-rw-rw- 1 root root  18K Aug  6 21:00 disk-time-sdc-year.png
-rw-rw-rw- 1 root root  26K Aug 17 20:45 disk-time-sdd-day.png
-rw-rw-rw- 1 root root  32K Aug 17 20:45 disk-time-sdd-hour.png
-rw-rw-rw- 1 root root  31K Aug 17 20:45 disk-time-sdd-month.png
-rw-rw-rw- 1 root root  29K Aug 17 20:45 disk-time-sdd-week.png
-rw-rw-rw- 1 root root  21K Aug 17 20:45 disk-time-sdd-year.png
-rw-rw-rw- 1 root root  17K Aug 17 20:45 disk-time-sde-day.png
-rw-rw-rw- 1 root root  13K Aug 17 20:45 disk-time-sde-hour.png
-rw-rw-rw- 1 root root  22K Aug 17 20:45 disk-time-sde-month.png
-rw-rw-rw- 1 root root  20K Aug 17 20:45 disk-time-sde-week.png
-rw-rw-rw- 1 root root  18K Aug 17 20:45 disk-time-sde-year.png
-rw-rw-rw- 1 root root  15K Aug 17 20:45 disk-time-sdf-day.png
-rw-rw-rw- 1 root root  13K Aug 17 20:45 disk-time-sdf-hour.png
-rw-rw-rw- 1 root root  18K Aug 17 20:45 disk-time-sdf-month.png
-rw-rw-rw- 1 root root  17K Aug 17 20:45 disk-time-sdf-week.png
-rw-rw-rw- 1 root root  17K Aug 17 20:45 disk-time-sdf-year.png
-rw-rw-rw- 1 root root  12K Aug  8 12:00 disk-time-sdg-day.png
-rw-rw-rw- 1 root root  12K Aug  8 12:00 disk-time-sdg-hour.png
-rw-rw-rw- 1 root root  13K Aug  8 12:00 disk-time-sdg-month.png
-rw-rw-rw- 1 root root  15K Aug  8 12:00 disk-time-sdg-week.png
-rw-rw-rw- 1 root root  14K Aug  8 12:00 disk-time-sdg-year.png
-rw-r--r-- 1 root root  20K Aug 17 20:45 interface-enp6s18-day.png
-rw-r--r-- 1 root root  22K Aug 17 20:45 interface-enp6s18-hour.png
-rw-r--r-- 1 root root  20K Aug 17 20:45 interface-enp6s18-month.png
-rw-r--r-- 1 root root  23K Aug 17 20:45 interface-enp6s18-week.png
-rw-r--r-- 1 root root  18K Aug 17 20:45 interface-enp6s18-year.png
-rw-r--r-- 1 root root  16K Aug 17 20:45 load-day.png
-rw-r--r-- 1 root root  19K Aug 17 20:45 load-hour.png
-rw-r--r-- 1 root root  21K Aug 17 20:45 load-month.png
-rw-r--r-- 1 root root  19K Aug 17 20:45 load-week.png
-rw-r--r-- 1 root root  19K Aug 17 20:45 load-year.png
-rw-r--r-- 1 root root  21K Aug 17 20:45 memory-day.png
-rw-r--r-- 1 root root  18K Aug 17 20:45 memory-hour.png
-rw-r--r-- 1 root root  26K Aug 17 20:45 memory-month.png
-rw-r--r-- 1 root root  24K Aug 17 20:45 memory-week.png
-rw-r--r-- 1 root root  18K Aug 17 20:45 memory-year.png
-rw-r--r-- 1 root root  15K Aug 17 20:45 uptime-day.png
-rw-r--r-- 1 root root  14K Aug 17 20:45 uptime-hour.png
-rw-r--r-- 1 root root  19K Aug 17 20:45 uptime-month.png
-rw-r--r-- 1 root root  16K Aug 17 20:45 uptime-week.png
-rw-r--r-- 1 root root  23K Aug 17 20:45 uptime-year.png
votdev commented 1 month ago

From what I have seen everything is ok, all files exist and I do not see any differences in the data received by the RPC to populate the graph pages.

Have you tried to clear the browser cache? Maybe the browser is caching parts of the old page and therefore does not display the expected graphs?

mikeage commented 1 month ago

Clearing cache or trying in incognito didn't help.

votdev commented 4 weeks ago

Can you please go to the tab with the graph missing icon, click RMB and chhose Copy image address or Copy graphic address (i have a localized Firefox, so i don't know the exact english menu naming). The result should look like

http://omv7box.local/download.php?service=Rrd&method=getGraph&params=%7B%22kind%22:%22df-srv-dev-disk-by-uuid-0edf9eda-235c-43e3-ac73-f651cf490d6a%22,%22period%22:%22hour%22%7D&time=1724181774
votdev commented 4 weeks ago

How is it possible that the mount point of /dev/disk/by-uuid/9900c9f3-6ac9-4791-a4a9-cb3f9c140f53 is /export/storage. Looks like a NFS bind mount IMO.

votdev commented 4 weeks ago

Please post the content of the file /etc/fstab and the command output of mount and finally the output of omv-confdbadm read --prettify conf.system.filesystem.mountpoint.

mikeage commented 4 weeks ago

Can you please go to the tab with the graph missing icon, click RMB and chhose Copy image address or Copy graphic address (i have a localized Firefox, so i don't know the exact english menu naming). The result should look like

http://omv7box.local/download.php?service=Rrd&method=getGraph&params=%7B%22kind%22:%22df-srv-dev-disk-by-uuid-0edf9eda-235c-43e3-ac73-f651cf490d6a%22,%22period%22:%22hour%22%7D&time=1724181774

http://openmediavault.lan/download.php?service=Rrd&method=getGraph&params=%7B%22kind%22:%22df-export-storage%22,%22period%22:%22hour%22%7D&time=1724204281 (for the first one) http://openmediavault.lan/download.php?service=Rrd&method=getGraph&params=%7B%22kind%22:%22df-export-storage%22,%22period%22:%22day%22%7D&time=1724204281 (second, etc). The only thing that changes the value of "period")

How is it possible that the mount point of /dev/disk/by-uuid/9900c9f3-6ac9-4791-a4a9-cb3f9c140f53 is /export/storage. Looks like a NFS bind mount IMO.

That's exactly what it is.

Please post the content of the file /etc/fstab and the command output of mount and finally the output of omv-confdbadm read --prettify conf.system.filesystem.mountpoint.

mikeage@openmediavault:~$ 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).
#
# systemd generates mount units based on this file, see systemd.mount(5).
# Please run 'systemctl daemon-reload' after making changes here.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda1 during installation
UUID=032a20cc-7082-4901-8ef0-0359fcd9ba30 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=e5dc421b-0e73-45fb-aa19-31ed8faec134 none            swap    sw              0       0
/dev/sr0        /media/cdrom0   udf,iso9660 user,noauto     0       0
# >>> [openmediavault]
/dev/disk/by-uuid/9900c9f3-6ac9-4791-a4a9-cb3f9c140f53      /srv/dev-disk-by-uuid-9900c9f3-6ac9-4791-a4a9-cb3f9c140f53  btrfs   defaults,nofail 0 2
/dev/disk/by-uuid/cdda3aec-f9c4-4298-a111-92d7faa35359      /srv/dev-disk-by-uuid-cdda3aec-f9c4-4298-a111-92d7faa35359  btrfs   defaults,nofail 0 2
/dev/disk/by-uuid/e39deefc-22f8-476a-b382-145241fb336d      /srv/dev-disk-by-uuid-e39deefc-22f8-476a-b382-145241fb336d  btrfs   defaults,nofail 0 2
/srv/dev-disk-by-uuid-9900c9f3-6ac9-4791-a4a9-cb3f9c140f53/     /export/storage none    bind,nofail 0 0
/srv/dev-disk-by-uuid-cdda3aec-f9c4-4298-a111-92d7faa35359/     /export/small   none    bind,nofail 0 0
/srv/dev-disk-by-uuid-cdda3aec-f9c4-4298-a111-92d7faa35359/frigate-media/       /export/frigate-media   none    bind,nofail 0 0
/srv/dev-disk-by-uuid-e39deefc-22f8-476a-b382-145241fb336d/     /export/portable    none    bind,nofail 0 0
# <<< [openmediavault]
mikeage@openmediavault:~$ mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=463176k,nr_inodes=115794,mode=755,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=98352k,mode=755,inode64)
/dev/sda1 on / type ext4 (rw,relatime,errors=remount-ro)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,inode64)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k,inode64)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=14637)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
ramfs on /run/credentials/systemd-sysusers.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
ramfs on /run/credentials/systemd-sysctl.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
ramfs on /run/credentials/systemd-tmpfiles-setup-dev.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
tmpfs on /tmp type tmpfs (rw,relatime,inode64)
ramfs on /run/credentials/systemd-tmpfiles-setup.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
/dev/sde on /srv/dev-disk-by-uuid-cdda3aec-f9c4-4298-a111-92d7faa35359 type btrfs (rw,relatime,space_cache=v2,subvolid=5,subvol=/)
/dev/sde on /export/frigate-media type btrfs (rw,relatime,space_cache=v2,subvolid=256,subvol=/frigate-media)
/dev/sde on /export/small type btrfs (rw,relatime,space_cache=v2,subvolid=5,subvol=/)
/dev/sdc on /export/storage type btrfs (rw,relatime,space_cache=v2,subvolid=5,subvol=/)
/dev/sdf on /srv/dev-disk-by-uuid-e39deefc-22f8-476a-b382-145241fb336d type btrfs (rw,relatime,space_cache=v2,subvolid=5,subvol=/)
/dev/sdc on /srv/dev-disk-by-uuid-9900c9f3-6ac9-4791-a4a9-cb3f9c140f53 type btrfs (rw,relatime,space_cache=v2,subvolid=5,subvol=/)
/dev/sdf on /export/portable type btrfs (rw,relatime,space_cache=v2,subvolid=5,subvol=/)

$ sudo omv-confdbadm read --prettify conf.system.filesystem.mountpoint:

[
    {
        "comment": "",
        "dir": "/srv/dev-disk-by-uuid-9900c9f3-6ac9-4791-a4a9-cb3f9c140f53",
        "freq": 0,
        "fsname": "/dev/disk/by-uuid/9900c9f3-6ac9-4791-a4a9-cb3f9c140f53",
        "hidden": false,
        "opts": "defaults,nofail",
        "passno": 2,
        "type": "btrfs",
        "usagewarnthreshold": 85,
        "uuid": "ddbd49fd-6eed-4953-9746-7e2b94374131"
    },
    {
        "comment": "",
        "dir": "/srv/dev-disk-by-uuid-cdda3aec-f9c4-4298-a111-92d7faa35359",
        "freq": 0,
        "fsname": "/dev/disk/by-uuid/cdda3aec-f9c4-4298-a111-92d7faa35359",
        "hidden": false,
        "opts": "defaults,nofail",
        "passno": 2,
        "type": "btrfs",
        "usagewarnthreshold": 85,
        "uuid": "cbe25690-6f98-4ac9-b73a-dece4a2a0445"
    },
    {
        "comment": "",
        "dir": "/export/storage",
        "freq": 0,
        "fsname": "/srv/dev-disk-by-uuid-9900c9f3-6ac9-4791-a4a9-cb3f9c140f53/",
        "hidden": false,
        "opts": "bind,nofail",
        "passno": 0,
        "type": "none",
        "usagewarnthreshold": 0,
        "uuid": "afb19f98-641a-40b0-9d0a-00c226de3f5d"
    },
    {
        "comment": "",
        "dir": "/export/small",
        "freq": 0,
        "fsname": "/srv/dev-disk-by-uuid-cdda3aec-f9c4-4298-a111-92d7faa35359/",
        "hidden": false,
        "opts": "bind,nofail",
        "passno": 0,
        "type": "none",
        "usagewarnthreshold": 0,
        "uuid": "db067943-3dda-4cee-89c1-339b24b022d2"
    },
    {
        "comment": "",
        "dir": "/export/frigate-media",
        "freq": 0,
        "fsname": "/srv/dev-disk-by-uuid-cdda3aec-f9c4-4298-a111-92d7faa35359/frigate-media/",
        "hidden": false,
        "opts": "bind,nofail",
        "passno": 0,
        "type": "none",
        "usagewarnthreshold": 0,
        "uuid": "b3ceecbf-222a-4ef6-98cf-7f55b6542dfd"
    },
    {
        "comment": "",
        "dir": "/srv/dev-disk-by-uuid-e39deefc-22f8-476a-b382-145241fb336d",
        "freq": 0,
        "fsname": "/dev/disk/by-uuid/e39deefc-22f8-476a-b382-145241fb336d",
        "hidden": false,
        "opts": "defaults,nofail",
        "passno": 2,
        "type": "btrfs",
        "usagewarnthreshold": 85,
        "uuid": "61a77763-4cea-49f3-89ff-b3a2b75ec5d2"
    },
    {
        "comment": "",
        "dir": "/export/portable",
        "freq": 0,
        "fsname": "/srv/dev-disk-by-uuid-e39deefc-22f8-476a-b382-145241fb336d/",
        "hidden": false,
        "opts": "bind,nofail",
        "passno": 0,
        "type": "none",
        "usagewarnthreshold": 0,
        "uuid": "922965fd-fe17-47e6-928b-9a23e840d360"
    }
]
mikeage commented 4 weeks ago

In case it's not immediately obvious, I did something slightly non-standard (but still supported) with my shares: instead of creating shared folders called "foo" at /srv/dev-disk-whatever/foo, I created the share named "foo" with a relative path of "/", so the entire drive is mounted for NFS.

Screenshot 2024-08-21 at 7 43 15

votdev commented 3 weeks ago

In case it's not immediately obvious, I did something slightly non-standard (but still supported) with my shares: instead of creating shared folders called "foo" at /srv/dev-disk-whatever/foo, I created the share named "foo" with a relative path of "/", so the entire drive is mounted for NFS.

I think that's the problem.

Can you please post the output of findmnt --noheadings --raw --nofsroot --output SOURCE,TARGET,UUID.

votdev commented 3 weeks ago

The problem is that the output will look like this then:

/dev/sda /srv/dev-disk-by-uuid-0edf9eda-235c-43e3-ac73-f651cf490d6a 0edf9eda-235c-43e3-ac73-f651cf490d6a
/dev/sda /export/nfs 0edf9eda-235c-43e3-ac73-f651cf490d6a

Now it depends on the order. I assume in your case the /export/xxx entry is the first in the list and that's why this mount point is chosen. First come, first served.

mikeage commented 3 weeks ago

Bingo!

$ findmnt --noheadings --raw --nofsroot --output SOURCE,TARGET,UUID
sysfs /sys
proc /proc
udev /dev
devpts /dev/pts
tmpfs /run
/dev/sda1 / 032a20cc-7082-4901-8ef0-0359fcd9ba30
securityfs /sys/kernel/security
tmpfs /dev/shm
tmpfs /run/lock
cgroup2 /sys/fs/cgroup
pstore /sys/fs/pstore
bpf /sys/fs/bpf
systemd-1 /proc/sys/fs/binfmt_misc
hugetlbfs /dev/hugepages
mqueue /dev/mqueue
debugfs /sys/kernel/debug
tracefs /sys/kernel/tracing
fusectl /sys/fs/fuse/connections
configfs /sys/kernel/config
ramfs /run/credentials/systemd-sysusers.service
ramfs /run/credentials/systemd-sysctl.service
ramfs /run/credentials/systemd-tmpfiles-setup-dev.service
nfsd /proc/fs/nfsd
tmpfs /tmp
ramfs /run/credentials/systemd-tmpfiles-setup.service
binfmt_misc /proc/sys/fs/binfmt_misc
sunrpc /run/rpc_pipefs
/dev/sde /srv/dev-disk-by-uuid-cdda3aec-f9c4-4298-a111-92d7faa35359 cdda3aec-f9c4-4298-a111-92d7faa35359
/dev/sde /export/frigate-media cdda3aec-f9c4-4298-a111-92d7faa35359
/dev/sde /export/small cdda3aec-f9c4-4298-a111-92d7faa35359
/dev/sdc /export/storage 9900c9f3-6ac9-4791-a4a9-cb3f9c140f53
/dev/sdf /srv/dev-disk-by-uuid-e39deefc-22f8-476a-b382-145241fb336d e39deefc-22f8-476a-b382-145241fb336d
/dev/sdc /srv/dev-disk-by-uuid-9900c9f3-6ac9-4791-a4a9-cb3f9c140f53 9900c9f3-6ac9-4791-a4a9-cb3f9c140f53
/dev/sdf /export/portable e39deefc-22f8-476a-b382-145241fb336d

For this filesystem, it had:

/dev/sdc /export/storage 9900c9f3-6ac9-4791-a4a9-cb3f9c140f53
/dev/sdc /srv/dev-disk-by-uuid-9900c9f3-6ac9-4791-a4a9-cb3f9c140f53 9900c9f3-6ac9-4791-a4a9-cb3f9c140f53
votdev commented 3 weeks ago

As an alternative, the command line findmnt --noheadings --raw --output SOURCE,TARGET,UUID --fstab --evaluate could be used, in which the bind-mount has no file system UUID, which could be used for filtering. The disadvantage is that the original functionality of the implementation to determine the mount point for each file system is lost. With --fstab only those file systems would be considered which are in /etc/fstab. Therefore I think this solution is no longer necessary.

# findmnt --noheadings --raw --output SOURCE,TARGET,UUID --fstab --evaluate
/dev/vda1 / 386c28c2-ad19-4bbb-8323-fc96866454db
/dev/disk/by-uuid/0edf9eda-235c-43e3-ac73-f651cf490d6a /srv/dev-disk-by-uuid-0edf9eda-235c-43e3-ac73-f651cf490d6a 0edf9eda-235c-43e3-ac73-f651cf490d6a
/srv/dev-disk-by-uuid-0edf9eda-235c-43e3-ac73-f651cf490d6a/ /export/nfs 
votdev commented 3 weeks ago

It seems findmnt make the output arbitrary and there is no possibility to modify the output by an option.

votdev commented 3 weeks ago

I don't think the problem can be solved from this direction. Maybe I should have a look at how the RPC is implemented that is used to create the data for the graph URL. As far as I have seen, an RPC is called that iterates over the configured database objects of the mount points. However, the database objects contain the mount point; perhaps this should be returned instead of the dynamically determined one.

mikeage commented 3 weeks ago

Thanks!