* tape/tar compatibility between Solaris and OSF/1
@ 1999-11-18 5:00 Ryan Tennant
1999-11-18 5:00 ` Jesper Frank Nemholt
1999-11-19 5:00 ` Massimo Gais
0 siblings, 2 replies; 4+ messages in thread
From: Ryan Tennant @ 1999-11-18 5:00 UTC (permalink / raw)
Hi there. I'm not a tape wizard, so if I'm missing something simple,
let me know.
I created a couple archives on a 4mm DDS-2,120m tape in a 4mm DDS3 drive
on Solaris 2.5.1.
; tar cvfX /dev/rmt/0n excludefile dir1
; tar cvf /dev/rmt/0n dir2
No problems writing to, nor reading from tape on Solaris. I also tested
it with a 4mm DDS2 drive.
I know nothing about OSF/1 tape devices, this is my first time using
them. I now need to extract this data on a Digital OSF/1 4.0 machine
w/4mm DDS2 drive. In trying to read this tape, I receive I/O errors.
; tar tf /dev/nrmt0h
tar: [offset 0]: I/O error
; mt status
DEVIOGET ELEMENT CONTENTS
---------------- --------
category DEV_TAPE
bus DEV_SCSI
interface SCSI
device TLZ09
adpt_num 0
nexus_num 0
bus_num 2
ctlr_num 2
slave_num 3
dev_name tz
unit_num 3
soft_count 0
hard_count 20
stat 0x8
DEV_WRTLCK
category_stat 0x20000
DEV_61000_BPI
DEVGETINFO ELEMENT CONTENTS
media_status 0x10008
WrtProt POS_VALID
unit_status 0x181
Ready 2_FM_Close NO_Rewind Compacting Buffered
record_size 0
density (current) 61000 BPI
density (on write) 0 BPI
Filemark Cnt 0
Record Cnt 1
Class 2 - RDAT
MTIOCGET ELEMENT CONTENTS
---------------- --------
mt_type MT_ISSCSI
mt_dsreg 0x0
mt_erreg 0x0 No error or no sense info.
mt_resid 0
mt_fileno 0
mt_blkno 1
DEV_EEI_STATUS
version 0x2
status 0x0 No EEI status available
flags 0x1000000
CAM_DATA
cam_status 0x0 No CAM status available
scsi_status 0x0 SCSI_STAT_GOOD
scsi_sense_data not valid
I'm rather stuck and I could really use some help on this. If you know
a way to make this transition easier, please let me know. tar is the
preferred archiving method at Company.
Thanks.
Ryan
:: take the REMOVE out of my mail to respond.
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: tape/tar compatibility between Solaris and OSF/1
1999-11-18 5:00 tape/tar compatibility between Solaris and OSF/1 Ryan Tennant
@ 1999-11-18 5:00 ` Jesper Frank Nemholt
1999-11-19 5:00 ` Massimo Gais
1 sibling, 0 replies; 4+ messages in thread
From: Jesper Frank Nemholt @ 1999-11-18 5:00 UTC (permalink / raw)
Ryan Tennant wrote:
>
> Hi there. I'm not a tape wizard, so if I'm missing something simple,
> let me know.
>
> I created a couple archives on a 4mm DDS-2,120m tape in a 4mm DDS3 drive
> on Solaris 2.5.1.
> ; tar cvfX /dev/rmt/0n excludefile dir1
> ; tar cvf /dev/rmt/0n dir2
>
> No problems writing to, nor reading from tape on Solaris. I also tested
> it with a 4mm DDS2 drive.
>
> I know nothing about OSF/1 tape devices, this is my first time using
> them. I now need to extract this data on a Digital OSF/1 4.0 machine
> w/4mm DDS2 drive. In trying to read this tape, I receive I/O errors.
Three things that could go wrong would be incompability between the two
tape drives, and/or some options you need to specify to tar, and/or the
fact that the Solaris tar program has been known to cause problems on
other OS's (try GNU tar instead).
For a start, try to do the opposite ie. make a tar tape on the dunix
machine and try to read it on the Sun.
l8r/Jspr
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: tape/tar compatibility between Solaris and OSF/1
1999-11-18 5:00 tape/tar compatibility between Solaris and OSF/1 Ryan Tennant
1999-11-18 5:00 ` Jesper Frank Nemholt
@ 1999-11-19 5:00 ` Massimo Gais
1999-11-24 5:00 ` Tim Mooney
1 sibling, 1 reply; 4+ messages in thread
From: Massimo Gais @ 1999-11-19 5:00 UTC (permalink / raw)
Ryan Tennant wrote:
>
> Hi there. I'm not a tape wizard, so if I'm missing something simple,
> let me know.
>
> I created a couple archives on a 4mm DDS-2,120m tape in a 4mm DDS3 drive
> on Solaris 2.5.1.
> ; tar cvfX /dev/rmt/0n excludefile dir1
> ; tar cvf /dev/rmt/0n dir2
>
> No problems writing to, nor reading from tape on Solaris. I also tested
> it with a 4mm DDS2 drive.
>
GNU tar is your friend... :-)
-
Massimo Gais <mgais@na.astro.it>
----
"True programmers never die,
they just branch to an odd address..."
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: tape/tar compatibility between Solaris and OSF/1
1999-11-19 5:00 ` Massimo Gais
@ 1999-11-24 5:00 ` Tim Mooney
0 siblings, 0 replies; 4+ messages in thread
From: Tim Mooney @ 1999-11-24 5:00 UTC (permalink / raw)
In article <3834F9B0.52D509FE@na.astro.it>,
Massimo Gais <mgais@na.astro.it> wrote:
> Ryan Tennant wrote:
> >
> > Hi there. I'm not a tape wizard, so if I'm missing something simple,
> > let me know.
> >
> > I created a couple archives on a 4mm DDS-2,120m tape in a 4mm DDS3 drive
> > on Solaris 2.5.1.
> > ; tar cvfX /dev/rmt/0n excludefile dir1
> > ; tar cvf /dev/rmt/0n dir2
It shouldn't matter for this, but you should probably get in the habit of
using the tape device files that guarantee Berkeley-close behavior, i.e. always
use the device file that has the `b' in the name.
> > No problems writing to, nor reading from tape on Solaris. I also tested
> > it with a 4mm DDS2 drive.
> >
>
> GNU tar is your friend... :-)
Anyone else noticed that more and more packages that have been tar'ed using
a recent version of GNU tar cause an error with the Digital Unix tar command?
Either GNU tar or Digital/Tru64 tar is doing something wrong. I'm seeing more
and more instances where unpacking an archive ends with:
tar: Ready for volume 2
tar: Type "go" when ready to proceed (or "q" to abort):
--
Tim Mooney mooney@dogbert.cc.ndsu.NoDak.edu
Information Technology Services (701) 231-1076 (Voice)
Room 242-J1, IACC Building (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1999-11-24 5:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-11-18 5:00 tape/tar compatibility between Solaris and OSF/1 Ryan Tennant
1999-11-18 5:00 ` Jesper Frank Nemholt
1999-11-19 5:00 ` Massimo Gais
1999-11-24 5:00 ` Tim Mooney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox