8. 1. 2009

umount: device is busy

umount: /netapp: device is busy

You can use the fuser command to find out which process was keeping the device busy:

# fuser -m /dev/sdc1
/dev/sdc1: 538
# ps auxw|grep 538
donncha 538 0.4 2.7 219212 56792 ? SLl Feb11 11:25 rhythmbox

You can use the -k option to kill all processes using the specified file or filesystem.
In the following example, the UNIX PIDs 1313 and 1223 will be killed:

# fuser -k /dev/dsk/c0t2d0s7
/dev/dsk/c0t2d0s7: 1313co 1223c

Žádné komentáře: