Impossible to mount file system : Structure needs cleaning

  • Hello,


    I put all my disks on a other place.


    And when I start now, the raid 5 is ok, but I have this error message.




    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; mount -v --source '/dev/disk/by-id/md-name-openmediavault:raid9disks' 2>&1' with exit code '32': mount: mount /dev/md0 on /srv/dev-disk-by-id-md-name-openmediavault-raid9disks failed: Structure needs cleaning


    And the details are:


    Erreur #0:OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; mount -v --source '/dev/disk/by-id/md-name-openmediavault:raid9disks' 2>&1' with exit code '32': mount: mount /dev/md0 on /srv/dev-disk-by-id-md-name-openmediavault-raid9disks failed: Structure needs cleaning in /usr/share/php/openmediavault/system/process.inc:182Stack trace:

    #0 /usr/share/php/openmediavault/system/filesystem/filesystem.inc(720): OMV\System\Process->execute()

    #1 /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc(912): OMV\System\Filesystem\Filesystem->mount()

    #2 [internal function]: 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(536): OMV\Rpc\Rpc::call('FileSystemMgmt', 'mount', Array, Array, 1)

    #6 {main}



    So I read a lot of doc, and apparently I must do




    Code
    sudo fsck /dev/<unmounted_partition>


    But on which partition...?





    If someone have a idea to fix this problem and to remount the file system...it'll be great.


    Thank you.


    Regard.

    • Offizieller Beitrag

    Looks like:


    fsck.ext4 -f /dev/disk/by-id/md-name-openmediavault:raid9disks
    mount -a

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

  • This post is solved.


    More precisely:
    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; mount -v --source '/dev/disk/by-id/md-name-openmediavault:raid9disks' 2>&1' with exit code '32': mount: mount /dev/md0 on /srv/dev-disk-by-id-md-name-openmediavault-raid9disks failed: Structure needs cleaning



    You must do this:
    # fsck /dev/md0


    And, if needed, fix all errors. After that you can mount the file system. :thumbup:



    If not try this:
    # fsck.ext4 -f /dev/disk/by-id/md-name-openmediavault:raid9disks
    # mount -a



    This solution is tested and working for us. :thumbup: No data were corrupted.

Jetzt mitmachen!

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