Operating System - HP-UX
1753747 Members
4986 Online
108799 Solutions
New Discussion юеВ

Re: tar command: end of tape

 
MD.IMTEYAZUL HASSAN
Contributor

tar command: end of tape

#uname -a
HP-UX rebar01 B.11.23 U ia64 2054344757
unlimited-user license
#bdf
Filesystem Kilobytes Used
/dev/vg02/lvol1 40960000 11123323
avail %used Mounton
27980035 28% /u01

#cd /u01/hotbackup
tar -cvf /dev/rmt/0m *.*
The above comaand is running very well but i received a message as given below.
"tar command: end of tape, to continue enter device/file name when ready or null string to quit"
what sould i do for the same.please suggest
11 REPLIES 11
Dennis Handly
Acclaimed Contributor

Re: tar command: end of tape

What kind of tape/drive do you have and how much data are you putting on it? All 11 Gb?
Have you rewound the tape? (Hmm, it is a rewind device.)
Michael Steele_2
Honored Contributor

Re: tar command: end of tape

Hi

Is the file system set to largefiles? Do you have all the latest tar patches?

Also, check cstm for SCSI resets

cstm<<-EOF
runutil logtool
rs
EOF

I'm inclined to believe you have a bad cable to the tape that is not terminated properly or needs to be replaced.

Support Fatherhood - Stop Family Law
Steven Schweda
Honored Contributor

Re: tar command: end of tape

> I'm inclined to believe you have a bad
> cable to the tape that is not terminated
> properly or needs to be replaced.

Why? Because the tape has been filled?

> "tar command: end of tape, to continue
> enter device/file name when ready or null
> string to quit"

Uh, if the tape is full, why not follow the
instructions, and load a second tape, and
then tell the program where to find the
second tape?

With my weak psychic powers, I have no idea
what kind of drive "/dev/rmt/0m" might be, so
I don't know how much it should hold.
Michael Steele_2
Honored Contributor

Re: tar command: end of tape

Boy your a real smart one. SCSI resets and forum research.

(* which you clearly did not perform *)
Support Fatherhood - Stop Family Law
Patrick Wallek
Honored Contributor

Re: tar command: end of tape

>>SCSI resets and forum research.

And how do you infer that SCSI resets are an issue based on the information given?

As much as I hate to admit, Steven has a point. With the information given, my advice would also be to insert another tape.

Michael Steele_2
Honored Contributor

Re: tar command: end of tape

SCSI will be verified via logtool

Other threads in the forum with the same issue
Support Fatherhood - Stop Family Law
Hakki Aydin Ucar
Honored Contributor
Hakki Aydin Ucar
Honored Contributor

Re: tar command: end of tape

Steven Schweda
Honored Contributor

Re: tar command: end of tape

> Boy your a real smart one.

Smart enough not to go looking for exotic
hardware problems when a tape gets full.

Well enough educated to use "your" and
"you're" correctly, too.