proyectos:linuxservidor-store-lo-cuotas
Diferencias
Muestra las diferencias entre dos versiones de la página.
Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previa | ||
proyectos:linuxservidor-store-lo-cuotas [2019/11/13 00:52] – 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 | ||
Línea 10: | Línea 10: | ||
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 | su - lisa | ||
- | |||
dd if=/ | dd if=/ | ||
dd: writing to ' | dd: writing to ' | ||
- | |||
repquota | repquota | ||
+ | </ | ||
====== Xfs ====== | ====== Xfs ====== | ||
Montar el disco | Montar el disco | ||
+ | <code bash> | ||
echo '/ | echo '/ | ||
- | |||
mount -o remount /mnt/raid/ | mount -o remount /mnt/raid/ | ||
- | |||
umount /mnt/raid | umount /mnt/raid | ||
- | |||
mount /mnt/raid | mount /mnt/raid | ||
- | |||
xfs_quota -x -c 'limit bsoft=10m bhard=20m linda' /mnt/raid | xfs_quota -x -c 'limit bsoft=10m bhard=20m linda' /mnt/raid | ||
- | |||
xfs_quota -x -c report /mnt/raid | xfs_quota -x -c report /mnt/raid | ||
- | |||
chmod 777 /mnt/raid/ | chmod 777 /mnt/raid/ | ||
- | |||
su - lisa | su - lisa | ||
- | |||
dd if=/ | dd if=/ | ||
dd: writing to ' | dd: writing to ' | ||
- | + | </ | |
+ | ====== Referencias ====== | ||
+ | * https:// | ||
+ | * https:// | ||
+ | * https:// | ||
proyectos/linuxservidor-store-lo-cuotas.1573606339.txt.gz · Última modificación: por manuel.floresv