Re: amlabel problem
2006-08-17 07:44:35
Natalia García Nebot wrote:
> Hi! I have installed amanda on my server host. The server is conected to
> a tape device. I have created a configuration named DiariaPrueba. I have
> configured all parameters in amanda.conf and I want to label only one
> tape to make tests before. In my amanda.conf I have configures de
> parameter labelstr to
> labelstr "^DiariaPruebaTape[0-9][0-9]*$"
>
> When I try to label my first tape amlabe says me:
> amlabel: could not load tapelist "/etc/amanda/DiariaPrueba/tapelist"
>
> So i tried this command:
> su amanda -c "amlabel -f DiariaPrueba DiariaPrueba01"
>
> And amlabel says me:
> amlabel: label DiariaPrueba01 doesn't match labelstr
> "^DiariaPruebaTape[0-9][0-9]*$"
>
> What's wrong? Why can't I label a tape?
>
Natalia,
Your labelstr contains ..Tape.. while the amlabel command does not.
You should make it matching.
Franz
---------------------------------------------------------------------
Franz-Heinrich Massmann
GeoForschungsZentrum Potsdam (GFZ)
Department 1: Geodesy and Remote Sensing, Section 1.2
c/o DLR Oberpfaffenhofen
82230 Wessling, Germany
Tel./Fax: (+49) 8153-28-1206/1735 email: fhm AT gfz-potsdam DOT de
---------------------------------------------------------------------
|
|
|