Service quota is already disabled, and is in the desired state Started

  • Just started to get this error when applying a configuration recently I upgraded from OMV to OMV5 haven't had an issue for a month untill today.



    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run --no-color quota 2>&1' with exit code '1': valhalla.local: ---------- ID: quota_off_no_quotas_97e0dc4c-ff4c-4d05-b514-a9110c015bc8 Function: cmd.run Name: quotaoff --group --user /dev/disk/by-label/SSD1 Result: True Comment: Command "quotaoff --group --user /dev/disk/by-label/SSD1" run Started: 15:52:08.950673 Duration: 15.336 ms Changes: ---------- pid: 37782 retcode: 0 stderr: stdout: ---------- ID: quota_check_no_quotas_97e0dc4c-ff4c-4d05-b514-a9110c015bc8 Function: cmd.run Name: quotacheck --user --group --create-files --no-remount --verbose /dev/disk/by-label/SSD1 Result: True Comment: Command "quotacheck --user --group --create-files --no-remount --verbose /dev/disk/by-label/SSD1" run Started: 15:52:08.966363 Duration: 4826.882 ms Changes: ---------- pid: 37784 retcode: 0 stderr: quotacheck: Scanning /dev/sdb1 [/srv/dev-disk-by-label-SSD1] quotacheck: Checked 2565230 directories and 2235750 files stdout: |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-done ---------- ID: quota_off_no_quotas_5e8a8e1b-d810-43bc-b83b-2aa66731a082 Function: cmd.run Name: quotaoff --group --user /dev/disk/by-label/Media0 Result: False Comment: Command "quotaoff --group --user /dev/disk/by-label/Media0" run Started: 15:52:13.793874 Duration: 15.738 ms Changes: ---------- pid: 37868 retcode: 2 stderr: quotaoff: Quota enforcement already disabled for group on /dev/sdc1 quotaoff: Quota enforcement already disabled for user on /dev/sdc1 stdout: ---------- ID: quota_off_no_quotas_c5edecdb-2e7b-4363-bf1c-6a6ecd58b6f3 Function: cmd.run Name: quotaoff --group --user /dev/disk/by-label/Media3 Result: False Comment: Command "quotaoff --group --user /dev/disk/by-label/Media3" run Started: 15:52:13.809909 Duration: 11.381 ms Changes: ---------- pid: 37870 retcode: 2 stderr: quotaoff: Quota enforcement already disabled for group on /dev/md0 quotaoff: Quota enforcement already disabled for user on /dev/md0 stdout: ---------- ID: quota_off_no_quotas_4da6dac6-0bbf-4d70-8705-f8d939cc5316 Function: cmd.run Name: quotaoff --group --user /dev/disk/by-label/Media1 Result: False Comment: Command "quotaoff --group --user /dev/disk/by-label/Media1" run Started: 15:52:13.821643 Duration: 12.957 ms Changes: ---------- pid: 37872 retcode: 2 stderr: quotaoff: Quota enforcement already disabled for group on /dev/sdd1 quotaoff: Quota enforcement already disabled for user on /dev/sdd1 stdout: ---------- ID: quota_off_no_quotas_f3e0afd9-8325-48f9-8f56-67f282db28d6 Function: cmd.run Name: quotaoff --group --user /dev/disk/by-label/SSD2 Result: True Comment: Command "quotaoff --group --user /dev/disk/by-label/SSD2" run Started: 15:52:13.835044 Duration: 19.552 ms Changes: ---------- pid: 37874 retcode: 0 stderr: stdout: ---------- ID: quota_check_no_quotas_f3e0afd9-8325-48f9-8f56-67f282db28d6 Function: cmd.run Name: quotacheck --user --group --create-files --no-remount --verbose /dev/disk/by-label/SSD2 Result: True Comment: Command "quotacheck --user --group --create-files --no-remount --verbose /dev/disk/by-label/SSD2" run Started: 15:52:13.855030 Duration: 105.931 ms Changes: ---------- pid: 37876 retcode: 0 stderr: quotacheck: Scanning /dev/sdf1 [/srv/dev-disk-by-label-SSD2] quotacheck: Checked 17725 directories and 73213 files stdout: |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|done ---------- ID: disable_quota_service Function: service.disabled Name: quota Result: True Comment: Service quota is already disabled, and is in the desired state Started: 15:52:13.978641 Duration: 57.378 ms Changes: Summary for valhalla.local ------------ Succeeded: 5 (changed=7) Failed: 3 ------------ Total states run: 8 Total run time: 5.065 s

    OMV 5.x
    Supermicro X9DRH-7F
    2X-XEON E5-2660V2
    128GB PC3-10600R ECC REG
    Supermicro SATA DOM 64GB
    Areca ARC-1883IX-24
    24X - WD WD80EFZX
    NORCO RPC-4224 4U
    Eaton 5PX 1500

  • Try running this command in the shell, then try to do what you did again.


    sudo quotaoff -v /srv/*

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 5.x on ASRock Rack C2550D4I C0 Stepping - 16GB ECC - Silverstone DS380 + Silverstone DS380 DAS Box.


  • Output of "sudo quotaoff -v /srv/*"


    ~# sudo quotaoff -v /srv/*

    quotaoff: Mountpoint (or device) /srv/9e6e4d02-d6a3-4e85-9cf9-b005e88a1477 not f ound or has no quota enabled.

    quotaoff: Mountpoint (or device) /srv/dev-disk-by-label-media0 not found or has no quota enabled.

    quotaoff: Quota enforcement already disabled for group on /dev/sdc1

    quotaoff: Quota enforcement already disabled for user on /dev/sdc1

    quotaoff: Quota enforcement already disabled for group on /dev/sdd1

    quotaoff: Quota enforcement already disabled for user on /dev/sdd1

    quotaoff: Mountpoint (or device) /srv/dev-disk-by-label-media2 not found or has no quota enabled.

    quotaoff: Quota enforcement already disabled for group on /dev/md0

    quotaoff: Quota enforcement already disabled for user on /dev/md0

    quotaoff: Mountpoint (or device) /srv/dev-disk-by-label-RAID6 not found or has n o quota enabled.

    /dev/sdb1 [/srv/dev-disk-by-label-SSD1]: group quotas turned off

    /dev/sdb1 [/srv/dev-disk-by-label-SSD1]: user quotas turned off

    /dev/sdf1 [/srv/dev-disk-by-label-SSD2]: group quotas turned off

    /dev/sdf1 [/srv/dev-disk-by-label-SSD2]: user quotas turned off

    quotaoff: Mountpoint (or device) /srv/ftp not found or has no quota enabled.

    quotaoff: Mountpoint (or device) /srv/pillar not found or has no quota enabled.

    quotaoff: Mountpoint (or device) /srv/salt not found or has no quota enabled.

    quotaoff: Mountpoint (or device) /srv/tftp not found or has no quota enabled.



    Error applying config:


    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run --no-color quota 2>&1' with exit code '1': valhalla.local: ---------- ID: quota_off_97e0dc4c-ff4c-4d05-b514-a9110c015bc8 Function: cmd.run Name: quotaoff --group --user /dev/disk/by-label/SSD1 Result: True Comment: Command "quotaoff --group --user /dev/disk/by-label/SSD1" run Started: 09:31:43.014419 Duration: 15.685 ms Changes: ---------- pid: 23181 retcode: 0 stderr: stdout: ---------- ID: quota_off_no_quotas_5e8a8e1b-d810-43bc-b83b-2aa66731a082 Function: cmd.run Name: quotaoff --group --user /dev/disk/by-label/Media0 Result: False Comment: Command "quotaoff --group --user /dev/disk/by-label/Media0" run Started: 09:31:43.030440 Duration: 8.467 ms Changes: ---------- pid: 23183 retcode: 2 stderr: quotaoff: Quota enforcement already disabled for group on /dev/sdc1 quotaoff: Quota enforcement already disabled for user on /dev/sdc1 stdout: ---------- ID: quota_off_no_quotas_c5edecdb-2e7b-4363-bf1c-6a6ecd58b6f3 Function: cmd.run Name: quotaoff --group --user /dev/disk/by-label/Media3 Result: False Comment: Command "quotaoff --group --user /dev/disk/by-label/Media3" run Started: 09:31:43.039192 Duration: 8.251 ms Changes: ---------- pid: 23185 retcode: 2 stderr: quotaoff: Quota enforcement already disabled for group on /dev/md0 quotaoff: Quota enforcement already disabled for user on /dev/md0 stdout: ---------- ID: quota_off_no_quotas_4da6dac6-0bbf-4d70-8705-f8d939cc5316 Function: cmd.run Name: quotaoff --group --user /dev/disk/by-label/Media1 Result: False Comment: Command "quotaoff --group --user /dev/disk/by-label/Media1" run Started: 09:31:43.047735 Duration: 8.307 ms Changes: ---------- pid: 23187 retcode: 2 stderr: quotaoff: Quota enforcement already disabled for group on /dev/sdd1 quotaoff: Quota enforcement already disabled for user on /dev/sdd1 stdout: ---------- ID: quota_off_f3e0afd9-8325-48f9-8f56-67f282db28d6 Function: cmd.run Name: quotaoff --group --user /dev/disk/by-label/SSD2 Result: True Comment: Command "quotaoff --group --user /dev/disk/by-label/SSD2" run Started: 09:31:43.056396 Duration: 18.415 ms Changes: ---------- pid: 23190 retcode: 0 stderr: stdout: ---------- ID: quota_check_f3e0afd9-8325-48f9-8f56-67f282db28d6 Function: cmd.run Name: quotacheck --user --group --create-files --try-remount --use-first-dquot --verbose /dev/disk/by-label/SSD2 Result: True Comment: Command "quotacheck --user --group --create-files --try-remount --use-first-dquot --verbose /dev/disk/by-label/SSD2" run Started: 09:31:43.075196 Duration: 155.228 ms Changes: ---------- pid: 23192 retcode: 0 stderr: quotacheck: Scanning /dev/sdf1 [/srv/dev-disk-by-label-SSD2] quotacheck: Checked 17726 directories and 73263 files stdout:

    FSTAB:

    /dev/disk/by-label/Media0 /srv/dev-disk-by-label-Media0 xfs defaults,nofail,usrquota,grpquota,inode64 0 2

    /dev/disk/by-label/Media1 /srv/dev-disk-by-label-Media1 xfs defaults,nofail,usrquota,grpquota,inode64 0 2

    /dev/disk/by-label/Media3 /srv/dev-disk-by-label-Media3 xfs defaults,nofail,usrquota,grpquota,inode64 0 2

    /dev/disk/by-label/SSD1 /srv/dev-disk-by-label-SSD1 ext4 defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,discard,acl 0 2

    /dev/disk/by-label/SSD2 /srv/dev-disk-by-label-SSD2 ext4 defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,discard,acl 0 2

    OMV 5.x
    Supermicro X9DRH-7F
    2X-XEON E5-2660V2
    128GB PC3-10600R ECC REG
    Supermicro SATA DOM 64GB
    Areca ARC-1883IX-24
    24X - WD WD80EFZX
    NORCO RPC-4224 4U
    Eaton 5PX 1500

    Edited once, last by mikebetz42 ().

  • After a reboot I now get this error when trying to apply config....



    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run --no-color quota 2>&1' with exit code '1': valhalla.local: Data failed to compile: ---------- Rendering SLS 'base:omv.deploy.quota.default' failed: while constructing a mapping in "<unicode string>", line 46, column 1 found conflicting ID 'quota_off_no_quotas_' in "<unicode string>", line 132, column 1

    OMV 5.x
    Supermicro X9DRH-7F
    2X-XEON E5-2660V2
    128GB PC3-10600R ECC REG
    Supermicro SATA DOM 64GB
    Areca ARC-1883IX-24
    24X - WD WD80EFZX
    NORCO RPC-4224 4U
    Eaton 5PX 1500

  • Yes, I have two different boxes running OMV 5 now my other box is giving me this error.


    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run --no-color quota 2>&1' with exit code '1': debian: ---------- ID: quota_off_no_quotas_fee9eeee-dd9f-44e3-8fa0-b55a23cce152 Function: cmd.run Name: quotaoff --group --user /dev/disk/by-label/RAID6 Result: False Comment: Command "quotaoff --group --user /dev/disk/by-label/RAID6" run Started: 13:40:30.073121 Duration: 8.323 ms Changes: ---------- pid: 32389 retcode: 2 stderr: quotaoff: Quota enforcement already disabled for group on /dev/sda1 quotaoff: Quota enforcement already disabled for user on /dev/sda1 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:40:30.091696 Duration: 39.241 ms Changes: Summary for debian ------------ Succeeded: 1 (changed=1) Failed: 1 ------------ Total states run: 2 Total run time: 47.564 ms

    OMV 5.x
    Supermicro X9DRH-7F
    2X-XEON E5-2660V2
    128GB PC3-10600R ECC REG
    Supermicro SATA DOM 64GB
    Areca ARC-1883IX-24
    24X - WD WD80EFZX
    NORCO RPC-4224 4U
    Eaton 5PX 1500

  • It seems to be an issue with Kernel version 5.8.0.0.bpo.2-amd64

    I booted into 5.7.0.0.bpo.2-amd64 And my drives are back and I don't seem to be having the issues.

    OMV 5.x
    Supermicro X9DRH-7F
    2X-XEON E5-2660V2
    128GB PC3-10600R ECC REG
    Supermicro SATA DOM 64GB
    Areca ARC-1883IX-24
    24X - WD WD80EFZX
    NORCO RPC-4224 4U
    Eaton 5PX 1500

  • Spoke too soon on the original box... drives are back, but still have the error when applying a config...


    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run --no-color quota 2>&1' with exit code '1': valhalla.local: ---------- ID: quota_off_97e0dc4c-ff4c-4d05-b514-a9110c015bc8 Function: cmd.run Name: quotaoff --group --user /dev/disk/by-label/SSD1 Result: True Comment: Command "quotaoff --group --user /dev/disk/by-label/SSD1" run Started: 15:02:05.943646 Duration: 28.672 ms Changes: ---------- pid: 27148 retcode: 0 stderr: stdout: ---------- ID: quota_off_no_quotas_5e8a8e1b-d810-43bc-b83b-2aa66731a082 Function: cmd.run Name: quotaoff --group --user /dev/disk/by-label/Media0 Result: False Comment: Command "quotaoff --group --user /dev/disk/by-label/Media0" run Started: 15:02:05.972847 Duration: 12.183 ms Changes: ---------- pid: 27157 retcode: 2 stderr: quotaoff: Quota enforcement already disabled for group on /dev/sdc1 quotaoff: Quota enforcement already disabled for user on /dev/sdc1 stdout: ---------- ID: quota_off_no_quotas_c5edecdb-2e7b-4363-bf1c-6a6ecd58b6f3 Function: cmd.run Name: quotaoff --group --user /dev/disk/by-label/Media3 Result: False Comment: Command "quotaoff --group --user /dev/disk/by-label/Media3" run Started: 15:02:05.985315 Duration: 9.561 ms Changes: ---------- pid: 27161 retcode: 2 stderr: quotaoff: Quota enforcement already disabled for group on /dev/md0 quotaoff: Quota enforcement already disabled for user on /dev/md0 stdout: ---------- ID: quota_off_no_quotas_4da6dac6-0bbf-4d70-8705-f8d939cc5316 Function: cmd.run Name: quotaoff --group --user /dev/disk/by-label/Media1 Result: False Comment: Command "quotaoff --group --user /dev/disk/by-label/Media1" run Started: 15:02:05.995230 Duration: 10.324 ms Changes: ---------- pid: 27165 retcode: 2 stderr: quotaoff: Quota enforcement already disabled for group on /dev/sdd1 quotaoff: Quota enforcement already disabled for user on /dev/sdd1 stdout: ---------- ID: quota_off_f3e0afd9-8325-48f9-8f56-67f282db28d6 Function: cmd.run Name: quotaoff --group --user /dev/disk/by-label/SSD2 Result: True Comment: Command "quotaoff --group --user /dev/disk/by-label/SSD2" run Started: 15:02:06.005892 Duration: 17.429 ms Changes: ---------- pid: 27169 retcode: 0 stderr: stdout: ---------- ID: quota_check_f3e0afd9-8325-48f9-8f56-67f282db28d6 Function: cmd.run Name: quotacheck --user --group --create-files --try-remount --use-first-dquot --verbose /dev/disk/by-label/SSD2 Result: True Comment: Command "quotacheck --user --group --create-files --try-remount --use-first-dquot --verbose /dev/disk/by-label/SSD2" run Started: 15:02:06.023760 Duration: 193.703 ms Changes: ---------- pid: 27180 retcode: 0 stderr: quotacheck: Scanning /dev/sdf1 [/srv/dev-disk-by-label-SSD2] quotacheck: Checked 17726 directories and 73273 files stdout:

    OMV 5.x
    Supermicro X9DRH-7F
    2X-XEON E5-2660V2
    128GB PC3-10600R ECC REG
    Supermicro SATA DOM 64GB
    Areca ARC-1883IX-24
    24X - WD WD80EFZX
    NORCO RPC-4224 4U
    Eaton 5PX 1500

  • mikebetz42

    Added the Label resolved

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!