Hi,
The solution was to use the BSD compatibility drivers (/dev/rmt/0bn) instead
of /dev/rmt/0n.. as described by Kevin Davidson below.
>>>>> Kerry Jones <k.jones@pearl.aims.gov.au> writes:
k.jones> Hi Fellow Sun Managers,
k.jones> I am having some trouble with the public domain vmsbackup
program..(running
k.jones> on a SPARCserver 20 running Solaris 2.5)..
k.jones> I keep getting the following error..
k.jones> Volume: 1152
k.jones> Saveset name: DAT190591.BCK number: 1
k.jones> bad block read i = -1
Kevin Davidson:
I built this a while ago and couldn't get it to work properly
either. I think it was something to do with the Solaris tape driver's
End Of File behaviour. Unlike BSD, the System V driver leaves the tape
head just *before* the EOF mark, so you need to skip the EOF before
reading the next block. VMS uses EOF markers between header and data
blocks, so once vmsbackup had read the header it expected to be able
to start reading the data blocks and immediately came up against an EOF.
Perhaps using one of the BSD compatibility drivers would work (ie
/dev/rmt/0bn) ? I ended up using dd as I was in too much of a hurry to
experiment further.
-- |Kevin.Davidson@edinburgh.ac.uk +-+ Centre for Cognitive Science/HCRC, | |tkld@cogsci.ed.ac.uk | | University of Edinburgh, | |+44 (0)131 650 6879 .oOo. | | 2 Buccleuch Place, EH8 9LW. .oOo. | `-------------------------------' `-------------------------------------------'..................................................................... Kerry Jones, UNIX System Manager __ __ Australian Institute of Marine Science, / `-' ) ,,, Townsville, Australia. | [====||||||||||[:::} k.jones@aims.gov.au \__.-._\ ``` Ph: (077) 534 400 http://www.aims.gov.au/~kjones .....................................................................
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:01 CDT