Solved

Terminate Open File Handles To Eject Backup Tape

Posted on 2009-05-10
4
634 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
Comment Utility
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
Comment Utility
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
Comment Utility
Thank you for the assistance.
0
 

Author Comment

by:Pivnardo
Comment Utility
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

Save on storage to protect fatherhood memories

You're the dad who has everything. This Father's Day, make sure your family memories are protected. My Passport Ultra has automatic backup and password protection to keep your cherished photos and videos safe. With up to 3TB, you have plenty of room to hold the adventures ahead.

Join & Write a Comment

If you are a user of the discontinued Microsoft Office Accounting 2008 (MSOA) and have to move to a new computer running Windows 8, you will be unhappy to discover that it won't install.  In particular, Microsoft SQL Server 2005 Express Edition (SSE…
Moving your enterprise fax infrastructure from in-house fax machines and servers to the cloud makes sense — from both an efficiency and productivity standpoint. But does migrating to a cloud fax solution mean you will no longer be able to send or re…
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…

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now