Hello. Previously, I configured quotas for each user in the openmediavault GUI, and everything was running smoothly. However, for some reason, when I tried to edit the quotas for several users, an error occurred, and all my files suddenly disappeared from the disk where I had set the quotas. I attempted to restore all the files from backup and tried to reconfigure the quotas, but now I'm encountering the error 'quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option.' I tried reinstalling my server, but the error still persists.
I can still perform quota configuration using the 'edquota' command, but I'm unable to apply configuration through the GUI due to the 'quotacheck' error. How can i solve this?
This is error log from my new server installation:
ZitatAlles anzeigenFailed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; omv-salt deploy run --no-color quota 2>&1' with exit code '1': debian:
----------
ID: quota_off_no_quotas_dc9dfdb7-0ac0-4b29-b330-ce1aed885602
Function: cmd.run
Name: quotaoff --group --user /dev/disk/by-uuid/dc9dfdb7-0ac0-4b29-b330-ce1aed885602 true
Result: True
Comment: Command "quotaoff --group --user /dev/disk/by-uuid/dc9dfdb7-0ac0-4b29-b330-ce1aed885602 true" run
Started: 13:57:23.698142
Duration: 77.282 ms
Changes:
----------
pid:
8458
retcode:
0
stderr:
quotaoff: quotactl on /dev/sdb1 [/srv/dev-disk-by-uuid-dc9dfdb7-0ac0-4b29-b330-ce1aed885602]: File exists
quotaoff: quotactl on /dev/sdb1 [/srv/dev-disk-by-uuid-dc9dfdb7-0ac0-4b29-b330-ce1aed885602]: File exists
stdout:
----------
ID: quota_check_no_quotas_dc9dfdb7-0ac0-4b29-b330-ce1aed885602
Function: cmd.run
Name: quotacheck --user --group --create-files --no-remount --verbose /dev/disk/by-uuid/dc9dfdb7-0ac0-4b29-b330-ce1aed885602
Result: False
Comment: Command "quotacheck --user --group --create-files --no-remount --verbose /dev/disk/by-uuid/dc9dfdb7-0ac0-4b29-b330-ce1aed885602" run
Started: 13:57:23.775700
Duration: 7.256 ms
Changes:
----------
pid:
8507
retcode:
1
stderr:
quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option.
stdout:
----------
ID: disable_quota_service
Function: service.disabled
Name: quota
Result: True
Comment: Service quota is already disabled, and is in the desired state
Started: 13:57:24.401583
Duration: 25.642 ms
Changes:
Summary for debian
------------
Succeeded: 2 (changed=2)
Failed: 1
------------
Total states run: 3
Total run time: 110.180 ms
[ERROR ] Command 'quotacheck' failed with return code: 1
[ERROR ] stderr: quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option.
[ERROR ] retcode: 1
[ERROR ] {'pid': 8507, 'retcode': 1, 'stdout': '', 'stderr': 'quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option.'}
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; export LANGUAGE=; omv-salt deploy run --no-color quota 2>&1' with exit code '1': debian:
----------
ID: quota_off_no_quotas_dc9dfdb7-0ac0-4b29-b330-ce1aed885602
Function: cmd.run
Name: quotaoff --group --user /dev/disk/by-uuid/dc9dfdb7-0ac0-4b29-b330-ce1aed885602 true
Result: True
Comment: Command "quotaoff --group --user /dev/disk/by-uuid/dc9dfdb7-0ac0-4b29-b330-ce1aed885602 true" run
Started: 13:57:23.698142
Duration: 77.282 ms
Changes:
----------
pid:
8458
retcode:
0
stderr:
quotaoff: quotactl on /dev/sdb1 [/srv/dev-disk-by-uuid-dc9dfdb7-0ac0-4b29-b330-ce1aed885602]: File exists
quotaoff: quotactl on /dev/sdb1 [/srv/dev-disk-by-uuid-dc9dfdb7-0ac0-4b29-b330-ce1aed885602]: File exists
stdout:
----------
ID: quota_check_no_quotas_dc9dfdb7-0ac0-4b29-b330-ce1aed885602
Function: cmd.run
Name: quotacheck --user --group --create-files --no-remount --verbose /dev/disk/by-uuid/dc9dfdb7-0ac0-4b29-b330-ce1aed885602
Result: False
Comment: Command "quotacheck --user --group --create-files --no-remount --verbose /dev/disk/by-uuid/dc9dfdb7-0ac0-4b29-b330-ce1aed885602" run
Started: 13:57:23.775700
Duration: 7.256 ms
Changes:
----------
pid:
8507
retcode:
1
stderr:
quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option.
stdout:
----------
ID: disable_quota_service
Function: service.disabled
Name: quota
Result: True
Comment: Service quota is already disabled, and is in the desired state
Started: 13:57:24.401583
Duration: 25.642 ms
Changes:
Summary for debian
------------
Succeeded: 2 (changed=2)
Failed: 1
------------
Total states run: 3
Total run time: 110.180 ms
[ERROR ] Command 'quotacheck' failed with return code: 1
[ERROR ] stderr: quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option.
[ERROR ] retcode: 1
[ERROR ] {'pid': 8507, 'retcode': 1, 'stdout': '', 'stderr': 'quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option.'} in /usr/share/php/openmediavault/system/process.inc:220
Stack trace:
#0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(62): OMV\System\Process->execute()
#1 /usr/share/openmediavault/engined/rpc/config.inc(174): OMV\Engine\Module\ServiceAbstract->deploy()
#2 [internal function]: Engined\Rpc\Config->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(619): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusnj...', '/tmp/bgoutputvq...')
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#7 /usr/share/openmediavault/engined/rpc/config.inc(195): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
#8 [internal function]: Engined\Rpc\Config->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(537): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
#12 {main}