I'm dealing with a couple of DDS-2 tapes, the owner of which says they were written long ago on a Solaris workstation, but I'm trying to read them in a Linux environment, since with other tapes I've never had problems using dd to dump the entire contents (e.g. tapes written using DOS, Windows NT, Linux tar, etc).
But with these tapes, something weird happens: I'm able to get the first 32KB from the tape, which is the first "file" that seems to contain the volume header, but can't read any data after that, as if mt believes it has reached end-of-tape.
The volume header suggests that there's definitely plenty of data that is supposed to follow, but the tape driver believes that the tape ends there. What could be going on? Did Solaris write these tapes in some sort of nonstandard way? Is there a way to make dd read the tape at an even "lower level", ignoring end-of-file markers?
mt -f /dev/nrst0 eod; mt -f /dev/nrst0 statusshow you're at file 1 or something else?mt -f /dev/rst0 setblk 0to ensure the drive is in variable block size mode, and try to read the tape again.