I checked on the previous postings and looks like a
Linux Kernel thing; When i installed amanda i was
using   2.4.7 and then i upgraded to 2.4.18;
Recompiling didn't help either so i decided to upgrade
to the latest beta version (amanda-2.4.3b3) and looks
like that solved the amlabel problem:

[amanda@linux0107 amanda-2.4.3b3]$ amlabel
NEWBREAK_TAPE NEWBREAK_TAPE01
rewinding, reading label NEWBREAK_TAPE01
rewinding, writing label NEWBREAK_TAPE01, checking
label, done.
[amanda@linux0107 amanda-2.4.3b3]$ eject /dev/st0

Hope this info helps others with the same problem.



--- Jos� Vicente N��ez Zuleta <[EMAIL PROTECTED]>
wrote:
> Greetings,
> 
> I'm running amanda on a Redhat 7.2 server using the
> hard disk as backup repository; Recently we bougth a
> Benchmark DLT1 tape unit and Linux was able to
> detect
> it with no problems (also i created a sepparate
> configuration for the new tape unit). I run the
> tapetype program and got the following setup for the
> tape unit:
> 
> define tapetype DLT1 {
>     comment "BENCHMARK DLT1 tape unit"
>     length 34618 mbytes
>     filemark 21 kbytes
>     speed 1395 kbytes
> }
> 
> (i added this definition to my amanda.conf file; But
> when i try to label the tape i got the following
> error:
> 
> [amanda@linux0107 amanda]$ amlabel NEWBREAK_TAPE
> NEWBREAK_TAPE01
> rewinding, reading label, reading label: Value too
> large for defined data type
> rewinding, writing label NEWBREAK_TAPE01, checking
> label
> amlabel: reading label: Value too large for defined
> data type
> 
> Here is my amanda build version:
> 
> [amanda@linux0107 amanda]$ amadmin NEWBREAK_TAPE
> version
> build: VERSION="Amanda-2.4.3b1"
>        BUILT_DATE="Sun Dec 9 10:05:03 EST 2001"
>        BUILT_MACH="Linux linux0107 2.4.7-10smp #1
> SMP
> Thu Sep 6 17:09:31 EDT 2001 i686 unknown"
>        CC="gcc"
> paths: bindir="/home/amanda/bin"
> sbindir="/home/amanda/sbin"
>        libexecdir="/home/amanda/libexec"
>        mandir="/home/amanda/man"
> AMANDA_TMPDIR="/tmp/amanda"
>        AMANDA_DBGDIR="/tmp/amanda"
>        CONFIG_DIR="/home/amanda/etc/amanda"
> DEV_PREFIX="/dev/"
>        RDEV_PREFIX="/dev/" DUMP="/sbin/dump"
>        RESTORE="/sbin/restore"
> SAMBA_CLIENT="/usr/bin/smbclient"
>        GNUTAR="/bin/tar"
> COMPRESS_PATH="/usr/bin/gzip"
>        UNCOMPRESS_PATH="/usr/bin/gzip"
> MAILER="/usr/bin/Mail"
>       
>
listed_incr_dir="/home/amanda/var/amanda/gnutar-lists"
> defs:  DEFAULT_SERVER="linux0107"
> DEFAULT_CONFIG="NEWBREAK"
>        DEFAULT_TAPE_SERVER="linux0107"
>        DEFAULT_TAPE_DEVICE="/dev/null" HAVE_MMAP
> HAVE_SYSVSHM
>        LOCKING=POSIX_FCNTL SETPGRP_VOID DEBUG_CODE
>        AMANDA_DEBUG_DAYS=4 BSD_SECURITY
> USE_AMANDAHOSTS
>        CLIENT_LOGIN="amanda" FORCE_USERID HAVE_GZIP
>        COMPRESS_SUFFIX=".gz"
> COMPRESS_FAST_OPT="--fast"
>        COMPRESS_BEST_OPT="--best"
> UNCOMPRESS_OPT="-dc"
> 
> [amanda@linux0107 amanda]$ cat /proc/scsi/scsi 
> Attached devices: 
> Host: scsi0 Channel: 00 Id: 02 Lun: 00
>   Vendor: QUANTUM  Model: DLT7000          Rev: 391B
>   Type:   Sequential-Access                ANSI SCSI
> revision: 02
> 
> I'm using the /dev/nst0 device (no rewind) on my
> amanda.conf configuration.
> 
> 
> Any ideas?
> 
> Thanks in advance.
> 
> PD: the amanda server is working just fine with the
> disk configuration.
> 
> =====
> Jos� Vicente Nu�ez Zuleta ([EMAIL PROTECTED])
> Newbreak System Administrator
> (http://www.newbreak.com)
> Office Phone:   203-355-1511, 203-355-1510
> Fax:            203-355-1512
> Cellular Phone: 203-570-7078
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com


=====
Jos� Vicente Nu�ez Zuleta ([EMAIL PROTECTED])
Newbreak System Administrator (http://www.newbreak.com)
Office Phone:   203-355-1511, 203-355-1510
Fax:            203-355-1512
Cellular Phone: 203-570-7078

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

Reply via email to