Error "Dependency failed" after power loss

  • Hi,
    After a power outage, my OMV lost power due no UPS (it has now). Now every time system boots, it shows error:
    "Timed out waiting for device dev-disk-by\x2dlabel-xxxxxx.device"
    "Dependency failed for File System on..." (it's the dame disk)
    "Dependency failed for /srv/dev-disk-ba-label-xxxxxx" (same disk again)


    Is there anyway I can fix this without reinstalling?


    Thanks

  • Anyone? Is it only me or it's never happened to you? Is this a Debian error or OMV error? This is the fifth reinstallation. I'm getting tired. I nean I got the UPS now but what do we do if in some circumstances, a UPS isn't available at the moment?

    • Offizieller Beitrag

    What disk is it that is giving the error? One of the storage drives or your OS drives?


    Are you sure the disk wasn't somehow damaged or corrupted? What filesystem?


    I have no idea on this one, never saw an error like that and I've had multiple power drops w/o a UPS (including two yesterday due to the storms).


    Usually I only know if I've had a power drop (assuming I wasn't here or was asleep) because the machine is off and it won't wake up with WOL, I have to power on manually... other than that, all else is normal once I'm booted up.

  • It is a data disk. I can still boot into OMV even though the error is still there. I'm using OMV as VM under vSphere. Could that be the problem here? Reinstall OMV make the error go away and data is still intact.
    Thanks for the response. Now I know this probably isn't a common one.

  • Did you ever get this resolved? I'm seeing the same error when I had to replace my OMV OS Drive with a new one.

    No, I didn't. I had to do a reinstall and make sure my UPS is working. Filesystem is ext4 btw. Are you using any kind of Virtualization?

  • No, I just swapped my old OS drive (which was failing) for a new drive in which I cloned the old sector by sector.

    I'm not omv or linux guru but you can try fsck:
    https://bbs.archlinux.org/viewtopic.php?id=223633
    Any omv expert wants to chime in?

    I tried fsck but it did not work properly. It gave me errors. I think your drive has superblock and descriptor errors.


    So this what I did and it worked (Idk if your data is lost afterwards):

    Code
    umount /dev/sda1
    sudo mkfs.ext4 -S /dev/sda1 # press always yes
    fsck /dev/sda1

    Source: https://askubuntu.com/a/381759


    Reboot the system and the mount went well!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!