Para que son las Cuotas

Ext4

apt install quota

quotacheck quotaon repquota

echo '/dev/md0 /mnt/raid/ ext4 usrquota,grpquota 0 0' » /etc/fstab

mount -o remount,rw /mnt/raid/

chmod 777 /mnt/raid/

quotacheck -vu lisa

quotaon -a

edquota -u lisa

su - lisa

dd if=/dev/zero of=/mnt/raid/lisadile

dd: writing to 'lisadile': Disk quota exceeded

repquota /mnt/raid/

Xfs

Montar el disco

echo '/dev/md0 /mnt/raid/ xfs uquota 0 0' » /etc/fstab

mount -o remount /mnt/raid/

umount /mnt/raid

mount /mnt/raid

xfs_quota -x -c 'limit bsoft=10m bhard=20m linda' /mnt/raid

xfs_quota -x -c report /mnt/raid

chmod 777 /mnt/raid/

su - lisa

dd if=/dev/zero of=/mnt/raid/lisadile

dd: writing to 'lisadile': Disk quota exceeded