Solved

Any Windows API for Checking the Space Available in Tape drive along with other backup features

Posted on 2004-04-23
7
189 Views
Last Modified: 2010-04-03
Hi,

 I am developing a utility to take back up on Tape drive. So before I start back up I need to the some of the properties such as drive is ready, Space Available on the drive, etc.

  So I am looking out for an API which can support these requirements.
   
  Can any one guide me?.
  If any sample code is there, that will help me.

Expecting earliest response.
   
Thanks in advance,
Regards
shri.
0
Comment
Question by:kShari
  • 2
  • 2
7 Comments
 
LVL 22

Accepted Solution

by:
dovidmichel earned 100 total points
ID: 10900827
Not so easy.

First off, only some tape drives support reporting space remaining on tape. Those that do only report space remaining as per the native capacity, so once compression is used it will not be acurate.

What difference does it really make, if the tape fills up just span to another tape.

You should be looking at a SCSI reference manual for a tape drive to get an understanding of how they work and here is a link to MSDM Tape Class Driver page.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/storage/hh/storage/04mntape_7xyf.asp

0
 

Author Comment

by:kShari
ID: 10915466
Hi,
dovidmichel, Thanks for information.

   Since I am new to this domain, If I can get some more(Detailed) information would be helpful for me.

Rgds
Shri
0
 
LVL 22

Expert Comment

by:dovidmichel
ID: 10919949
I don't understand, is it that you do not understand my answer and want me to elaborate?
Exactly what is it that you want more details on?
0
 

Author Comment

by:kShari
ID: 11405326

  I coul'd not reply my comments since I was out of my work for the last one month.
I have managed to this problem with the help of the link given by dov.

Thanks
Shri
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Sometimes the best way to deal with an infected computer is to boot from external media and run your tools from there.  The reason you may wish to do this really depends on the infection.  Some malware is so recalcitrant that no matter what you do i…
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.
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 tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

861 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

21 Experts available now in Live!

Get 1:1 Help Now