Amanda-Users

Re: amtapetype bug - 2.4.4p4 - new tape

2004-11-15 01:25:46
Subject: Re: amtapetype bug - 2.4.4p4 - new tape
From: Jean-Louis Martineau <martinea AT iro.umontreal DOT ca>
To: Andreas Sundstrom <sunkan AT zappa DOT cx>
Date: Wed, 10 Nov 2004 15:05:39 -0500
Hi Andreas,

This problem should be fixed in latest snapshot.

Jean-Louis

On Wed, Nov 03, 2004 at 09:06:01PM +0100, Andreas Sundstrom wrote:
> I might have stumbled on a bug in amtapetype. I believe it's the new 
> functionality to check for a amanda label that has introduced it.
> 
> This explains it quite well I think:
> 
> amanda@zappa:/tmp$ amtapetype -c -e 35g -f /dev/nst1
> amtapetype: /dev/nst1: reading label: Input/output error
> amanda@zappa:/tmp$ amlabel ait ait02
> rewinding, reading label, reading label: Input/output error
> rewinding, writing label ait02, checking label, done.
> amanda@zappa:/tmp$ amrmtape ait ait02
> amrmtape: remove label ait02.
> amrmtape: preserving original database in curinfo.orig.26294 (exported).
> amanda@zappa:/tmp$ amtapetype -c -e 35g -f /dev/nst1
> amtapetype: The tape is an amanda tape, use -o to overwrite the tape
> amanda@zappa:/tmp$ amtapetype -c -e 35g -f /dev/nst1 -o
> Writing 128 Mbyte   compresseable data:  42 sec
> Writing 128 Mbyte uncompresseable data:  42 sec
> Estimated time to write 2 * 35840 Mbyte: 23520 sec = 6 h 32 min
> amanda@zappa:/tmp$
> 
> I think that this was a new tape, never written to earlier.
> 
> Just wanted to file a report so it might be fixed.
> 
> /Andreas Sundström

-- 
Jean-Louis Martineau             email: martineau AT iro.umontreal DOT ca 
Département IRO, Université de Montréal
C.P. 6128, Succ. CENTRE-VILLE    Tel: (514) 343-6111 ext. 3529
Montréal, Canada, H3C 3J7        Fax: (514) 343-5834

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