Amanda-Users

Re: amlabel: not an amanda tape ??? [ SOLVED ]

2007-08-01 14:28:25
Subject: Re: amlabel: not an amanda tape ??? [ SOLVED ]
From: Michael D Schleif <mds AT helices DOT org>
To: amanda mailing list <amanda-users AT amanda DOT org>
Date: Wed, 1 Aug 2007 13:15:29 -0500
    [ [ [ Anybody else seeing this?
          <amanda-users AT amanda DOT org>:
          204.127.192.17 does not like recipient.
          Remote host said: 550 [PERMFAIL] destination not valid within DNS
          Giving up on 204.127.192.17.  ] ] ]


Eureka!

    # sudo mt -f /dev/nst0 status
    SCSI 2 tape drive:
    File number=0, block number=0, partition=0.
>>  Tape block size 0 bytes. Density code 0x81 (DLT 15GB compressed).
    Soft error count since last status=0
    General status bits on (41010000):
     BOT ONLINE IM_REP_EN

Changed /etc/stinit.def:

    manufacturer=EXABYTE model = "VXA-2" {
        auto-lock
        can-bsr
        can-partitions
        mode1 blocksize=32768 compression=0
    }

Now:

    # sudo mt -f /dev/nst0 status
    SCSI 2 tape drive:
    File number=0, block number=1, partition=0.
    Tape block size 32768 bytes. Density code 0x81 (DLT 15GB compressed).
    Soft error count since last status=0
    General status bits on (1010000):
     ONLINE IM_REP_EN

And:

    # sudo -u backup amlabel -f DailySet1 backup.001
    rewinding, reading label backup.001, tape is active
    rewinding, writing label backup.001, checking label, done.


* "Stefan G. Weichinger" <sgw AT amanda DOT org> [2007:08:01:14:32:04+0200] 
scribed:
> Michael D Schleif schrieb:
> > Please, ANY ideas ???
> > 
> > 
> > amanda is version 2.5.1p1-2.1 , running on debian:
> > 
> > # uname -a
> > Linux erda 2.6.18-4-amd64 #1 SMP Mon Mar 26 11:36:53 CEST 2007 x86_64 
> > GNU/Linux
> > 
> > Trying to setup a VXA-2 manual load tape drive with amanda.
> > 
> > Same tape that I used earlier today with amtapetype, and successfully
> > got a tapetype definition.
> > 
> > Now, I want to label this same tape, and perform the first backup.
> > 
> >     # sudo -u backup amlabel -f DailySet1 backup.001
> >     rewinding, reading label, not an amanda tape (Invalid argument)
> >     rewinding, writing label backup.001, checking label
> >     amlabel: not an amanda tape (Invalid argument)
> > 
> > 
> > What do you think?
> 
> (I thought: "Should I reply or not?" ;-) )
> 
> What's the definition of labelstr in your amanda.conf?
> Your label does not fit that definition.
> 
> Stefan
> 

-- 
Best Regards,

mds
mds resource
877.596.8237
-
Dare to fix things before they break . . .
-
Our capacity for understanding is inversely proportional to how much
we think we know.  The more I know, the more I know I don't know . . .
--

Attachment: signature.asc
Description: Digital signature

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