2018-05-25 《鸟哥的Linux私房菜 基础学习篇(第四版)》 第14章 磁盘配额(Quota)与进阶文件系统管理 笔记

书上命令

[root@study ~]# umount /home
实操命令

[root@localhost lib]# umount /home
报错
umount: /home:目标忙。
        (有些情况下通过 lsof(8) 或 fuser(1) 可以
         找到有关使用该设备的进程的有用信息)
解决办法:重启电脑

书上命令
[root@study ~]# xfs_quota -x -c "timer -ug -b 14days" /home
报错
timer [-bir] [-g|-p|-u] value -- set quota enforcement timeouts
解决办法:u和g参数分开写:
[root@study ~]# xfs_quota -x -c "timer -u -b 14days" /home
[root@study ~]# xfs_quota -x -c "timer -g -b 14days" /home

猜你喜欢

转载自www.cnblogs.com/shoubituling/p/9093812.html