Buenos dias,

        Llevo varios dias intentando hacer funcionar esta cabina de discos con 
Bareos, y no lo consigo.
        Os pongo en antecedentes:
lsscsi -g
[0:0:0:0]    cd/dvd  QEMU     QEMU DVD-ROM     0.12  /dev/sr0   /dev/sg0 
[2:0:0:0]    tape    HP       Ultrium 3-SCSI   D237  /dev/st0   /dev/sg1 
[3:0:0:0]    mediumx TANDBERG StorageLoader    3.47  /dev/sch0  /dev/sg2 
########
ll /dev/tape/by-id/
scsi-1HP_Ultrium_3-SCSI_51f722T111 -> ../../st0
scsi-1HP_Ultrium_3-SCSI_51f722T111-nst -> ../../nst0
scsi-32001000001000000 -> ../../sg2
########
bareos-sd.conf
Autochanger {
Name = "Disk Library Autochanger"
Device = Drive1
Changer Command = "/usr/lib/bareos/scripts/mtx-changer %c %o %S %a %d"
Changer Device = "/dev/tape/by-id/scsi-32001000001000000"
}
Device {
Name = Drive1
Drive Index = 0
Media Type = LTO-3
Device Type = Tape
Archive Device = /dev/nst0
Changer Device = /dev/tape/by-id/scsi-32001000001000000
AutoChanger = yes
AutomaticMount = yes
AlwaysOpen = yes
RemovableMedia = yes
RandomAccess = no
LabelMedia = yes
Autoselect = Yes
}
########
bareos-dir.conf
Storage {
Name = disklibrary
Address = bacula
SDPort = 9103
Password = "xxx"
Device = "Disk Library Autochanger"
Media Type = LTO-3
Autochanger = yes
Maximum Concurrent Jobs = 100
}
########
mtx -f /dev/tape/by-id/scsi-32001000001000000 status
  Storage Changer /dev/tape/by-id/scsi-32001000001000000:1 Drives, 9 Slots ( 1 
Import/Export )
Data Transfer Element 0:Empty
      Storage Element 1:Empty:VolumeTag=                                    
      Storage Element 2:Empty:VolumeTag=                                    
      Storage Element 3:Full :VolumeTag=820751L3                            
      Storage Element 4:Full :VolumeTag=820757L3                            
      Storage Element 5:Empty:VolumeTag=                                    
      Storage Element 6:Empty:VolumeTag=                                    
      Storage Element 7:Empty:VolumeTag=                                    
      Storage Element 8:Empty:VolumeTag=                                    
      Storage Element 9 IMPORT/EXPORT:Empty:VolumeTag= 
########
mtx -f /dev/tape/by-id/scsi-32001000001000000 load 3 0
mtx -f /dev/tape/by-id/scsi-32001000001000000 unload 3 0

Estos comandos funcionan correctamente, muevo VIRTUALMENTE los discos (como si 
fueran cintas) entre los diferentes SLOTS e incluso, las meto en el DRIVE, sin 
ningun tipo de problemas.
Pero BACULA no me realiza el AUTOCHANGER, contando con el DRIVE vacio, cuando 
lanzo un JOB o simplemente, desde BAT marco una CINTA y le indico MOUNT, me da 
este error:

JobId 4: Warning: mount.c:247 Open device "Drive1" (/dev/nst0) Volume 
"Full-0015" failed: ERR=generic_tape_device.c:140 Unable to open device 
"Drive1" (/dev/nst0): ERR=No se ha encontrado el medio

Pero si tengo una CINTA en el DRIVE y desde el BAT le indico UMOUNT, si la 
devuelve a su SLOT inicial. Tambien me permite desde BAT mover entres todos los 
SLOTS, deja todo menos MOUNT en el DRIVE.

Creo que no me dejo nada en el tintero, podéis ayudarme a solventar este 
problema????
Gracias.

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to