遇到df -h 卡死 或者 xfs磁盤無法格式化(等待時間很長)的情況:
01.安裝strace工具
yum install strace
02.檢查df -h時,卡在什麼地方了
strace df -h
發現卡在了/proc/sys/fs/binfmt_misc
03.重啓這個服務
systemctl restart proc-sys-fs-binfmt_misc.automount
遇到df -h 卡死 或者 xfs磁盤無法格式化(等待時間很長)的情況:
01.安裝strace工具
yum install strace
02.檢查df -h時,卡在什麼地方了
strace df -h
發現卡在了/proc/sys/fs/binfmt_misc
03.重啓這個服務
systemctl restart proc-sys-fs-binfmt_misc.automount