Drive connected but missing in filesytem cannot create sharefoldereven on other disk

    • OMV 4.x
    • Resolved

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

    • Drive connected but missing in filesytem cannot create sharefoldereven on other disk

      In file system ,it says disk/by-label/name Missing, but actually it is connected and visible in Disks.
      if necessary i can wipe it and recreate a new file system
      the drive got some backup ,I can always recreate them, so it got some share folder I can not delete them.
      but the big issue I cannot even create new share folders on some other drives since I got A dependency job for sharedfolders-.mount failed?

      Source Code

      1. Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; systemctl restart 'sharedfolders-Mediia_BKup.mount' 2>&1' with exit code '1': A dependency job for sharedfolders-Mediia_BKup.mount failed. See 'journalctl -xe' for details.
      2. Error #0:
      3. 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; systemctl restart 'sharedfolders-Mediia_BKup.mount' 2>&1' with exit code '1': A dependency job for sharedfolders-Mediia_BKup.mount failed. See 'journalctl -xe' for details. in /usr/share/php/openmediavault/system/process.inc:182
      4. Stack trace:
      5. #0 /usr/share/php/openmediavault/system/systemctl.inc(86): OMV\System\Process->execute(Array, 1)
      6. #1 /usr/share/php/openmediavault/system/systemctl.inc(160): OMV\System\SystemCtl->exec('restart', NULL, false)
      7. #2 /usr/share/openmediavault/engined/module/sharedfolders.inc(66): OMV\System\SystemCtl->restart()
      8. #3 /usr/share/openmediavault/engined/rpc/config.inc(194): OMVModuleSharedfolders->startService()
      9. #4 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
      10. #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      11. #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
      12. #7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(565): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusc2...', '/tmp/bgoutputae...')
      13. #8 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
      14. #9 /usr/share/openmediavault/engined/rpc/config.inc(213): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
      15. #10 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
      16. #11 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      17. #12 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
      18. #13 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
      19. #14 {main}
      Display All
    • So how can I delete a
      not Referenced shared folder on a missing drive any body?

      Update
      Finally I had to edit the config.xml in /etc/openmediavault/config.xml
      and removed the entry for the shared folder and the entry for the missing drive the one for witch I changed the label some time ago with sudo e2label /dev/ and I forgot about it until I ran into this issue.

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

    • Users Online 1

      1 Guest