Amanda-Users

RE: short write error on amlabel

2006-06-27 10:18:23
Subject: RE: short write error on amlabel
From: <donald.ritchey AT exeloncorp DOT com>
To: <on AT cs.ait.ac DOT th>, <amanda-users AT amanda DOT org>
Date: Tue, 27 Jun 2006 09:08:08 -0500
Olivier:

Check to see if you can read/write the tape with other tools.

Do something like this for an old Amanda tape you will be relabeling:
        mt rewind
        dd if=/dev/<tapeDevice> of=/tmp/foofile bs=32k
Check the contents of foofile and make sure it is valid.
        dd if=/tmp/foofile of=/dev/<tapeDevice>

I suspect from the errors you are getting that one of two things are
present:

1.  You have a tape drive fault and amlabel cannot write to the drive
successfully.
2.  The tape is write protected (either explicitly or with a fault in
the write protect detector).

Good luck with the troubleshooting.

Don

Donald L. (Don) Ritchey
Information Technology
Exelon Corporation


-----Original Message-----
From: owner-amanda-users AT amanda DOT org
[mailto:owner-amanda-users AT amanda DOT org] On Behalf Of Olivier Nicole
Sent: Tuesday, June 27, 2006 1:57 AM
To: amanda-users AT amanda DOT org
Subject: short write error on amlabel


Hi,

I suddenly find out that amlable is givingthe following error:

  amlabel: writing endmark: short write

whether I use a new tape or reuse an old tape. The label seems to be
correct, amcheck can check thattape, but it is not added to tapelist.

Any idea what is going on?

Best regards,

Olivier

$ amlabel normal CSIM-set-3-00
rewinding, reading label, not an amanda tape
rewinding, writing label CSIM-set-3-00
amlabel: writing endmark: short write
$

-----------------------------------------
*******************************************************************
*****
This e-mail and any of its attachments may contain Exelon
Corporation proprietary information, which is privileged,
confidential, or subject to copyright belonging to the Exelon
Corporation family of Companies.
This e-mail is intended solely for the use of the individual or
entity to which it is addressed.  If you are not the intended
recipient of this e-mail, you are hereby notified that any
dissemination, distribution, copying, or action taken in relation
to the contents of and attachments to this e-mail is strictly
prohibited and may be unlawful.  If you have received this e-mail
in error, please notify the sender immediately and permanently
delete the original and any copy of this e-mail and any printout.
Thank You.
*******************************************************************
*****



<Prev in Thread] Current Thread [Next in Thread>