EXT4 quotas

  • I'm investigating updating OMV6->7 and ran omv-salt stage run deploy which produced a lot of output including a failure regarding EXT4 quotas and the following error:-

    Quote

    quotacheck: Your kernel probably supports ext4 quota feature but you are using external quota files. Please switch your filesystem to use ext4 quota feature as external quota files on ext4 are deprecated

    The drive in question is a backup drive and needs no quotas, so I turned off quotas, but fstab and mntab still contain the external file options and even after a reboot omv-salt stage run deploy still has the error.


    What's the best way to remove those deprecated options so no more quotacheck errors?


    Looking further into this, the docs for OMV7 still show the same default mount options for ext4 which means the error will persist unless OMV config is manually edited. Should the latest version not have these defaults modified so there is no error?

  • Nice and simple. Thanks.


    I've unmounted that drive now, ready to run the upgrade. I'll add that plugin once the upgrade has finished and before I mount that drive.


    Still a puzzle though why the latest version of OMV defaults to using options that are deprecated.

  • The reason I thought that is that the docs for v7 state the ext4 defaults as:-


    Code
    OMV_FSTAB_MNTOPS_EXT4="defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0"

    which I think is the deprecated old external file method.


    However, I just remounted that drive and its new entry in fstab is now:-


    defaults,nofail,user_xattr,usrquota,grpquota,acl


    so just the newer scheme and not the older external file system that has been deprecated. It is possible that disc was originally set up when first installing OMV, possibly even before v5 so probably a hangover from that. I guess unmounting and remounting is probably all that was needed.


    Live and learn. ^^

Participate now!

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