Solved

Terminate Open File Handles To Eject Backup Tape

Posted on 2009-05-10
4
639 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.
0
Comment
Question by:Pivnardo
  • 3
4 Comments
 
LVL 5

Accepted Solution

by:
sykojester earned 500 total points
ID: 24349733
I had a similar issues with tapes not ejecting after a backup completed.  I think the software the customer was using was ARCServ.  I found that stopping & starting the services from the backup software fixed the problem so I simply wrote a batch script to stop & start them & scheduled the task to run around 6am (well after the backup completed based on the logs).

Sometimes it's just the backup software itself.  Check to see if updates are available for both your backup software & the RD1000 unit.
0
 

Author Comment

by:Pivnardo
ID: 24351409
using acronis true image backup for sbs.  latest download from them.  also ther is mo service to bounce from what i see in acronis.  the RD-1000 is uptodate in firmware and service driver.  worked with Dell and got no where.
problem is then I need to restart IIS and Exchange every night to accomplish the task.  not the most desirable solution.  this solution borders along the lines of restarting the server each night.
thnk you for the responce ... i just hope there is a better way.
0
 

Author Closing Comment

by:Pivnardo
ID: 31579971
Thank you for the assistance.
0
 

Author Comment

by:Pivnardo
ID: 24440591
If I stopped and restarted all the exchange and IIS services in their recommended order ... the handles would be gone and I can eject the tape.
I had to use the Sys Internals program called "handle" to find what apps/services were related to the handles.  After doing so I then know what had to be restarted.
 
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I previously wrote an article addressing the use of UBCD4WIN and SARDU. All are great, but I have always been an advocate of SARDU. Recently it was suggested that I go back and take a look at Easy2Boot in comparison.
Concerto Cloud Services, a provider of fully managed private, public and hybrid cloud solutions, announced today it was named to the 20 Coolest Cloud Infrastructure Vendors Of The 2017 Cloud  (http://www.concertocloud.com/about/in-the-news/2017/02/0…
This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question