Hi. Ever since I've upgraded from omv5 to omv6 the UI page for the file systems is not working correctly for me. It always shows it can't find my BTRFS RAID 1 file system (that I have created manually long time ago). Everything works ok underneath (file shares, smb, nfs etc) based on that FS, but its just UI doesn't pick it up properly. Is there a way to fix it? If I try to edit the entry it does black screen with "Software Failure...". Thanks.
filesystems not displayed correctly in the UI
-
- OMV 6.x
- someuser08
-
-
- try to clear your browser cache or force reload (Ctrl+Shift+R)
- can you add the filesystem by using the + sign?
- what is the output of omv-showkey mntent
-
1. Tried that - no difference
2. Yes, but on the create screen there are no devices selectable.
3. Here it is (the fist mntent entry, if I look into xml file, is actually commented out):
omv-showkey mntent
<mntent>
<uuid>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</uuid>
<fsname>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx|xxxx-xxxx|/dev/xxx</fsname>
<dir>/xxx/yyy/zzz</dir>
<type>none|ext2|ext3|ext4|xfs|jfs|iso9660|udf|...</type>
<opts></opts>
<freq>0</freq>
<passno>0|1|2</passno>
<hidden>0|1</hidden>
</mntent>
<mntent>
<uuid>f1690940-3010-47d4-a661-4ebb1e1acb49</uuid>
<fsname>/dev/disk/by-id/ata-WDC_WD60EJRX-89MP9Y1_WD-WX31D49NH3H2</fsname>
<dir>/srv/dev-disk-by-id-ata-WDC_WD60EJRX-89MP9Y1_WD-WX31D49NH3H2</dir>
<type>btrfs</type>
<opts>defaults,nofail</opts>
<freq>0</freq>
<passno>2</passno>
<hidden>0</hidden>
<comment></comment>
<usagewarnthreshold>85</usagewarnthreshold>
</mntent>
<mntent>
<uuid>46216387-9aaf-4080-9351-da90a13bf66e</uuid>
<fsname>/srv/dev-disk-by-id-ata-WDC_WD60EJRX-89MP9Y1_WD-WX31D49NH3H2/media/</fsname>
<dir>/export/media</dir>
<type>none</type>
<opts>bind,nofail</opts>
<freq>0</freq>
<passno>0</passno>
<hidden>0</hidden>
<usagewarnthreshold>0</usagewarnthreshold>
<comment></comment>
</mntent>
-
-
Also sometime after restart it goes back to green, but after another restart is can't find the FS again...
-
It always shows it can't find my BTRFS RAID 1 file system (that I have created manually long time ago).
Ok, I too have a RAID1 created on OMV5 and am curious about what is going on with your system.
I haven't had time to do the update to OMV6 yet so, don't know if this will happen to me.
As to try to help:
How did you created the RAID1 on OMV5?
What is the output of cat /etc/fstab?
As for comparison (this is still OMV5)
Code
Alles anzeigenpi@xxxxxxxx:~ $ sudo omv-showkey mntent <mntent> <uuid>b7fd9ff6-1397-4de0-9e9f-3d44fd615b12</uuid> <fsname>/dev/disk/by-label/wolf1</fsname> <dir>/srv/dev-disk-by-label-wolf1</dir> <type>btrfs</type> <opts>defaults,nofail</opts> <freq>0</freq> <passno>0</passno> <hidden>0</hidden> </mntent>
As you can see, it will only show 1 drive since the RAID1 on BTRFS was made on CLI (AFAIK, OMV5 can't do it on GUI).
This means that your OMV is seeing the proper drive on the MNTENT:
Code
Alles anzeigen<mntent> <uuid>f1690940-3010-47d4-a661-4ebb1e1acb49</uuid> <fsname>/dev/disk/by-id/ata-WDC_WD60EJRX-89MP9Y1_WD-WX31D49NH3H2</fsname> <dir>/srv/dev-disk-by-id-ata-WDC_WD60EJRX-89MP9Y1_WD-WX31D49NH3H2</dir> <type>btrfs</type> <opts>defaults,nofail</opts> <freq>0</freq> <passno>2</passno> <hidden>0</hidden> <comment></comment> <usagewarnthreshold>85</usagewarnthreshold> </mntent>
-
Also just FYI, this is my fstab (your's should look similar)
Codepi@xxxxxxxx:~ $ cat /etc/fstab proc /proc proc defaults 0 0 PARTUUID=8f4dbd00-01 /boot vfat defaults 0 2 LABEL=sd_btrfs / btrfs noatime,nodiratime,defaults,ssd,subvol=@root,compress=zstd 0 0 # >>> [openmediavault] /dev/disk/by-label/wolf1 /srv/dev-disk-by-label-wolf1 btrfs defaults,nofail 0 0 /dev/disk/by-label/sd_configs /srv/dev-disk-by-label-sd_configs btrfs defaults,nofail,noatime,ssd 0 0 # <<< [openmediavault]
sudo btrfs filesystem show:
Code
Alles anzeigenpi@xxxxx:~ $ sudo btrfs filesystem show Label: 'sd_btrfs' uuid: cccaba2e-712a-49ef-957f-812cfceb46e2 Total devices 1 FS bytes used 6.02GiB devid 1 size 16.00GiB used 7.02GiB path /dev/sdc3 Label: 'sd_configs' uuid: 40454a94-3e47-4ae4-a70c-e547786f237a Total devices 1 FS bytes used 9.42GiB devid 1 size 79.99GiB used 11.96GiB path /dev/sdc4 Label: 'wolf1' uuid: 869d4e6e-972d-46e7-afc5-afcdb74b4809 Total devices 2 FS bytes used 235.71GiB devid 1 size 3.64TiB used 255.03GiB path /dev/sda1 devid 2 size 3.64TiB used 255.03GiB path /dev/sdb1
-
-
Yes, I did create raid from CLI on omv5
My fstab:
Code
Alles anzeigen# /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). # # <file system> <mount point> <type> <options> <dump> <pass> # / was on /dev/sda2 during installation UUID=0f8fad41-c88e-4faf-b0e0-da030b2be549 / ext4 noatime,nodiratime,errors=remount-ro 0 1 # /boot/efi was on /dev/sda1 during installation UUID=DCBD-21F7 /boot/efi vfat umask=0077 0 1 # swap was on /dev/sda3 during installation UUID=525d882f-0954-42bd-bbf4-9d62da255aff none swap sw 0 0 # >>> [openmediavault] /dev/disk/by-id/ata-WDC_WD60EJRX-89MP9Y1_WD-WX31D49NH3H2 /srv/dev-disk-by-id-ata-WDC_WD60EJRX-89MP9Y1_WD-WX31D49NH3H2 btrfs defaults,nofail 0 2 /srv/dev-disk-by-id-ata-WDC_WD60EJRX-89MP9Y1_WD-WX31D49NH3H2/media/ /export/media none bind,nofail 0 0 # <<< [openmediavault]
Out of curiosity I have removed sample commented out mntent section from XML and did a reboot and now see it picked up FS ok:
-
Out of curiosity I have removed sample commented out mntent section from XML and did a reboot and now see it picked up FS ok:
That sample belongs there. It's the base sample of all mntents on the config.xml
The fact that you removed it and it is working now seems a real damn luck.
But if it's working, that's all it matters,
-
It was just a coincidence. As I said - it happened before, but after a reboot a few days later its back to not finding the FS.
-
-
It was just a coincidence. As I said - it happened before, but after a reboot a few days later its back to not finding the FS.
Can you try to reboot and, if the FS isn't shown on the GUI, run mount -a on the CLI to see if shows again?
Maybe the drives take more time to become available (sometimes) and that gives issues with the availability?!?
On a side note, when your FS is missing on the GUI, you say everything is still available (NFS, SMB, file shares) but, is it possible that one of the drives is missing on the RAID?
As if it was "mounted degraded"?
I think you can check this with CLI although I don't know if it still shows even when "degraded")
sudo blkid --match-token TYPE=btrfs
In my case, it shows my 2 drives (sda1 && sdb1):
Codepi@xxxxxxx:~ $ blkid --match-token TYPE=btrfs /dev/sda1: LABEL="wolf1" UUID="869d4e6e-972d-46e7-afc5-afcdb74b4809" UUID_SUB="41d8a817-71b8-4527-9545-757a7ab6a9a2" TYPE="btrfs" PARTUUID="53e6c1a0-2536-4c8a-a8d5-7ab1cce430b4" /dev/sdb1: LABEL="wolf1" UUID="869d4e6e-972d-46e7-afc5-afcdb74b4809" UUID_SUB="4fdb2d29-ba51-421d-8339-23d8e37401f7" TYPE="btrfs" PARTUUID="3e960555-2c65-405a-8cd0-ffbeedb642b4" /
-
Ok, time as come to do the upgrade from OMV5 to OMV6 and hit an error at the begining:
CodeErr:14 http://deb.debian.org/debian-security bullseye/updates Release 404 Not Found [IP: 199.232.182.132 80] Hit:6 https://openmediavault.github.io/packages shaitan InRelease Reading package lists... Done E: The repository 'http://deb.debian.org/debian-security bullseye/updates Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.
Easy to fix but it's better to report as I go, so will create a new thread to keep this on track.
Will post the link once it's created.
[EDIT]
Here is my testemony on the upgrade from 5 to 6:
RPi4 OMV5 to OMV6 omv-release-upgrade on a BTRFS root filesystem - Updates/Upgrades - openmediavault
[/EDIT]
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!