[root@host]# df -h
df: cannot read table of mounted file systems
[root@host]# cat etc/mtab
(nothing)
[root@host]# lvdisplay
Parse error at byte 6 (line 1): unexpected token
This is often related to a disk space issue. A post from insanelabs.com recommended freeing up space and then rebuilding /etc/mtab from /proc/mounts like so:[root@host]# grep -v rootfs /proc/mounts > /etc/mtab
Seemed to do the trick, df is now returning expected results.
'오류해결' 카테고리의 다른 글
MS오피스 네트워크 폴더 파일 열지 못함 (0) | 2017.06.13 |
---|---|
윈도7 네트워크 불가 문제 해결 (0) | 2017.02.24 |
인터넷뱅킹 엑셀 저장 후 파일 사라짐 (0) | 2012.10.02 |