Quota in Raspberry Pi? The Perfect Server Debian 10

Discussion in 'Installation/Configuration' started by Milly, Apr 2, 2020.

  1. Milly

    Milly Member

    I do tests on a Raspberry Pi (The Perfect Server - Debian 10) but I am sure about how to make Quota work properly:

    lsblk -p
    Code:
    NAME             MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
    /dev/mmcblk0     179:0    0 29.7G  0 disk
    ├─/dev/mmcblk0p1 179:1    0  256M  0 part /boot
    └─/dev/mmcblk0p2 179:2    0 29.5G  0 part /
    

    ln -s /dev/mmcblk0p2 /dev/root

    /etc/fstab
    Code:
    proc            /proc           proc    defaults          0       0
    PARTUUID=767a4d67-01  /boot           vfat    defaults          0       2
    PARTUUID=767a4d67-02  /               ext4    defaults,noatime     0     1
    
    # a swapfile is not a swap partition, no line here
    #   use  dphys-swapfile swap[on|off]  for that
    
    Where should I put ,usrjquota = quota.user, grpjquota = quota.group, jqfmt = vfsv0


    Thank you
     
  2. nhybgtvfr

    nhybgtvfr Well-Known Member HowtoForge Supporter

    Code:
    PARTUUID=767a4d67-02  /               ext4    defaults,noatime,usrjquota = quota.user, grpjquota = quota.group, jqfmt = vfsv0     0     1
    
     
    Milly likes this.

Share This Page