"在Linux下调整LVM分区大小" 修訂間的差異
從 YTYZX有图有真相的百科
(创建页面,内容为“XFS是centos7 操作系统默认软件系统,XFS只能扩大不能缩小”) |
|||
行 1: | 行 1: | ||
XFS是centos7 操作系统默认软件系统,XFS只能扩大不能缩小 | XFS是centos7 操作系统默认软件系统,XFS只能扩大不能缩小 | ||
+ | |||
+ | |||
+ | |||
+ | [root@localhost ~]# umount /home/ | ||
+ | umount: /home: device is busy. | ||
+ | (In some cases useful info about processes that use | ||
+ | the device is found by lsof(8) or fuser(1)) | ||
+ | |||
+ | 如提示无法卸载,则是有进程占用/home,使用如下命令终止占用进程: | ||
+ | [root@localhost ~]# fuser -m -k /home | ||
+ | |||
+ | -k 表示自动把霸占home分区的进程kill掉! |
於 2017年10月19日 (四) 16:04 的修訂
XFS是centos7 操作系統默認軟件系統,XFS只能擴大不能縮小
[root@localhost ~]# umount /home/ umount: /home: device is busy. (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1))
如提示無法卸載,則是有進程佔用/home,使用如下命令終止佔用進程: [root@localhost ~]# fuser -m -k /home
-k 表示自動把霸佔home分區的進程kill掉!