Thursday, August 4, 2011

Kill busy device for umount

# umount /dev/dsk/c0t2d0s7

The following command will display all processes and their associated users that are using files/directories on a specified disk on a Sun Solaris system:

# fuser -u /dev/dsk/c0t2d0s7

You can use the -k option to kill all processes using the specified file or filesystem

# fuser -k /dev/dsk/c0t2d0s7

No comments:

Post a Comment