Menu

Does usrquota work in ARM using an SD Card formatted with ext4?

Help
jetm
2020-12-12
2020-12-14
  • jetm

    jetm - 2020-12-12

    Hi,

    Without success, I cannot mount a SD card with usrquota in an ARM HW. The SD Card is formatted with ext4. Does quota work in ARM using an SD Card formatted with ext4?

    $ mount -t ext4 /dev/mmcblk0p5 /sdcard -o rw,usrquota
    $ mount | grep sdcard
    /dev/mmcblk0p5 on /sdcard type ext4 (rw,relatime)
    
    $ zcat /proc/config.gz | grep QUOTA
    CONFIG_NETFILTER_XT_MATCH_QUOTA=m
    CONFIG_QUOTA=y
    # CONFIG_QUOTA_NETLINK_INTERFACE is not set
    CONFIG_PRINT_QUOTA_WARNING=y
    # CONFIG_QUOTA_DEBUG is not set
    CONFIG_QUOTA_TREE=y
    CONFIG_QUOTACTL=y
    

    Linux kernel v4.19.68
    Quotatools v4.05

    Thanks,
    Javier

     
  • Jan Kara

    Jan Kara - 2020-12-14

    Hello,

    Yes, the quota should normally work in this setup. Furthermore AFAIU the problem you see is that the 'usrquota' mount option is not visible in the mount(8) output? What is in /proc/mounts? Can you see 'usrquota' there? Also I'd suggest that with relatively recent kernel like this, you use ext4 quota feature (create the filesystem with -O quota, or use tune2fs to turn the feature on an existing filesystem and then e2fsck to update quota accounting information).

    Honza

     

Log in to post a comment.

MongoDB Logo MongoDB