MauriceNino / dashdot

A simple, modern server dashboard, primarily used by smaller private servers
https://getdashdot.com/
MIT License
2.53k stars 95 forks source link

[Bug] Raid1 shown as "No mount found" #1054

Open ItzMiracleOwO opened 4 months ago

ItzMiracleOwO commented 4 months ago

Description of the bug

My raid1 array is not shown in the disk widget, instead one of the disk in the raid group is shown as "No mount found"

image

df -h:

Filesystem               Size  Used Avail Use% Mounted on
/dev/mapper/fedora-root   69G   32G   34G  50% /
devtmpfs                 4.0M     0  4.0M   0% /dev
tmpfs                     32G     0   32G   0% /dev/shm
tmpfs                    4.0M     0  4.0M   0% /sys/fs/cgroup
efivarfs                 128K   57K   67K  46% /sys/firmware/efi/efivars
tmpfs                     13G  3.1M   13G   1% /run
tmpfs                     32G  2.2M   32G   1% /tmp
/dev/nvme0n1p2           974M  354M  553M  40% /boot
/dev/nvme1n1p1           938G  580G  311G  66% /mnt/nvme
/dev/nvme0n1p1           599M   20M  580M   4% /boot/efi
/dev/mapper/fedora-home  387G  293G   75G  80% /home
/dev/md127               1.8T  581G  1.3T  32% /mnt/raid1    # <--------- My raid1
tmpfs                    6.3G  140K  6.3G   1% /run/user/1000

How to reproduce

  1. Create a raid group
  2. Run Dashdot via docker
  3. See "No mount found" for on of the disk in raid group

Relevant log output

No response

Info output of dashdot cli

INFO
=========
Yarn: 3.7.0
Node: v20.11.0
Dash: 5.8.3

Cwd: /app
Hash: f7ac2728b89a6c75502c9c736c46a94ff386889b
Platform: Linux c9ee8f2687f1 6.8.4-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Apr  4 20:45:21 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Docker image: nvidia
In Docker: true
In Docker (env): true
In Podman: false

What browsers are you seeing the problem on?

Chrome

Where is your instance running?

Linux Server

Additional context

The server is running on Fedora linux 39