"Jacob D Sheck (Jacob D. Sheck)" wrote: > > I have a drive that I mount for just storage. When I a want to do a > backup, I just "mount /dev/hdd /storage", I use my favorite backup > software, and then I am done. The HDD drive is not the most reliable > drive in the world and at times I start getting IO failures from it, > (usless hardware company name here) drives me nuts. My load average goes > through the roof after a while. How do I stop all the processes that have > handles to the drive, so that I can umount it? I try to do a umount, but > it responds that the drive is in use. The only app that I have that would > touch it is my backup, and I konw it is done. > > Thanks in advanced. > Jacob >
Try the fuser command, specifically 'fuser -m /storage' and then a 'ps -fp PID', where PID is one of the process id numbers returned by fuser. Use kill to send an appropriate signal to each process. This can be done automatically. See the man page for fuser(1) for more details (man fuser). -- Danial Micheal Howard IT Programmer/Analyst Associate Computing and Communications, Idaho State University _______________________________________________ Seawolf-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/seawolf-list