A did a update slots, and its working.
Thank you!!
2012/12/14 Josh Fisher <jfis...@pvct.com>
> On 12/14/2012 6:29 AM, Pedro Bordin Hoffmann wrote:
> > Hello!
> >
> > Im using vchanger to try to simulate a tape library on a HP RDX, and
> > Im getting some erros...
> >
> > Like, the tape is mounted Ok in server, but when bacula goes alone to
> > run, I got some erros:
> >
> > 14-Dez 04:57 bacula..com.br-d JobId 854: Start Backup JobId 854,
> > Job=RH_Sexta.2012-12-14_04.00.01_19
> > 14-Dez 04:57 bacula..com.br-d JobId 854: Using Device
> > "usb-changer-drive-0"
> > 14-Dez 04:57 bacula..com.br-s JobId 854: No slot defined in catalog
> > (slot=0) for Volume "c1_0009_0001" on "usb-changer-drive-0"
> > (/var/lib/bacula/c1/0/drive0).
> > 14-Dez 04:57 bacula..com.br-s JobId 854: Cartridge change or "update
> > slots" may be required.
> > 14-Dez 04:57 bacula..com.br-s JobId 854: Warning: Volume
> > "c1_0009_0001" not on device "usb-changer-drive-0"
> > (/var/lib/bacula/c1/0/drive0).
> > 14-Dez 04:57 bacula..com.br-s JobId 854: Marking Volume "c1_0009_0001"
> > in Error in Catalog.
> > 14-Dez 04:57 bacula..com.br-s JobId 854: 3307 Issuing autochanger
> > "unload slot 1, drive 0" command.
> > 14-Dez 04:57 bacula..com.br-s JobId 854: No slot defined in catalog
> > (slot=0) for Volume "c1_0009_0002" on "usb-changer-drive-0"
> > (/var/lib/bacula/c1/0/drive0).
> >
> > 14-Dez 04:57 bacula..com.br-s JobId 854: Cartridge change or "update
> > slots" may be required.
> > 14-Dez 04:57 bacula..com.br-s JobId 854: 3301 Issuing autochanger
> > "loaded? drive 0" command.
> > 14-Dez 04:57 bacula..com.br-s JobId 854: 3302 Autochanger "loaded?
> > drive 0", result: nothing loaded.
> > 14-Dez 04:57 bacula..com.br-s JobId 854: Warning: Volume
> > "c1_0009_0002" not on device "usb-changer-drive-0"
> > (/var/lib/bacula/c1/0/drive0).
> > 14-Dez 04:57 bacula..com.br-s JobId 854: Marking Volume "c1_0009_0002"
> > in Error in Catalog.
> > 14-Dez 04:57 bacula..com.br-s JobId 854: 3301 Issuing autochanger
> > "loaded? drive 0" command.
> > 14-Dez 04:57 bacula..com.br-s JobId 854: 3302 Autochanger "loaded?
> > drive 0", result: nothing loaded.
> > 14-Dez 04:57 bacula..com.br-s JobId 854: Warning: Volume
> > "c1_0009_0002" not on device "usb-changer-drive-0"
> > (/var/lib/bacula/c1/0/drive0).
> > 14-Dez 04:57 bacula..com.br-s JobId 854: Marking Volume "c1_0009_0002"
> > in Error in Catalog.
> > 14-Dez 04:57 bacula..com.br-s JobId 854: Warning: mount.c:217 Open
> > device "usb-changer-drive-0" (/var/lib/bacula/c1/0/drive0) Volume
> > "c1_0009_0002" failed: ERR=dev.c:568 Could not open:
> > /var/lib/bacula/c1/0/drive0, ERR=Arquivo ou diretório não encontrado
> >
> >
> >
> > Has anyone know what is going on here?
>
> It looks like the changer and Bacula disagree on which tapes are
> currently in which slots. The 'update slots' command tells Bacula to
> query the changer for the current info. Bacula then stores that info in
> its database and expects the changer slots to remain unchanged. So,
> every time you do anything to the changer that causes its slots to
> change, like swap in another drive, it is necessary to inform Bacula by
> issuing a 'update slots' command in bconsole.
>
>
>
> ------------------------------------------------------------------------------
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
--
Se os senhores da guerra mateassem ao pé do fogo deixando o ódio para trás,
Mateando a alma se eleva. e antes de lavar a erva, o mundo estária em paz!
Linux Professional Institute Certified - Level 2 Novell Data Center
Technical Specialist Novell Certified Linux Administrator
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users