proyectos:linuxservidor-store-lo-cuotas
Diferencias
Muestra las diferencias entre dos versiones de la página.
Próxima revisión | Revisión previa | ||
proyectos:linuxservidor-store-lo-cuotas [2019/11/13 00:45] – creado manuel.floresv | proyectos:linuxservidor-store-lo-cuotas [2020/01/19 01:34] (actual) – [Referencias] manuel.floresv | ||
---|---|---|---|
Línea 1: | Línea 1: | ||
====== Para que son las Cuotas ====== | ====== Para que son las Cuotas ====== | ||
====== Ext4 ====== | ====== Ext4 ====== | ||
+ | <code bash> | ||
apt install quota | apt install quota | ||
quotacheck | quotacheck | ||
quotaon | quotaon | ||
- | requota | + | repquota |
echo '/ | echo '/ | ||
- | |||
mount -o remount,rw /mnt/raid/ | mount -o remount,rw /mnt/raid/ | ||
+ | mount |grep raid | ||
chmod 777 /mnt/raid/ | chmod 777 /mnt/raid/ | ||
- | |||
quotacheck | quotacheck | ||
- | |||
quotaon -a | quotaon -a | ||
- | |||
edquota -u lisa | edquota -u lisa | ||
+ | su - lisa | ||
+ | dd if=/ | ||
- | su - lisa | + | dd: writing to ' |
+ | |||
+ | repquota | ||
+ | </ | ||
+ | ====== Xfs ====== | ||
+ | |||
+ | Montar el disco | ||
+ | <code bash> | ||
+ | echo '/ | ||
+ | mount -o remount / | ||
+ | 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/ | ||
- | dd if=/ | + | su - lisa |
+ | dd if=/ | ||
dd: writing to ' | dd: writing to ' | ||
+ | </ | ||
+ | ====== Referencias ====== | ||
+ | * https:// | ||
+ | * https:// | ||
+ | * https:// | ||
proyectos/linuxservidor-store-lo-cuotas.1573605954.txt.gz · Última modificación: por manuel.floresv