Receiving Mount/Unmount Errors When Changing Shared Folders Settings - Help?

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

    • Receiving Mount/Unmount Errors When Changing Shared Folders Settings - Help?

      It looks like something got messed up when manually moving from 3 to 4. I haven't added any new sharedfolders yet, but just added two drives to my setup (it's not a RAID, just all individual drives, think of it like a regular PC setup with no drive affliliation).

      Now, trying to create a new shared folder (nothing to do with TV2 at all), this error throws when saving config:

      Source Code

      1. Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; systemctl restart 'sharedfolders-TV2.mount' 2>&1' with exit code '1': Job for sharedfolders-TV2.mount failed.
      2. See "systemctl status sharedfolders-TV2.mount" and "journalctl -xe" for details.
      3. Stack trace:
      4. #0 /usr/share/php/openmediavault/system/systemctl.inc(86): OMV\System\Process->execute(Array, 1)
      5. #1 /usr/share/php/openmediavault/system/systemctl.inc(160): OMV\System\SystemCtl->exec('restart', NULL, false)
      6. #2 /usr/share/openmediavault/engined/module/sharedfolders.inc(66): OMV\System\SystemCtl->restart()
      7. #3 /usr/share/openmediavault/engined/rpc/config.inc(194): OMVModuleSharedfolders->startService()
      8. #4 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
      9. #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      10. #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
      11. #7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(565): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusL8...', '/tmp/bgoutputR6...')
      12. #8 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
      13. #9 /usr/share/openmediavault/engined/rpc/config.inc(213): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
      14. #10 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
      15. #11 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      16. #12 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
      17. #13 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
      18. #14 {main}
      Display All



      Running systemctl status sharedfolders-TV2.mount:

      Source Code

      1. root@mediawall:/etc/openmediavault# systemctl status sharedfolders-TV2.mount
      2. sharedfolders-TV2.mount - Mount shared folder TV2 to /sharedfolders/TV2
      3. Loaded: loaded (/etc/systemd/system/sharedfolders-TV2.mount; enabled; vendor preset: enabled)
      4. Active: active (mounted) (Result: exit-code) since Sun 2018-07-15 16:58:24 EDT; 3min 10s ago
      5. Where: /sharedfolders/TV2
      6. What: /dev/sdf1
      7. Process: 26371 ExecUnmount=/bin/umount /sharedfolders/TV2 (code=exited, status=32)
      8. Tasks: 0 (limit: 4915)
      9. Memory: 288.0K
      10. CPU: 7ms
      11. CGroup: /system.slice/sharedfolders-TV2.mount
      12. Jul 12 22:24:35 mediawall systemd[1]: Mounted Mount shared folder TV2 to /sharedfolders/TV2.
      13. Jul 15 16:44:21 mediawall systemd[1]: Unmounting Mount shared folder TV2 to /sharedfolders/TV2...
      14. Jul 15 16:44:21 mediawall systemd[1]: sharedfolders-TV2.mount: Mount process exited, code=exited status=32
      15. Jul 15 16:44:21 mediawall systemd[1]: Failed unmounting Mount shared folder TV2 to /sharedfolders/TV2.
      16. Jul 15 16:48:32 mediawall systemd[1]: Unmounting Mount shared folder TV2 to /sharedfolders/TV2...
      17. Jul 15 16:48:32 mediawall systemd[1]: sharedfolders-TV2.mount: Mount process exited, code=exited status=32
      18. Jul 15 16:48:32 mediawall systemd[1]: Failed unmounting Mount shared folder TV2 to /sharedfolders/TV2.
      19. Jul 15 16:58:24 mediawall systemd[1]: Unmounting Mount shared folder TV2 to /sharedfolders/TV2...
      20. Jul 15 16:58:24 mediawall systemd[1]: sharedfolders-TV2.mount: Mount process exited, code=exited status=32
      21. Jul 15 16:58:24 mediawall systemd[1]: Failed unmounting Mount shared folder TV2 to /sharedfolders/TV2.
      Display All


      I think this may be the key to the problem. Any suggestions?

      I will admit I would like to get my fstab and mtent area of my config.xml in order, after mucking with them manually I have some concerns though I thought I had it all precisely done. I've also noticed the 2 new drives (TV4 and Movies1) I added since going to 4 don't mount as /media any more and instead mount as disk-by-label but I don't think that has anything to do with the TV2 issue (a drive I'm not even trying to mess with when I create the new shared folder). Here's my 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/sdb1 during installation
      9. UUID=bef4944b-7ed9-4cf3-9f1d-a9a7c75d19d7 / ext4 noatime,nodiratime,errors=remount-ro 0 1
      10. # swap was on /dev/sdb5 during installation
      11. #UUID=f35000f9-3dab-459a-8f92-79f03b685b17 none swap sw 0 0
      12. tmpfs /tmp tmpfs defaults 0 0
      13. # >>> [openmediavault]
      14. UUID=73e661af-1aa6-42bf-9154-791e11acec8c /media/73e661af-1aa6-42bf-9154-791e11acec8c ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
      15. UUID=e72d54ac-4d81-4fd0-ac16-7acd7fc69a65 /media/e72d54ac-4d81-4fd0-ac16-7acd7fc69a65 ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
      16. UUID=134c1e45-4432-42fb-9f6f-607a580ae0af /media/134c1e45-4432-42fb-9f6f-607a580ae0af ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
      17. UUID=081b2545-f105-48cc-b639-5fecfea44efd /media/081b2545-f105-48cc-b639-5fecfea44efd ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
      18. UUID=21cdb82e-32bf-4b2c-8aab-381c648686bc /media/21cdb82e-32bf-4b2c-8aab-381c648686bc ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
      19. UUID=3ed4d2b9-03c0-4b70-b850-82df1e1757f7 /media/3ed4d2b9-03c0-4b70-b850-82df1e1757f7 ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
      20. UUID=bcbbbbb3-ed97-42ff-a661-17d13964b53a /media/bcbbbbb3-ed97-42ff-a661-17d13964b53a ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
      21. UUID=9b077259-dd79-4143-af8c-e7ef4d0fd111 /media/9b077259-dd79-4143-af8c-e7ef4d0fd111 ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
      22. /dev/disk/by-label/TV4 /srv/dev-disk-by-label-TV4 ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
      23. /dev/disk/by-label/Movies1 /srv/dev-disk-by-label-Movies1 ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
      24. /media/73e661af-1aa6-42bf-9154-791e11acec8c/Movies2 /export/Movies2 none bind 0 0
      25. /media/e72d54ac-4d81-4fd0-ac16-7acd7fc69a65/Movies3 /export/Movies3 none bind 0 0
      26. /media/134c1e45-4432-42fb-9f6f-607a580ae0af/Movies4 /export/Movies4 none bind 0 0
      27. /media/3ed4d2b9-03c0-4b70-b850-82df1e1757f7/Music /export/Music none bind 0 0
      28. /media/081b2545-f105-48cc-b639-5fecfea44efd/TV1 /export/TV1 none bind 0 0
      29. /media/21cdb82e-32bf-4b2c-8aab-381c648686bc/TV2 /export/TV2 none bind 0 0
      30. /media/bcbbbbb3-ed97-42ff-a661-17d13964b53a/Movies5 /export/Movies5 none bind 0 0
      31. /media/9b077259-dd79-4143-af8c-e7ef4d0fd111/TV3 /export/TV3 none bind 0 0
      32. /srv/dev-disk-by-label-TV4/TV4 /export/TV4 none bind,nofail 0 0
      33. # <<< [openmediavault]
      Display All
    • Users Online 2

      2 Guests