Filesystem failed on a disk from SnapRaid array / can't reach Filesystem to prepare drive to fix it

  • Hello everyone,

    I got an email notification about a missing mountpoint. The drive is a data-member of an SnapRaid array (8 data disks, 2 parity disks). All the data disks from that array are also in mergerfs. Since the mount of the mergerfs fails with "Couldn't extract an UUID from the provided path '/srv/ec947406-ea1a-4fc1-a176-628af4dca90c'." I am unable to get into the "filesystem" configuration and cannot create an new disk for the array to fix the array.


    The disk seems to be OK. Only the filesystem is gone and the GPT-partition tabe too. I upgraded to the latest OMV a week ago. Can't say if that is somehow related. I startet with OMV5 and upgraded to OMV6 some time ago. Had no issues with any of my disks. SMART is not showing anything suspicious. That's just FYI. I want to restore the failed drive, but I can't reach filesystem configuration, due to the mentioned error.

  • macom

    Approved the thread.
  • Try removing the failed disk from the mergerfs pool. Then restart the pool or reboot.

    --
    Google is your friend and Bob's your uncle!


    A backup strategy is worthless unless you have a verified to work by testing restore strategy.


    OMV AMD64 7.x on headless Chenbro NR12000 1U Intel Xeon CPU E3-1230 V2 @ 3.30GHz 32GB ECC RAM.


  • Hello,

    thanks, I tried it, but got another error about the mountpoint still not being able to be mounted. The changes are not being applied. I still see the yellow banner above.

    This is the output from the ls command from the shell:

    Code
    drwxr-xr-x 2 root root 4096  3. Mai 18:28  sockets.target.wants
    -rw-r--r-- 1 root root  874  9. Mai 17:04 'srv-ec947406\x2dea1a\x2d4fc1\x2da176\x2d628af4dca90c.mount'
    lrwxrwxrwx 1 root root   31 17. Apr 2020   sshd.service -> /lib/systemd/system/ssh.service

    The name of that file seems rather strange. The error message says, it can't find that file.

    The mountpoint under /srv looks like this:


    This seems at first glance like wrong coding. The dashes - are replaced with \x2d and later the backslash \ is gone (see line 86 in the first code-block).

    Edited 5 times, last by bermuda: Additional info added. ().

  • Hello everyone,

    I went on and deleted my shares from mergerfs and after that I also deleted the mergerfs-pool which gave me back the possibility to use filesystem configuration again. So I went on and created a new disk. But the OMV7 snapraid plugin docs seem outdated. There is no fix menu entry in the tools-menu, instead there are fix by drive and fix missing. I was unable to find something about which one to use.


    Is someone in here able to tell which one it should be?

  • Thanks. My menu is different. I'm currently running an audit (also taken from tools menu) and have to wait for it to end. Then I will check again why my menu looks different. I was also under "Services > SnapRAID > Drives". I could see all the drives being listed there with their name and check-marks for data and parity.

    • New
    • Official Post

    My menu is different.

    The only explanation I can come up with is, perhaps, your install needs to be updated.

    "OR"

    You've upgraded from OMV6 to OMV7 without running the 6 to 7 upgrade script. (The script fixes a few things.)

  • Check your version of openmediavault-snapraid plugin. Current is 7.0.13 and has fix under the Arrays menu.

    --
    Google is your friend and Bob's your uncle!


    A backup strategy is worthless unless you have a verified to work by testing restore strategy.


    OMV AMD64 7.x on headless Chenbro NR12000 1U Intel Xeon CPU E3-1230 V2 @ 3.30GHz 32GB ECC RAM.


  • Thanks,

    I have chosen the fix by drive from the Drives menu. The process is running and the data is being restored on the drive.

    Is there a way to get the old "dev-disk-by-label" link? The new created drive has the now default uuid format.

    That is great for machines but not so good for humans. As I see it, I should create that manually, but will it be usable in/by the UI?

    • New
    • Official Post

    Do you have amd64 architecture? My screenshot was from an R-PI4's SnapRAID array. That may be the difference. "Arrays" would not be possible or, at least, highly unlikely on an SBC.

    Still, I don't see multiple fix commands in your menu. Fix, within an individual array, would work the same way.

  • The only explanation I can come up with is, perhaps, your install needs to be updated.

    "OR"

    You've upgraded from OMV6 to OMV7 without running the 6 to 7 upgrade script. (The script fixes a few things.)

    Yes, I did the upgrade as described in this forum. The script wasn't mentioned. There was only a fix which should be used if there were errors during the upgrade process. Mine went with no errors. I only had to manually install openmediavault-md package, as I really do use a software raid level 1 for my system disk.

  • Do you have amd64 architecture? My screenshot was from an R-PI4's SnapRAID array. That may be the difference. "Arrays" would not be possible or, at least, highly unlikely on an SBC.

    Still, I don't see multiple fix commands in your menu. Fix, within an individual array, would work the same way.

    Yes, I run my server on regular intel hardware. It's way easier to add/change hardware or replace something when it breaks. Back then when I considered to switch to OMV I also designed my system purely on an PI4. But in the end I leaned towards intel as the performance to cost ratio in my opinion was in favor to that platform. Certain Intel hardware has also good power saving capabilities if run on minimalist hardware. I use an i7-7700T. It barley goes above room temperature with 2 big fans slowly blowing air out of the case. But it has enough power to run ollama AI-models on iGPU if I need it. It's a nice addition to nextcloud-applications and other stuff that has an AI-interface.

  • Is there a way to get the old "dev-disk-by-label" link? The new created drive has the now default uuid format.

    That is great for machines but not so good for humans. As I see it, I should create that manually, but will it be usable in/by the UI?

    It is not possible to revert OMV to use dev-disk-by-label for any newly added drives. You can create a symlink to the new UUID mountpoint and the symlink can be whatever you want it to be.

    --
    Google is your friend and Bob's your uncle!


    A backup strategy is worthless unless you have a verified to work by testing restore strategy.


    OMV AMD64 7.x on headless Chenbro NR12000 1U Intel Xeon CPU E3-1230 V2 @ 3.30GHz 32GB ECC RAM.


  • It is not possible to revert OMV to use dev-disk-by-label for any newly added drives. You can create a symlink to the new UUID mountpoint and the symlink can be whatever you want it to be.

    Hello,

    big thanks again. I will manage that. I still haven't figured out what whiped my disk. But thanks to snapraid I was able to recover from that :)


    UPDATE:
    I was able to switch back to dev-disk-by-label, so it is in fact doable, but I know of course that this is not seen as the right procedure since the switch to uuid. So, I won't make it public, but I'm glad it still works and it wasn't that much of a hassle anyway.

    Mergerfs-pool now also looks better after I recreated it and it is not referenced by uuid anymore, so I don't have any issues with coding, like the one in post #3.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!