如何强制umount
1、查看挂载时
[root@server1 ~]# mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/dev/sda1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
/home/rhel-server-5.4.iso on /mnt type iso9660 (rw,loop=/dev/loop0)
2、进行umount,但是提示device is busy,无法umount
[root@server1 ~]# umount /mnt
umount: /mnt: device is busy
umount: /mnt: device is busy
3、采用fuser来强制kill进程
[root@server1 ~]# fuser -km /mnt
/mnt: 124456c
4、进行正常umount
[root@server1 ~]#umount /mnt