1835913 Members
2464 Online
110087 Solutions
New Discussion

tar error

 
SSP_1
Regular Advisor

tar error

Hi ,

Just came across a stange error of "tar: en dof tape ; tar: to continue enter device file name to continue".

This error I am getting just I starts a backup and also this is the 3rd media I am trying on. The media I am using is of 12 GB whereas data to backed up is just of 2 gb .

what may be the cause of it?
Obstacles exist to challenge you to keep going. Not to quit.
7 REPLIES 7
Tracey
Trusted Contributor

Re: tar error

Are you overwriting what is on the tape, or are you just appending your data on the end (-r I beleive)?
Darrell Allen
Honored Contributor

Re: tar error

Hi,

Silly question but did you rewind the tapes first?

Are the tapes new or re-used? At times my used tapes need to have mediainit run on them again (mediainit /dev/rmt/#m).

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
SSP_1
Regular Advisor

Re: tar error

Hi,

Yes I have tried with "rewind" and "mediainit" but still the same error.

confused?"?//??/?
Obstacles exist to challenge you to keep going. Not to quit.
John Bolene
Honored Contributor

Re: tar error

Is the tape compatible with the tape drive?

You cannot use a DDS2 tape in a DDS1 device.

Also hate to gripe, but...

This member has assigned points to 12 of 89 responses to his/her questions.
It is always a good day when you are launching rockets! http://tripolioklahoma.org, Mostly Missiles http://mostlymissiles.com
Sanjay_6
Honored Contributor

Re: tar error

Hi Shripad,

Try replacing the drive. Seems like the drive is defective.

Hope this helps.

Regds
Darrell Allen
Honored Contributor

Re: tar error

Has this problem just started to happen?

Are you specifying a target (destination) file or are you taking the default /dev/rmt/0m?

Try to create a small tar file on the tape, ie: tar cvf /dev/rmt/#m /etc/profile

Any errors in syslog.log?

You may need hardware support.

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
Wodisch
Honored Contributor

Re: tar error

Hello Shripad,

could it be you are trying to backup so-called "sparse files"?
Those need less space on the file-system than their "ls -l" size would make you expect. Use "ls -s" instead, this will show the *real* size (in 512byte blocks, though).

In that case, try using GNU-tar, IIRC it has an option to backup sparse-files...

HTH,
Wodisch