Disable OMV Quota System Entirely

  • Hi All,


    In regards to quotas, I have seen @ryecoaaron write in this forum recently:


    "I agree they should be disabled by default (or have a place to disable them). The arm images I create have the quota service disabled by default."


    What's the best and cleanest way to completely disable the quota service?


    I've searched the forum but failed to turn up the definitive answer.


    And before I disable quota's completely... Is there any benefit to leaving them on? I'm the only user accessing the OMV NAS, and I can't think of a reason to use quotas. Course one thing I love about OMV and the OMV developer community is how you don't let users do stupid things easily. So I'm curious if there's a benefit to enabling the quota service that I haven't groked.


    Cheers,
    Steve

    • Offizieller Beitrag

    What's the best and cleanest way to completely disable the quota service?

    That post is outdated. Quotas are now only enabled when you use them. I don't use quotas and I can't think of any reason to do enable them if you are the only user of the NAS>

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Thanks for the very fast reply.


    Glad you've disabled quotas by default now.


    When did that happen? I haven't installed any updated for a while. (I know, I know....) So i suppose there is a good chance that I missed the update.


    Cheers,
    Steve

    • Offizieller Beitrag

    When did that happen?

    I honestly don't remember. OMV 2.x maybe?

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Oh well, that's way before my time. I'm not THAT far behind.


    (Completely unrelated question, I see I didn't set up my profile well. Is there a way to change my forum user name away from my email address?! -- Never mind. Found it. :) )

  • I want to reopen my question.


    I was just transferring a lot of data to a new drive in my OMV system. And after a bit the client gave me an error that the server (OMV) sent the message "insufficient_quota....".


    There are no user quota's set for that filesystem (or any filesystem). I *am* running 4.0 (never ran any other versions), but it seems to be doing some quota checking. I've looked around and don't find a place to disable this.


    Can you give me some new help?

    • Offizieller Beitrag

    I was just transferring a lot of data to a new drive in my OMV system. And after a bit the client gave me an error that the server (OMV) sent the message "insufficient_quota....".

    What client? I have never seen that.


    There are no user quota's set for that filesystem (or any filesystem). I *am* running 4.0 (never ran any other versions), but it seems to be doing some quota checking. I've looked around and don't find a place to disable this.

    Even if the service was running, there would still be no enforcement because there is no limit IF you didn't set a limit.


    Even though it is a new install, were the data disks ever part of system that had a quota set?

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I thought I had answered this, but I don't see my reply.


    To close the loop the drive is pretty new, but it was used in a synology 1512+ . My buddy got larger drives and gave me his old drives.


    However, the real issue seems to be invalid user at keyboard. When I thought this through my scenario was that I was using Transmit (which if you are not aware) is a macos ftp client that also interacts with Dropbox. What I was doing was using my macbook to download files form Dropbox and save them to a Samba share that was being served my local OMV NAS.


    So the client was transmit, and almost certainly the quota error was coming form the api on the dropbox "server".


    Anyway thanks for the help, wanted to close the loop. That leads me to a new question which I'll ask in a new thread.

  • Recently, the quota service is enabled by default (I'm using the latest version of OMV 4.1.17-1).
    Entries in fstab now all include: usrjquota=aquota.user,grpjquota=aquota.group
    I never have setup quotas and my hard disks are all new.


    I disabled the service using quotaoff, is it safe to remove the quota package completely? Can I move the fstab options as well?


    Thanks for your time.

  • What is the harm in leaving it as you have it now?

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


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

    • Offizieller Beitrag

    is it safe to remove the quota package completely?

    You can't. It is a dependency of the openmediavault package. Removing it will remove OMV. https://github.com/openmediava…avault/debian/control#L19


    Can I move the fstab options as well?

    Editing fstab will be overwritten at a later point. You will have to edit the mntent entry in /etc/openmediavault/config.xml and then omv-mkconf fstab if you want to get rid of those options the permanent way.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

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