Sorry i made a stupid little mistake...

The user bacula has no right to execute the mtx-changer script!
The problem was, that doing an "update slots" or "mount" command there was no
hint.

But now i run "umount" which says that it has no permission.

Sorry!

Timo Eissler schrieb:

Hello,

i have just upgraded from 1.36.0 to 1.38.2.

And now i can´t do an "update slots" command for my autochanger, because i will only get

*update
Using default Catalog name=MyCatalog DB=bacula
Update choice:
1: Volume parameters
2: Pool from resource
3: Slots from autochanger
Choose catalog item to update (1-3): 3
The defined Storage resources are:
1: File
2: LIB-D81_changer
3: DLT-4000
Select Storage resource (1-3): 2
Connecting to Storage daemon LIB-D81_changer at maintain.dtnet.de:9103 ... Connecting to Storage daemon LIB-D81_changer at maintain.dtnet.de:9103 ...
3306 Issuing autochanger "slots" command.
Device "LIB-D81" has 0 slots.
No slots in changer to scan.

This is going to make me crazy, because i think i upgraded my configs the right way.

bacula-dir.conf

Storage {
Name = "LIB-D81_changer"
Address = maintain.dtnet.de
SDPort = 9103
Password = "iWair9qu"
Device = "LIB-D81"
MediaType = "AIT-2"
Autochanger = yes
Maximum Concurrent Jobs = 1
}

bacula-sd.conf

Autochanger {
Name = "LIB-D81"
Device = "SDX-500V"
Changer Device = /dev/sg2
Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
}

Device {
Name = "SDX-500V"
Description = "Sony SDX-500V"
Drive Index = 0
Media Type = "AIT-2"
Archive Device = /dev/nst0
AutomaticMount = yes
AlwaysOpen = yes
RemovableMedia = yes
RandomAccess = no
Label media = no
Autochanger = yes
Changer Device = /dev/sg2
Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
Spool Directory = /srv/bacula-spool/LIB-D81
Maximum Spool Size = 32212254720
}


Please can someone show me a way to solve this problem?

I tested so much thinks like "/etc/bacula/scripts/mtx-changer /dev/sg2 slots 1 /dev/nst0 0" which gives me the correct number of slots.

I think i can´t solve this my own. Thanks for any help.

regards,
Timo




--
---------------------------------------------------------------
DT Netsolution GmbH   -   Talaeckerstr. 30 -  D-70437 Stuttgart
Tel: +49-711-849910-70                  Fax: +49-711-849910-934
WEB: http://www.dtnet.de/          Email: [EMAIL PROTECTED]



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to