User remains in quota (config.xml) and causes error when adding new qouta

  • Hi
    I removed a user from OMV lately. Iremoved also everything else like Shares and quota too.
    Now I added a new user and want to givehim a quota.
    It fails because OMV is claiming theremoved user isn't there anymore. I looked into config.xml and found the olduser still in quota!!
    Can I remove the user and run omv-mkconffstab without risking destroying anything?
    Regards

  • OK here is what I got <X


    I removed the deleted user from config.xml (quota) and run omv-mkconffstab. Then I tried to give a new user a quota.


    OMV\ExecException: Failed to execute command 'exportPATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; exportLANG=C; omv-mkconf quota 2>&1' with exit code '2': quotacheck: Scanning/dev/sdb1 [/srv/dev-disk-by-label-DataStore1] quotacheck: Checked 23639directories and 137854 files
    done
    quotaoff: Quota enforcement already disabled for group on /dev/sdd
    quotaoff: Quota enforcement already disabled for user on /dev/sdd in/usr/share/php/openmediavault/system/process.inc:175
    Stack trace:
    #0 /usr/share/openmediavault/engined/module/quota.inc(37):OMV\System\Process->execute()
    #1 /usr/share/openmediavault/engined/rpc/config.inc(168):OMVModuleQuota->applyConfig()
    #2 [internal function]: OMVRpcServiceConfig->applyChanges(Array,Array)
    #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123):call_user_func_array(Array, Array)
    #4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149):OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
    #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(565):OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusBG...','/tmp/bgoutputxB...')
    #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159):OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
    #7 /usr/share/openmediavault/engined/rpc/config.inc(213):OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
    #8 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array,Array)
    #9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123):call_user_func_array(Array, Array)
    #10 /usr/share/php/openmediavault/rpc/rpc.inc(86):OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
    #11 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Config','applyChangesBg', Array, Array, 1)
    #12 {main}

  • When I do omv-mkconf quota I get this:


    quotacheck: Prüfe /dev/sdb1 [/srv/dev-disk-by-label-DataStore1] fertig
    quotacheck: 23639 Verzeichnisse und 137854 Dateien geprüft
    quotaoff: Quotavollstreckung schon deaktiviert für group auf /dev/sdd
    quotaoff: Quotavollstreckung schon deaktiviert für user auf /dev/sdd

    Any solution??

  • Hello
    I still suffer with this problem. Does nobody have a clue what I could do? I still have this error message:


    Error


    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; omv-mkconf quota 2>&1' with exit code '2': quotacheck: Scanning /dev/sdb1 [/srv/dev-disk-by-label-DataStore1] quotacheck: Checked 23667 directories and 138341 files done quotaoff: Quota enforcement already disabled for group on /dev/sdd quotaoff: Quota enforcement already disabled for user on /dev/sdd


    Regards

Jetzt mitmachen!

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