Any idea for my problem.
Very recently I buy new cleaning cartridge. I have confirm than cleaning
process works.
But while again trying for Labeling I got following errors.

-bash-4.0$ for ((i=1; $i<=3;i++)); do amlabel DailySet1 DailySet1-$i slot
$i; done
labeling tape in slot 1 (tape:/dev/st0):
Reading label...
Error reading 32768 bytes from /dev/st0: Input/output error
Error reading Amanda header.
Found an unlabeled tape.
Writing label DailySet1-1..
Got EIO on /dev/st0, assuming end of tape.
amlabel: Error writing label.

labeling tape in slot 2 (tape:/dev/st0):
Reading label...
Found Amanda tape DailySet1-017
Writing label DailySet1-2..
Error writing final filemark: Input/output error
amlabel: Error closing device.

labeling tape in slot 3 (tape:/dev/st0):
Reading label...
Error reading 32768 bytes from /dev/st0: Input/output error
Error reading Amanda header.
Found an unlabeled tape.
Writing label DailySet1-3..
Got EIO on /dev/st0, assuming end of tape.
amlabel: Error writing label.

Someone please guide me !

On Thu, Oct 11, 2012 at 7:38 PM, Amit Karpe <[email protected]> wrote:

> Hi All,
> While writing label by using following command I got these errors.
> -bash-4.0$ amlabel DailySet1 reset
> amlabel: label reset doesn't match labelstr "^DailySet1-[0-9][0-9]*$"
> -bash-4.0$ amlabel DailySet1 reset
> labeling tape in slot 22 (tape:/dev/nst0):
> Reading label...
> Error reading 32768 bytes from /dev/nst0: Input/output error
> Error reading Amanda header.
> Found an unlabeled tape.
> Writing label reset..
> Error writing final filemark: Input/output error
> amlabel: Error closing device.
>
>
> -bash-4.0$ mtx -f /dev/sg2 status
>   Storage Changer /dev/sg2:1 Drives, 24 Slots ( 1 Import/Export )
> Data Transfer Element 0:Full (Storage Element 22 Loaded)
>       Storage Element 1:Empty
>       Storage Element 2:Full
>       Storage Element 3:Full
>       Storage Element 4:Full
>       Storage Element 5:Full
>       Storage Element 6:Full
>       Storage Element 7:Full
>       Storage Element 8:Full
>       Storage Element 9:Full
>       Storage Element 10:Full
>       Storage Element 11:Full
>       Storage Element 12:Full
>       Storage Element 13:Full
>       Storage Element 14:Full
>       Storage Element 15:Full
>       Storage Element 16:Full
>       Storage Element 17:Full
>       Storage Element 18:Full
>       Storage Element 19:Full
>       Storage Element 20:Full
>       Storage Element 21:Full
>       Storage Element 22:Empty
>       Storage Element 23:Full
>       Storage Element 24 IMPORT/EXPORT:Empty
>
>
> #tail -f /var/log/messages
> Oct 11 18:58:37 borneo kernel: mptscsih: ioc0: task abort: SUCCESS
> (sc=ffff88012db85600)
> Oct 11 18:58:37 borneo kernel: st0: Error 80000 (driver bt 0x0, host bt
> 0x8).
> Oct 11 19:22:30 borneo kernel: st0: Sense Key : Medium Error [current]
> Oct 11 19:22:30 borneo kernel: Info fld=0x1
> Oct 11 19:22:30 borneo kernel: st0: Add. Sense: Write error
>
>
> tpchanger "chg-zd-mtx"
> #tapedev "tape:/dev/st0"                # the no-rewind tape device to be
> used
> tapedev "tape:/dev/nst0"                # the no-rewind tape device to be
> used
> changerfile "/etc/amanda/DailySet1/changer.conf"
> changerdev "/dev/sg2"
> tapetype HP-LTO4                # what kind of tape it is (see tapetypes
> below)
> define tapetype HP-LTO4 {
>     comment "just produced by tapetype prog (hardware compression on)"
>     length 772096 mbytes
>     filemark 0 kbytes
>     speed 71093 kps
> }
>
>
> Any suggestions ?
> I could not able to write anything using amdump or dd.
>



-- 
Regards
Amit Karpe.
http://www.amitkarpe.com/
http://news.karpe.net.in/

Reply via email to