首页 > 系统服务 > 详细

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

时间:2018-05-26 18:13:58      阅读:961      评论:0      收藏:0      [点我收藏+]

书上命令

[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

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

原文:https://www.cnblogs.com/shoubituling/p/9093812.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!