Hi,

amanda@dl380-54:~$ amlabel -f mirror slot '{225,225}'
Reading label...
Found Amanda volume 'D00225'.
Newly-generated label '' does not match labelstr '^D0[0-9]*$'

Dont know why this happend, because labelstr is set to "^D0[0-9]*$" and 
autolabel to "$b" any .
but if I set it by hand it works as expected:

amanda@dl380-54:~$ amlabel -f mirror D00225 slot '{225,225}'
Reading label...
Found Amanda volume 'D00225'.
Writing label 'D00225'...
Checking label...
Success!
amanda@dl380-54:~$ cat /etc/amanda/mirror/tapelist
0 D00225 reuse BLOCKSIZE:32


-- 
Big thanks,
Dennis


> Dennis,
> 
> Try the attached patch.
> You can patch the installed Amanda/Changer/rait.pm file.
> 
> Jean-Louis

Reply via email to