Cant umount degraded raid

  • Hello,


    again i got the same problem like in this already solved thread. last months it happend from time to time, but i could solve it by doing the discribed steps again.
    Clean, degraded Raid (Mirror)


    but today it doesnt work, because i cant umount the raid. i get this error-message:

    Code
    root@HomeServer:~# mdadm --stop /dev/md127
    mdadm: Cannot get exclusive access to /dev/md127:Perhaps a running process, mounted filesystem or active volume group?

    of course i tried to umount the raid before without getting a error-message - but the raid is still mounted.


    even these commands dont bring up a result:



    Code
    root@HomeServer:~# lsof /dev/md127
    root@HomeServer:~# fuser -m /dev/md127

    can you help me to get the raid unmounted?


    thanks, alex!

    • Official Post

    Since you are using OMV4, if you have a shared folder on the array, that means you have a bind mount at /sharedfolders/SHARE_NAME. You need to unmount that bind mount first. Then you should be able to unmount the filesystem.

    omv 7.5.0-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.15 | compose 7.3.2 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Participate now!

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