We upgraded from Solaris 2.3 to 2.4. I never saw any notice that the
st driver was changing. Be that as it may, it did change. The st
driver now queries the drive to see how big a block the device can
write, and then it uses that block size (unless, of course, you've
gone to set the block size yourself). The consequence is that if
you use C or Fortran (or whatever) to write a tape on 2.4, the block
size may be much larger than before. Which means if you try to take
that tape to an older system, like 4.1.x, the block size will be too
big for the older system to read.
I've called Sun's hotline several times. They've got a mind-set:
they keep wondering whether tapes from old systems can be read....
of course they can. The problem (and it's even pointed out in
the st man page) is that 2.4 tapes won't go to OLDER systems.
Old systems can be read.
Sun's "solution" is to turn the tape drive into a tape drive that
can't write bigger blocks via doctoring st.conf . That's just not
acceptable. The Navy (the U.S. Navy -- you've read about them in books
and stuff) has lots and lots of 4.1.x systems; the Navy once picked Sun
workstations as their standard. Well, we write tapes to send to the
Navy. So we have to be able to write tapes they can read. But we can't
play dog in the manger forever -- someday, a 2.4 tape is going to come
into the building and we'll need to read it.
We have a 2000E with eight tape drives. It's common for all eight to
be in use at once. So we can't just unload and reload the st driver
when the mood strikes us. The people who wrote C and Fortran for the
last 20 years didn't put a "set blocksize" option in their programs.
(20 years is a serious statement -- it may be more, but 20 that I know of.)
So just because dd and so on have such options doesn't help me at all.
I ****MUST**** be able to write tapes compatible with older systems.
(Unless you can get the Navy to upgrade.) I ****CAN'T**** play dog
in the manger forever. I ****CAN'T**** reboot the system like it was
a toy. I ****MUST**** have some way to turn the "old system compatibility
mode" on and off without rebooting/unloading & loading the st driver.
You may be in similar waters. I've already tried lobbying Sun for
a fully-backward compatible tape driver, if you think you're going to
wind up in the same boat, you need to add your voice to mine.
thx.
--
Jay Scott 512-835-3553
Applied Research Labs, Computer Science Div.
University of Texas at Austin