* Tape problem
@ 1996-09-25 4:00 Larry Craton
1996-09-25 4:00 ` Murray S. Kucherawy
1996-09-27 4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
0 siblings, 2 replies; 5+ messages in thread
From: Larry Craton @ 1996-09-25 4:00 UTC (permalink / raw)
We are trying to migrate from an SCO Unix platform to a DEC 8400
running Dec Unix 3.2 (quite a jump!) and are having troubles with
reading tapes on the 8400. Using a TZ87, a TZ88, and a generic 8mm
drive we have the same problem every time with every tape drive.
Data backed is backed up on the SCO system but comes across as
corrupted when read on the 8400. The backup tapes are fine since
we can restore on SCO.
Investigating further it seems that only the first logical block
restored from the tape is correct (on the 8400) and that data
past that point is scrambled (verified by using dd and cmp).
If I use dd on the 8400 I can make the first N bytes restore
correctly by using bs=N (for N up to 200MB) but data from the
2nd block on is scrambled.
BTW: Backup and restore works fine 8400 to 8400 or SCO to SCO.
Since we have quite a few GB to transfer, we really need a solution.
Does anyone have any ideas or hints on this?
Thanks,
Larry
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Tape problem
1996-09-25 4:00 Tape problem Larry Craton
@ 1996-09-25 4:00 ` Murray S. Kucherawy
1996-09-27 4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1 sibling, 0 replies; 5+ messages in thread
From: Murray S. Kucherawy @ 1996-09-25 4:00 UTC (permalink / raw)
In article <32498A9E.5A3@cadvision.com>,
Larry Craton <dashl@insight.com> wrote:
>Since we have quite a few GB to transfer, we really need a solution.
>Does anyone have any ideas or hints on this?
If you're just doing machine-to-machine copy, there are lots of solutions:
=> tar cf - /path/blah | (rsh decbox 'cd /destination; tar sxvf -')
=> as above but use "cpio"
=> as above but use "dd"
=> NFS-mount the SCO partitions to the DEC UNIX machine and do a "tar"
or "cp -r" from the network disk to the local one
=> NFS-mount the DEC UNIX partitions to the SCO machine and do a "tar"
from the network disk to the local one
If you have to involve the tape drive, the NFS solutions could be used to
create the tape dump, and then just dump back from tape. As long as the
same O/S is being used to create the backup, you should be fine.
--
Murray S. Kucherawy ====================================== mskucher@hookup.net
Vice-President, Software Services HookUp Communication Corporation
(905) 847-8000 NIC Handle "MSK" Oakville, Ontario, CANADA
-- No matter who you vote for, the government always gets in. --
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Tape problem
1996-09-27 4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
@ 1996-09-27 4:00 ` Larry Craton
1996-10-02 4:00 ` Al Slater
0 siblings, 1 reply; 5+ messages in thread
From: Larry Craton @ 1996-09-27 4:00 UTC (permalink / raw)
Alan Rollow - Dr. File System's Home for Wayward Inodes. wrote:
>
> In article <32498A9E.5A3@cadvision.com>, Larry Craton <dashl@cadvision.com> writes:
> >
> >Investigating further it seems that only the first logical block
> >restored from the tape is correct (on the 8400) and that data
> >past that point is scrambled (verified by using dd and cmp).
> >If I use dd on the 8400 I can make the first N bytes restore
> >correctly by using bs=N (for N up to 200MB) but data from the
> >2nd block on is scrambled.
>
> First, what you are using for the backup? Dump/restore are not
> interchange program and you can't expect a dump made one operating
> system to be read on a different one. For interchange you should
> use tar or cpio.
>
> Assuming you are, what is block size used on the SCO system? Both
> tar and cpio support options to use a block other than the default,
> which could be different than what is used on the SCO system.
>
> >Larry
>
> --
> Alan Rollow alan@nabeth.cxo.dec.com
Ah.. The problem turned out to be a SCSI tape issue on the SCO
side. A SCO patch for variable tape blocking was required in order
for cpio to work correctly. (BTW: kudos to DEC software support
for pointing me in the right direction for this problem.)
Thanks, -Larry
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Tape problem
1996-09-25 4:00 Tape problem Larry Craton
1996-09-25 4:00 ` Murray S. Kucherawy
@ 1996-09-27 4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1996-09-27 4:00 ` Larry Craton
1 sibling, 1 reply; 5+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 1996-09-27 4:00 UTC (permalink / raw)
In article <32498A9E.5A3@cadvision.com>, Larry Craton <dashl@cadvision.com> writes:
>
>Investigating further it seems that only the first logical block
>restored from the tape is correct (on the 8400) and that data
>past that point is scrambled (verified by using dd and cmp).
>If I use dd on the 8400 I can make the first N bytes restore
>correctly by using bs=N (for N up to 200MB) but data from the
>2nd block on is scrambled.
First, what you are using for the backup? Dump/restore are not
interchange program and you can't expect a dump made one operating
system to be read on a different one. For interchange you should
use tar or cpio.
Assuming you are, what is block size used on the SCO system? Both
tar and cpio support options to use a block other than the default,
which could be different than what is used on the SCO system.
>Larry
--
Alan Rollow alan@nabeth.cxo.dec.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Tape problem
1996-09-27 4:00 ` Larry Craton
@ 1996-10-02 4:00 ` Al Slater
0 siblings, 0 replies; 5+ messages in thread
From: Al Slater @ 1996-10-02 4:00 UTC (permalink / raw)
Larry Craton (dashl@cadvision.com) wrote:
: Alan Rollow - Dr. File System's Home for Wayward Inodes. wrote:
: >
: > In article <32498A9E.5A3@cadvision.com>, Larry Craton <dashl@cadvision.com> writes:
: > >
: > >Investigating further it seems that only the first logical block
: > >restored from the tape is correct (on the 8400) and that data
: > >past that point is scrambled (verified by using dd and cmp).
: > >If I use dd on the 8400 I can make the first N bytes restore
: > >correctly by using bs=N (for N up to 200MB) but data from the
: > >2nd block on is scrambled.
: >
: > First, what you are using for the backup? Dump/restore are not
: > interchange program and you can't expect a dump made one operating
: > system to be read on a different one. For interchange you should
: > use tar or cpio.
: >
: > Assuming you are, what is block size used on the SCO system? Both
: > tar and cpio support options to use a block other than the default,
: > which could be different than what is used on the SCO system.
: >
: > >Larry
: >
: > --
: > Alan Rollow alan@nabeth.cxo.dec.com
: Ah.. The problem turned out to be a SCSI tape issue on the SCO
: side. A SCO patch for variable tape blocking was required in order
: for cpio to work correctly. (BTW: kudos to DEC software support
: for pointing me in the right direction for this problem.)
Which, ISTR, is only needed on 3.2v4.X, under the patch uod376c ...
3.2v5.X \should\ do the Right Thing as is.
regards,
al
(not speaking for HP..)
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1996-10-02 4:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-09-25 4:00 Tape problem Larry Craton
1996-09-25 4:00 ` Murray S. Kucherawy
1996-09-27 4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1996-09-27 4:00 ` Larry Craton
1996-10-02 4:00 ` Al Slater
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox