* Tape mirroring using dd
@ 1999-02-15 5:00 Richard Abraham
1999-02-16 5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1999-02-17 5:00 ` Christian Krackowizer
0 siblings, 2 replies; 5+ messages in thread
From: Richard Abraham @ 1999-02-15 5:00 UTC (permalink / raw)
Dear List:
I have an alpha running Digital Unix with two tape drives of
different format (8mm and TK87) attached), I want to mirror
one tape on the other without having to download the data
to disk in between.
I thought dd would work, specifying one tape drive as the if
and the other as the of.
It appears to work but when attempting to extract from the
new tape only the first file comes off. The second seems
corrupted.
Does anyone know if this should work or not and why? If
you do a reply would be very much appreciated.
Thanks in advance.
Richard Abraham
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Tape mirroring using dd
1999-02-15 5:00 Tape mirroring using dd Richard Abraham
@ 1999-02-16 5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1999-02-17 5:00 ` Timo Felbinger
1999-02-17 5:00 ` Christian Krackowizer
1 sibling, 1 reply; 5+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 1999-02-16 5:00 UTC (permalink / raw)
In article <7aa1pi$dd$1@news.gov.on.ca>, "Richard Abraham" <richard.abraham@mnr.gov.on.ca> writes:
>From: "Richard Abraham" <richard.abraham@mnr.gov.on.ca>
>Newsgroups: comp.unix.osf.osf1
>Subject: Tape mirroring using dd
>
>Dear List:
>
>I have an alpha running Digital Unix with two tape drives of
>different format (8mm and TK87) attached), I want to mirror
>one tape on the other without having to download the data
>to disk in between.
>
>I thought dd would work, specifying one tape drive as the if
>and the other as the of.
There's no particular reason it shouldn't work, especially
if you can avoid tape changes. Examples of the commands
you're trying might be useful.
>
>Richard Abraham
--
Alan Rollow alan@nabeth.cxo.dec.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Tape mirroring using dd
1999-02-16 5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
@ 1999-02-17 5:00 ` Timo Felbinger
1999-02-17 5:00 ` Jyrki Havia
0 siblings, 1 reply; 5+ messages in thread
From: Timo Felbinger @ 1999-02-17 5:00 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: TEXT/PLAIN; charset=US-ASCII "Alan Rollow - Dr. File System's Home for Wayward Inodes." <alan@nabeth.cxo.dec.com>, Size: 953 bytes --]
On 16 Feb 1999, Alan Rollow - Dr. File System's Home for Wayward Inodes. wrote:
>
> In article <7aa1pi$dd$1@news.gov.on.ca>, "Richard Abraham" <richard.abraham@mnr.gov.on.ca> writes:
> >
> >I have an alpha running Digital Unix with two tape drives of
> >different format (8mm and TK87) attached), I want to mirror
> >one tape on the other without having to download the data
> >to disk in between.
> >
> >I thought dd would work, specifying one tape drive as the if
> >and the other as the of.
>
> There's no particular reason it shouldn't work, especially
> if you can avoid tape changes. Examples of the commands
> you're trying might be useful.
>
Remember that you will have to issue one dd command _per_file_
on the original tape, and you should use the "no-rewinding"
tape devices (/dev/nrmt*).
--
Timo Felbinger <Timo.Felbinger@quantum.physik.uni-potsdam.de>
Quantum Physics Group
Institute of Physics
University of Potsdam, Germany
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Tape mirroring using dd
1999-02-17 5:00 ` Timo Felbinger
@ 1999-02-17 5:00 ` Jyrki Havia
0 siblings, 0 replies; 5+ messages in thread
From: Jyrki Havia @ 1999-02-17 5:00 UTC (permalink / raw)
Timo Felbinger <timof@uranos.quantum.physik.uni-potsdam.de> writes:
> On 16 Feb 1999, Alan Rollow - Dr. File System's Home for Wayward Inodes. wrote:
> > "Richard Abraham" <richard.abraham@mnr.gov.on.ca> writes:
> > >
> > >different format (8mm and TK87) attached), I want to mirror
> > >one tape on the other without having to download the data
> > >
> > >I thought dd would work, specifying one tape drive as the if
> >
> > There's no particular reason it shouldn't work, especially
> > if you can avoid tape changes. Examples of the commands
> > you're trying might be useful.
> Remember that you will have to issue one dd command _per_file_
> on the original tape, and you should use the "no-rewinding"
> tape devices (/dev/nrmt*).
There is actually a command for copying tapes.
On tapes the blocksize is sometimes significant factror,
and sometimes can not easily be preserved with dd (if
blocksize changes within a file, you may not be able
to do the copying with dd at all).
So, the command tcopy(1) is made. It can (on Digital Unix)
even verify the copying.
--
Jyrki.Havia@Helsinki.FI, University of Helsinki, Computing Centre
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Tape mirroring using dd
1999-02-15 5:00 Tape mirroring using dd Richard Abraham
1999-02-16 5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
@ 1999-02-17 5:00 ` Christian Krackowizer
1 sibling, 0 replies; 5+ messages in thread
From: Christian Krackowizer @ 1999-02-17 5:00 UTC (permalink / raw)
In article <7aa1pi$dd$1@news.gov.on.ca>, richard.abraham@mnr.gov.on.ca says...
>
>Dear List:
>
>I have an alpha running Digital Unix with two tape drives of
>different format (8mm and TK87) attached), I want to mirror
>one tape on the other without having to download the data
>to disk in between.
>
>I thought dd would work, specifying one tape drive as the if
>and the other as the of.
>
>It appears to work but when attempting to extract from the
>new tape only the first file comes off. The second seems
>corrupted.
It should work, BUT you have to consider the different blocksizes. YOu have
to specify the ibs= and obs= qualifier. and check installation tapes etc.,
which contain more than 1 file, which can have differnet ibs/obs !
regards
--
+-----------------------------------------------------------------+
| Krackowizer Christian mailto:kra1@technodat.co.at |
| TECHNODAT Phone: ++43-(0)662-454944-0 |
| CAD/CAM - Systeme fuer Moebel GmbH FAX: ++43-(0)662-454944-9 |
| Jakob-Haringer-Strasse 6 http://www.technodat.co.at/ |
| A-5020 Salzburg / Austria |
+-----------------------------------------------------------------+
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1999-02-17 5:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-02-15 5:00 Tape mirroring using dd Richard Abraham
1999-02-16 5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1999-02-17 5:00 ` Timo Felbinger
1999-02-17 5:00 ` Jyrki Havia
1999-02-17 5:00 ` Christian Krackowizer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox