问题描述
存储的服务器更换了IP地址,直接挂载会卡住,df -h
命令不好用,同时umount报错:
[root@web176 ~]# umount /u01/app/oracle/oradata/racdb/datafile/
umount.nfs: /u01/app/oracle/oradata/racdb/datafile: device is busy
umount.nfs: /u01/app/oracle/oradata/racdb/datafile: device is busy
问题解决
用umount -l
命令
[root@web176 ~]# umount -l /u01/app/oracle/oradata/racdb/datafile/
[root@web176 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_web176-LogVol00
872G 226G 603G 28% /
tmpfs 63G 29G 35G 46% /dev/shm
/dev/sda1 190M 71M 109M 40% /boot
/dev/mapper/vg_web176-LogVol02
946G 21G 877G 3% /home
192.168.XX.162:/mnt/smba/isisServer
12T 11T 989G 92% /data/xx/exchange
192.168.XX.185:/mnt/data
14T 1.4T 12T 11% /data/xx/exchange01
192.168.XX.184:/mnt/data
14T 1.6T 12T 12% /data/xx/exchange02
192.168.XX.220:/mnt/data
6.0T 4.7T 1023G 83% /data/xx/exchange03
192.168.XX.220:/mnt/data2
12T 3.6T 7.7T 32% /data/xx/exchange04
192.168.XX.67:/mnt/data
8.0T 6.3T 1.3T 84% /data/xx/exchange01_bak
再重新挂载
[root@web176 ~]# mount -t nfs -o rw,hard,bg,rsize=32768,wsize=32768 192.168.XX.66:/xml /u01/app/oracle/oradata/racdb/datafile
[oracle@web176 ~]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_web176-LogVol00
872G 226G 603G 28% /
tmpfs 80G 31G 50G 39% /dev/shm
/dev/sda1 190M 71M 109M 40% /boot
/dev/mapper/vg_web176-LogVol02
946G 21G 877G 3% /home
192.168.XX.162:/mnt/smba/isisServer
12T 11T 989G 92% /data/xx/exchange
192.168.XX.185:/mnt/data
14T 1.4T 12T 11% /data/xx/exchange01
192.168.XX.184:/mnt/data
14T 1.6T 12T 12% /data/xx/exchange02
192.168.XX.220:/mnt/data
6.0T 4.7T 1023G 83% /data/xx/exchange03
192.168.XX.220:/mnt/data2
12T 3.6T 7.7T 32% /data/xx/exchange04
192.168.XX.67:/mnt/data
8.0T 6.3T 1.3T 84% /data/xx/exchange01_bak
192.168.XX.66:/xml 17T 2.3T 15T 14% /u01/app/oracle/oradata/racdb/datafile