We help IT Professionals succeed at work.
Get Started

Terminate Open File Handles To Eject Backup Tape

Pivnardo
Pivnardo asked
on
674 Views
Last Modified: 2013-11-14
I can not eject the backup tape after the backup runs after each night.  There is an RD-1000 from Dell being used as the backup which is bascally a SATA removable disk.  There is an service that Dell uses to eject the tape called RXMON.  The service works properly and the tape will eject fine as long as the backup has not run.  It may not evern be the backup causing the problem but somthing running every night leaves open handles to the drive.  When the command is sent to eject the tape it says that it is busy and can not eject.

I have used Sysinternals "handle.exe" to browse for what is locking the drive busy.  I have found 4 processes which equate to IIS and Exchange !!!! What .... Do not know why that care about the drive or when they keep accessing it.  Perhaps an index process or somthing but what ever it is it is causing me to not be able to eject the tape !!!

I believe the easiest resolution is to terminate all of the open handles to the device so that the normal eject will function properly.  I am of course open to other sujestions.  The handle.exe program lets me see the open handles but the close command is not very suiting.  It requires the PID in HEX to close the handle.  Problem is the PID changes each time and I have to do a HEX conversion in a script along with parsing .... AHhhhhahahhh!  Please someone help, this should not be this difficult.
Comment
Watch Question
Systems Administrator
Commented:
This problem has been solved!
Unlock 1 Answer and 4 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE