On 7/22/2016 11:13 AM, nirvana wrote: > Buen dia, Estimados > > Estoy instalando Bacula y ya habia realizado pruebas de de respaldo full, > incremental y diferencial, pero la libreria tuvo un problema y reinicie el > servidor de bacula, pero cuando hago un lsscsi resulta que se ha movido la > posicion en el dev donde se montaba, en fin que buscando por internet > encontre un script para que al inicie lo monte en Changer Device = > /dev/changer y fino pero ahora no funciona los Archive Device = /dev/st0 de > cada drive y antes si funcionaba cuando intento hacer un test me dice que no > se puede encontrar el medio que puede ser? alguna idea por favor:
Se necesitan reglas de udev para establcer una asignacion de dispositivo estatico. Google para el dispositivo estatica udev. > > este es parte del bacula-sd.conf > > Autochanger { > Name = Autochanger > Device = Drive-0 > Device = Drive-1 > Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d" > Changer Device = /dev/changer > } > Device { > Name = Drive-0 > Drive Index = 0 > Media Type = LTO-6 > Archive Device = /dev/st0 > AutomaticMount = yes; > AlwaysOpen = yes; > RemovableMedia = yes; > Random Access = no; > Autochanger = yes; > Maximum Spool Size = 8G > } > Device { > Name = Drive-1 > Drive Index = 1 > Media Type = LTO-6 > Archive Device = /dev/st1 > AutomaticMount = yes; > AlwaysOpen = yes; > RemovableMedia = yes; > Random Access = no; > Autochanger = yes; > Maximum Spool Size = 8G > } > Messages { > Name = Standard > director = srvbacula-dir = all > } > > > y este es el error que me da cuando hago un btape > root@srvbacula:/dev# btape Drive-0 > Tape block granularity is 1024 bytes. > btape: butil.c:291-0 Using device: "Drive-0" for writing. > btape: Fatal Error at device.c:300 because: > dev open failed: tape_dev.c:164 Unable to open device "Drive-0" (/dev/st0): > ERR=No se ha encontrado el medio > > 22-jul 11:08 btape: Fatal Error at device.c:300 because: > dev open failed: tape_dev.c:164 Unable to open device "Drive-0" (/dev/st0): > ERR=No se ha encontrado el medio > > btape: butil.c:199-0 Cannot open "Drive-0" (/dev/st0) > 22-jul 11:08 btape JobId 0: Fatal error: butil.c:199 Cannot open "Drive-0" > (/dev/st0) > > y este es el status del changer > > root@srvbacula:/dev# mtx -f /dev/changer status > Storage Changer /dev/changer:2 Drives, 24 Slots ( 0 Import/Export ) > Data Transfer Element 0:Empty > Data Transfer Element 1:Empty > Storage Element 1:Full :VolumeTag=VXS001L6 > Storage Element 2:Full :VolumeTag=VXS002L6 > Storage Element 3:Full :VolumeTag=VXS003L6 > Storage Element 4:Full :VolumeTag=VXS004L6 > Storage Element 5:Full :VolumeTag=VXS005L6 > Storage Element 6:Full :VolumeTag=VXS006L6 > Storage Element 7:Full :VolumeTag=VXS007L6 > Storage Element 8:Full :VolumeTag=VXS008L6 > Storage Element 9:Full :VolumeTag=VXS009L6 > Storage Element 10:Full :VolumeTag=VXS010L6 > Storage Element 11:Full :VolumeTag=VXS011L6 > Storage Element 12:Full :VolumeTag=VXS012L6 > Storage Element 13:Full :VolumeTag=VXS013L6 > Storage Element 14:Full :VolumeTag=VXS014L6 > Storage Element 15:Full :VolumeTag=VXS015L6 > Storage Element 16:Full :VolumeTag=VXS016L6 > Storage Element 17:Full :VolumeTag=VXS017L6 > Storage Element 18:Full :VolumeTag=VXS018L6 > Storage Element 19:Full :VolumeTag=VXS019L6 > Storage Element 20:Full :VolumeTag=VXS020L6 > Storage Element 21:Full :VolumeTag=VXS021L6 > Storage Element 22:Full :VolumeTag=VXS022L6 > Storage Element 23:Full :VolumeTag=VXS023L6 > Storage Element 24:Full > > este es el lsscsi -g > [1:0:0:0] tape HP Ultrium 6-SCSI 252W /dev/st0 /dev/sg7 > [1:0:0:1] mediumx HP MSL G3 Series 6.20 /dev/sch0 /dev/sg8 > [3:0:0:0] cd/dvd MATSHITA UJDA780 DVD/CDRW CA22 /dev/sr0 /dev/sg9 > [5:0:0:0] tape HP Ultrium 6-SCSI 252W /dev/st1 /dev/sg10 > > ayuda por favor. > > +---------------------------------------------------------------------- > |This was sent by nirvana...@hotmail.com via Backup Central. > |Forward SPAM to ab...@backupcentral.com. > +---------------------------------------------------------------------- > > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > patterns at an interface-level. Reveals which users, apps, and protocols are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity planning > reports.http://sdm.link/zohodev2dev > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports.http://sdm.link/zohodev2dev _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users