問題狀況:session
Oracle@NDMCDB05:~> df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 16G 331M 15G 3% /
udev 12G 748K 12G 1% /dev
/dev/sda10 1.1G 73M 956M 8% /boot
/dev/sda9 11G 33M 10G 1% /core
/dev/sda6 41G 15G 26G 37% /home
/dev/sda5 11G 1.2G 8.9G 12% /opt
/dev/sda7 21G 6.8G 14G 34% /oracle
/dev/sda8 11G 2.5G 7.6G 25% /tmp
/dev/sda11 5.1G 2.6G 2.5G 51% /usr
/dev/sda12 2.1G 1.3G 725M 65% /var
shmfs 14G 9.4G 4.7G 68% /dev/shm
/dev/mapper/vgopt-lvarchive
100G 4.8G 96G 5% /home/oracle/archiveoracle
只要運行df命令,該session立刻掛死,使用ctrl + C也不能終止。app
解決辦法:ide
方法1:spa
使用root用戶:
oracle@NDMCDB05:~> su -
Password:
NDMCDB05:~ # cat /etc/mtab
/dev/sda2 / reiserfs rw,acl,user_xattr 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
debugfs /sys/kernel/debug debugfs rw 0 0
udev /dev tmpfs rw 0 0
devpts /dev/pts devpts rw,mode=0620,gid=5 0 0
/dev/sda6 /home reiserfs rw,acl,user_xattr 0 0
/dev/sda5 /opt reiserfs rw,acl,user_xattr 0 0
/dev/sda7 /usr reiserfs rw,acl,user_xattr 0 0
/dev/sda8 /var reiserfs rw,acl,user_xattr 0 0
shm /dev/shm tmpfs rw,size=24g 0 0
proc /var/lib/ntp/proc proc rw 0 0
/dev/mapper/vgopt-lvarchive /home/oracle/archive reiserfs rw 0 0
192.168.121.23:/mnt/ws1_fs/db_backup /backup nfs rw,addr=192.168.121.23 0 0
NDMCDB05:~ #
將上面文件中掛載nfs的整行刪除(標紅),保存退出便可!!debug
方法2:orm
等待NFS server故障恢復,nfs重啓啓用後,df命令掛死問題解決,但有可能須要從新掛載一下nfs才能夠。server