* Summary: Tar and tape question...
@ 2001-12-03 19:52 Shane Southwood
0 siblings, 0 replies; only message in thread
From: Shane Southwood @ 2001-12-03 19:52 UTC (permalink / raw)
To: tru64-unix-managers
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="------_=_NextPart_001_01C17C34.06436BF0", Size: 4493 bytes --]
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C17C34.06436BF0
Content-Type: text/plain;
charset="iso-8859-1"
Original Question:
I've an off-the-wall question for the UNIX guru's on the mailing list. OK,
here goes. Being very unfamiliar with the specifics of how tar and tape
devices inter-relate, I was wondering if there is a way to dump the entire
contents of a tape onto a hard disk for backup onto a CD or just some other
media WITHOUT untarring the files. I realize that untarring and retarring
doesn't do anything to the contents of files, but I was just wondering if it
is possible? If not, I'll write a shell script or do command prompt to pipe
the result of untar to a new tar file...
Thanks for your time admins!
Solution:
The dd program allows you to dump from a device (hmmmm... I wonder where the
name dd came from... ha! ) The proper syntax for the command to do this is
...
dd if=/dev/rmt0h of=/big-file-system/fileset.tar bs=10240
Taking into consideration block size of both input and output and the output
file name...
People who have earned a self-administered pat on the back in no particular
order:
Mehall, Michael R. [michael_r_mehall@md.northgrum.com]
Hines, Bruce D [bruce.hines@eds.com]
George Gallen [ggallen@slackinc.com]
alan@nabeth.cxo.cpqcorp.net
Heinz-Hermann Adam [adamh@nwz.uni-muenster.de]
Robert M. Lang [lang@isis.mit.edu]
Oisin McGuinness [oisin@sbcm.com]
Haesaerts, Corinne [Corinne.Haesaerts@compaq.com]
Greg Freemyer [freemyer@NorcrossGroup.com]
Davis, Alan [Davis@tessco.com]
Frank Wortner [frank@bondnet.com]
------_=_NextPart_001_01C17C34.06436BF0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>Summary: Tar and tape question...</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2 FACE=3D"Arial">Original Question: </FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">I've an off-the-wall question for the =
UNIX guru's on the mailing list. OK, here goes. Being very unfamiliar =
with the specifics of how tar and tape devices inter-relate, I was =
wondering if there is a way to dump the entire contents of a tape onto =
a hard disk for backup onto a CD or just some other media WITHOUT =
untarring the files. I realize that untarring and retarring doesn't do =
anything to the contents of files, but I was just wondering if it is =
possible? If not, I'll write a shell script or do command prompt to =
pipe the result of untar to a new tar file... </FONT></P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Thanks for your time admins! </FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Solution:</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">The dd program allows you to dump from =
a device (hmmmm... I wonder where the name dd came from... ha! ) =
The proper syntax for the command to do this is ...</FONT></P>
<P><FONT SIZE=3D2 FACE=3D"Arial">dd if=3D/dev/rmt0h =
of=3D/big-file-system/fileset.tar bs=3D10240</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Taking into consideration block size =
of both input and output and the output file name... </FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">People who have earned a =
self-administered pat on the back in no particular order:</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Mehall, Michael R. =
[michael_r_mehall@md.northgrum.com]</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Hines, Bruce D =
[bruce.hines@eds.com]</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">George Gallen =
[ggallen@slackinc.com]</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">alan@nabeth.cxo.cpqcorp.net</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Heinz-Hermann Adam =
[adamh@nwz.uni-muenster.de]</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Robert M. Lang =
[lang@isis.mit.edu]</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Oisin McGuinness =
[oisin@sbcm.com]</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Haesaerts, Corinne =
[Corinne.Haesaerts@compaq.com]</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Greg Freemyer =
[freemyer@NorcrossGroup.com]</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Davis, Alan [Davis@tessco.com]</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Frank Wortner =
[frank@bondnet.com]</FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C17C34.06436BF0--
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-12-03 19:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-03 19:52 Summary: Tar and tape question Shane Southwood
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox