On my machine I have to write /dev/nst0 instead of /dev/st0

Worth a try.

cheers,
maria

Tiago Vilas Boas wrote:

Hi,

i have problem to work bacula using exabyte loader...

i try this...

* label
Automatically selected Storage: File
Enter new Volume name: TEST01
Automatically selected Pool: Default
Connecting to Storage daemon File at onca:9103 ...
Sending label command for Volume "TEST01" Slot 0 ...
3910 Unable to open device /dev/st0. ERR=dev.c:289 stored: unable to open device /dev/st0: ERR=Input/output error

if i test utilizing mtx-changer script
work fine....

/etc/bacula/scripts# /etc/bacula/scripts/mtx-changer /dev/sg0 load 1 /dev/st0 0
Doing mtx -f /dev/sg0 load 1 0



my storage configuration is:

Device {
  Name = VXA-2                     #
  Media Type = VXA-2
  Archive Device = /dev/st0
  AutomaticMount = yes;               # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/sg0
 AutoChanger = yes
 Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
}

# dmesg | grep st0
 /dev/ide/host0/bus0/target0/lun0: p1 p2 p3 p4
Attached scsi tape st0 at scsi3, channel 0, id 1, lun 0
st0: try direct i/o: yes (alignment 512 B), max page reachable by HBA 1048575


Anybody help me?

Thanks,

--
Tiago Vilas Boas
MCSO,LPIC-2,LPIC-1


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to