BTRFS mount error after power failure

  • Hi there!


    Recently due to a power failure, my self-built NAS was shut down by force and when I tried to boot it up today, I could not access my RAID anymore. First of all some tech specs:


    • OMV 5.6.26-1 Usul
    • btrfs filesystem
    • 4 drives in a RAID which now fails to be mounted


    When trying to mount the filesystem, I'm getting this error:


    Fehler #0:
    OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; mount -v --source '/dev/disk/by-id/md-name-myNAS:myNAS' 2>&1' with exit code '32': mount: /srv/dev-disk-by-label-data: wrong fs type, bad option, bad superblock on /dev/md127, missing codepage or helper program, or other error. in /usr/share/php/openmediavault/system/process.inc:196
    Stack trace:
    #0 /usr/share/php/openmediavault/system/filesystem/filesystem.inc(742): OMV\System\Process->execute()
    #1 /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc(942): OMV\System\Filesystem\Filesystem->mount()
    #2 [internal function]: Engined\Rpc\OMVRpcServiceFileSystemMgmt->mount(Array, Array)
    #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
    #4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('mount', Array, Array)
    #5 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('FileSystemMgmt', 'mount', Array, Array, 1)
    #6 {main}


    Any suggestions how I could save the filesystem and get back access to the files? I'll do my best to perform any step needed, but I'm not very familiar with the CLI, so please provide the needed commands and arguments if possible.


    Thank you for any help ^^

    • Official Post

    This could be out my depth as I know very little about the BTRFS file system, but when you created the array did you use the GUI, create the array under Raid Management then deploy the BTRFS file system.

    Raid is not a backup! Would you go skydiving without a parachute?


    OMV 7x amd64 running on an HP N54L Microserver

Participate now!

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