?
Solved

Terminate Open File Handles To Eject Backup Tape

Posted on 2009-05-10
4
Medium Priority
?
649 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 5

Accepted Solution

by:
sykojester earned 2000 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Each year, investment in cloud platforms grows more than 20% (https://www.immun.io/hubfs/Immunio_2016/Content/Marketing/Cloud-Security-Report-2016.pdf?submissionGuid=a8d80a00-6fee-4b85-81db-a4e28f681762) as an increasing number of companies begin to…
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 …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

764 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