Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

detecting tape media usage

Status
Not open for further replies.

Alter

MIS
Oct 9, 2001
6
KZ
Hello

Can I detect from command shell how many tape already writed? Is it possible?

Vendor EXABYTE Mammoth tape drive 170M AME
Solaris 2.6

thank you

DPanyukov@mail.ru
 
With the command mt -f /dev/rmt/0cbn eom, you can have the tape drive find the end of written data on the tape and from there you can add further data. You can move through individual saves written to the tape by positioning it at the start of the tape (mt -f /dev/rmt/0cb rewind) and then move through each save using mt -f /dev/rmt/cbn fsf 1 until you reach the end of the data.

I'm not sire if this is what you require, post again if you need to. HTH.
 
Thanx, but I want to know how I can be alerted when there is low space on the tape to avoid an End-of-Media error.
Is it possible to create some script, which can do it.

There ic LCD display on the tape drive, which show free space on the tape, but how to do it by software?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top