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!

Tapes written with no tape markers

Status
Not open for further replies.

eckamm

Programmer
May 6, 2002
1
US
I'm using Exabyte and DLT drives on Solaris 2.7 and 2.8.

On some hosts, everything looks good when I write to
tape, but when I read the tape back, I see that all
individual tape files have actually become one. It
looks like tape markers are not being written between
files.

I have used truss to verify that the process I am running
is indeed opening and closing the tape device.

There is an "mtio get" command issued immediately prior
to each close. My understanding is that this command
should not cause a problem, but if I remove it, the problem
goes away.

This process has worked for years, but recently our sysadmin
installed some new patches on some of our systems and the
problem began.

I do not know if it is a coding problem which just worked
by chance in the past, or if it is some kind of O/S, driver
problem.

I also cannot find a good reference on programming tape
devices. I'm basically using open/close/read/write system
calls and ioctl to issue the mtio commands.

Any ideas?









 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top