cancel
Showing results for 
Search instead for 
Did you mean: 

tar command: end of tape

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
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.
Michael Steele_2
Honored Contributor

Re: tar command: end of tape

And your personal motto says it all

"..Questions are a burden to others.."

Dude, you got some issues
Support Fatherhood - Stop Family Law
OldSchool
Honored Contributor

Re: tar command: end of tape

largefiles option refers to disk...this is tape...shouldn't matter.

patches might me an issue, althought nothing in the post points to that (yet)

no information provided as to type of tape / drive, so the first supposition would be that the tape is indeed full, so the "what happens if you follow the directions" is a good place to start, followed by:

does this happend with every tar command, or is this just one isolated case?

what happens if you use a new tape from the beginning?

If it's just this one, then the tape is most likely full (which could happen even with a new tape), if everything fails all the time, then the likelyhood of some kind of hardware issue goes up.

I'd start with full / bad tapes before moving on to cables / terminators, as there is nothing here that implicates them yet, either