Can't mount filesystem

    • OMV 1.0
    • Resolved

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Can't mount filesystem

      I'm using OMV 1.0.26. I've just wiped my /dev/sdb and recreate the EXT4 file system. But I can't mount it with these error message:

      Source Code

      1. Error
      2. #6000:
      3. exception 'OMVException' with message 'Failed to mount
      4. 'cfc7599f-8220-4674-b477-d935ff4d22fb': mount: can't find
      5. /media/cfc7599f-8220-4674-b477-d935ff4d22fb in /etc/fstab or /etc/mtab'
      6. in /usr/share/openmediavault/engined/module/fstab.inc:90
      7. Stack trace:
      8. #0 /usr/share/openmediavault/engined/rpc/config.inc(206):
      9. OMVModuleFsTab->startService()
      10. #1 [internal function]: OMVRpcServiceConfig->applyChanges(Array,
      11. Array)
      12. #2 /usr/share/php/openmediavault/rpcservice.inc(125):
      13. call_user_func_array(Array, Array)
      14. #3 /usr/share/php/openmediavault/rpcservice.inc(158):
      15. OMVRpcServiceAbstract->callMethod('applyChanges', Array, Array)
      16. #4 /usr/share/openmediavault/engined/rpc/config.inc(224):
      17. OMVRpcServiceAbstract->callMethodBg('applyChanges', Array, Array)
      18. #5 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array,
      19. Array)
      20. #6 /usr/share/php/openmediavault/rpcservice.inc(125):
      21. call_user_func_array(Array, Array)
      22. #7 /usr/share/php/openmediavault/rpc.inc(79):
      23. OMVRpcServiceAbstract->callMethod('applyChangesBg', Array, Array)
      24. #8 /usr/sbin/omv-engined(501): OMVRpc::exec('Config', 'applyChangesBg',
      25. Array, Array, 1)
      26. #9 {main}
      Display All
      Images
      • OMV-01.png

        16.97 kB, 552×156, viewed 377 times
      • OMV-02.png

        15.42 kB, 801×132, viewed 356 times
      • OMV-03.png

        9.68 kB, 500×161, viewed 394 times
      • OMV-04.png

        17.84 kB, 803×159, viewed 376 times

      The post was edited 1 time, last by Solo0815 ().

    • install omv-extras and upload your logfile. Then we can have a look.

      other (possible) solution:
      If you are familiar with the CLI on linux, you can try this:
      File Systems not mounting in OMV1.0 GUI
      the section for your drive with UUID cfc7599f-8220-4674-b477-d935ff4d22fb of course ;)
      "Glowing days. Don't cry because they are over. Smile because they happened." - Confucius

      Server: 1x 32GB SSD (system) - 5x 2TB Data - 1x 2TB Snapraid-Parity - latest OMV 1.x
      No Support through PM
      Tutorials --- Howto install OMV-Extras --- Upgrade/Update-Problems --- If autoshutdown doesn' -work
    • Ok. I did manually change in config.xml, run "omv-mkconf fstab" and "mount -a" , and then reboot.
      New /dev/sdb1 is mounted, but I can't add shared folders in it. ?(

      Note: the UUID was changed because I wipe 2-3 times after the first post.
      Images
      • OMV-05.png

        42.6 kB, 1,011×424, viewed 417 times
      • OMV-06.png

        14.93 kB, 501×295, viewed 391 times
    • make a backup of config.xml and remove the section for your drive with fsname 7f83e... from mntent to /mntent
      run the commands again, reboot and try again to mount.
      "Glowing days. Don't cry because they are over. Smile because they happened." - Confucius

      Server: 1x 32GB SSD (system) - 5x 2TB Data - 1x 2TB Snapraid-Parity - latest OMV 1.x
      No Support through PM
      Tutorials --- Howto install OMV-Extras --- Upgrade/Update-Problems --- If autoshutdown doesn' -work
    • My current /etc/openmediavault/config.xml. There is no mntent with fsname 7f83e3cf.

      Source Code

      1. <fstab>
      2. <!--
      3. <mntent>
      4. <uuid>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</uuid>
      5. <fsname>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx|xxxx-xxxx|/dev/xxx</fsname>
      6. <dir>/xxx/yyy/zzz</dir>
      7. <type>ext2|ext3|ext4|xfs|jfs|iso9660|udf</type>
      8. <opts></opts>
      9. <freq>0</freq>
      10. <passno>0|1|2</passno>
      11. </mntent>
      12. -->
      13. <mntent>
      14. <uuid>28aa9afc-35bc-4a74-9af2-7357c4cea87f</uuid>
      15. <fsname>8e93d52d-8ee8-48d3-9baf-6d011cffd052</fsname>
      16. <dir>/media/8e93d52d-8ee8-48d3-9baf-6d011cffd052</dir>
      17. <type>ext4</type>
      18. <opts>defaults,nofail,acl,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0</opts>
      19. <freq>0</freq>
      20. <passno>2</passno>
      21. <hidden>0</hidden>
      22. </mntent>
      23. <mntent>
      24. <uuid>8176c3dc-f77e-4481-a26c-650c97894c8c</uuid>
      25. <fsname>8e0e26fd-7da6-45b5-8d75-ce724ac0c0c0</fsname>
      26. <dir>/media/8e0e26fd-7da6-45b5-8d75-ce724ac0c0c0</dir>
      27. <type>ext4</type>
      28. <opts>defaults,nofail,acl,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0</opts>
      29. <freq>0</freq>
      30. <passno>2</passno>
      31. <hidden>0</hidden>
      32. </mntent>
      33. </fstab>
      Display All


      My current /etc/fstab:

      Source Code

      1. # /etc/fstab: static file system information.
      2. #
      3. # Use 'blkid' to print the universally unique identifier for a
      4. # device; this may be used with UUID= as a more robust way to name devices
      5. # that works even if disks are added and removed. See fstab(5).
      6. #
      7. # <file system> <mount point> <type> <options> <dump> <pass>
      8. # / was on /dev/sda1 during installation
      9. UUID=47d21830-8c30-4193-a4cb-cbe9bb6f3d13 / ext4 errors=remount-ro 0 1
      10. # swap was on /dev/sda5 during installation
      11. UUID=27c7f3c6-c34e-4522-ba91-15b26790c504 none swap sw 0 0
      12. /dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
      13. /dev/sda1 /media/usb0 auto rw,user,noauto 0 0
      14. /dev/sda2 /media/usb1 auto rw,user,noauto 0 0
      15. /dev/sda5 /media/usb2 auto rw,user,noauto 0 0
      16. tmpfs /tmp tmpfs defaults 0 0
      17. # >>> [openmediavault]
      18. UUID=8e93d52d-8ee8-48d3-9baf-6d011cffd052 /media/8e93d52d-8ee8-48d3-9baf-6d011cffd052 ext4 defaults,nofail,acl,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 0 2
      19. UUID=8e0e26fd-7da6-45b5-8d75-ce724ac0c0c0 /media/8e0e26fd-7da6-45b5-8d75-ce724ac0c0c0 ext4 defaults,nofail,acl,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 0 2
      20. UUID=7f83e3cf-366d-4f99-a136-7c6b3559a54f /media/7f83e3cf-366d-4f99-a136-7c6b3559a54f ext4 defaults,nofail,acl,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 0 2
      21. # <<< [openmediavault]
      Display All


      run "omv-mkconf fstab" + "reboot". after restart, try to mount it again and get the same error:

      Source Code

      1. Error
      2. #6000:
      3. exception 'OMVException' with message 'Failed to mount
      4. '7f83e3cf-366d-4f99-a136-7c6b3559a54f': mount: can't find
      5. /media/7f83e3cf-366d-4f99-a136-7c6b3559a54f in /etc/fstab or /etc/mtab'
      6. in /usr/share/openmediavault/engined/module/fstab.inc:90
      7. Stack trace:
      8. #0 /usr/share/openmediavault/engined/rpc/config.inc(206):
      9. OMVModuleFsTab->startService()
      10. #1 [internal function]: OMVRpcServiceConfig->applyChanges(Array,
      11. Array)
      12. #2 /usr/share/php/openmediavault/rpcservice.inc(125):
      13. call_user_func_array(Array, Array)
      14. #3 /usr/share/php/openmediavault/rpc.inc(79):
      15. OMVRpcServiceAbstract->callMethod('applyChanges', Array, Array)
      16. #4 /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc(907):
      17. OMVRpc::exec('Config', 'applyChanges', Array, Array)
      18. #5 [internal function]: OMVRpcServiceFileSystemMgmt->mount(Array,
      19. Array)
      20. #6 /usr/share/php/openmediavault/rpcservice.inc(125):
      21. call_user_func_array(Array, Array)
      22. #7 /usr/share/php/openmediavault/rpc.inc(79):
      23. OMVRpcServiceAbstract->callMethod('mount', Array, Array)
      24. #8 /usr/sbin/omv-engined(501): OMVRpc::exec('FileSystemMgmt', 'mount',
      25. Array, Array, 1)
      26. #9 {main}
      Display All


      I also can not delete /dev/sdb1 from Storage > File Systems. ?(

      The post was edited 1 time, last by agismaniax ().

    • Problem is solved.

      - wipe physical disk (/dev/sdb)
      - create file systems (/dev/sdb1)
      - mount with GUI (failed)
      check the uuid in the error message
      - edit /etc/openmediavault/config.xml (hidden = 0)
      - omv-mkconf fstab
      - check /etc/fstab
      - reboot
      - df -h
      - check /etc/mtab
      - delete unneeded directory in /media
      - add shared folders into /dev/sdb1

      Thanks Solo