I am trying to test/learn the bacula package but already stumped. I have
a STK L10 library with one SDLT 220 tape drive. 

I have set up the mx-changer and have tested thoroughly. 

I start up bconsole ran setdebug 10 and run the command "mount SDLT1"
which SLDT is my storage device in bacula-sd.conf. I get the following
message:


   Connecting to Storage daemon SDLT1 at banach.math.purdue.edu:9103
   3000 OK setdebug=10
   Connecting to Client Banach at banach.math.purdue.edu:9102
   2000 OK setdebug=10
   *mount SDLT1
   3901 open device failed: ERR=dev.c:289 stored: unable to open device
/dev/rmt/1cbn: ERR=I/O error

This makes sense as I am trying to load a  tape into /dev/rmt/1cbn.

What am I missing? Should not the mount command try and load the tape
into the tape drive?

Thanks

Robert


-------------------Below is my bacula-sd.conf file
------------------------------

##R##-banach->[317] ##> vi bacula-sd.conf
"bacula-sd.conf" 64 lines, 1601 characters 
#
# Default Bacula Storage Daemon Configuration file
#
#  For Bacula release 1.36.3 (22 April 2005) -- solaris 5.8
#
# You may need to change the name of your tape drive
#   on the "Archive Device" directive in the Device
#   resource.  If you change the Name and/or the
#   "Media Type" in the Device resource, please ensure
#   that dird.conf has corresponding changes.
#

Storage {                             # definition of myself
  Name = banach-sd
  SDPort = 9103                  # Director's port
  WorkingDirectory = "/etc/opt/csw/var/bacula/working"
  Pid Directory = "/etc/opt/csw/var/bacula/run"
  Maximum Concurrent Jobs = 20
}

#
# List Directors who are permitted to contact Storage daemon
#
Director {
  Name = banach-dir
  Password = "LOsk8Z2zi6ugkIxriBx84+PVNjKArQP/5G21y0RGbksJ"
}

#
# Restricted Director, used by tray-monitor to get the
#   status of the storage daemon
#
Director {
  Name = banach-mon
  Password = "+atbnD675Qc1BC419TIQOHfd1GAJnla7sSJwGius47W+"
  Monitor = yes
}

# A Linux or Solaris tape drive

Device {
  Name = SDLT1
  Media Type = SDLT
  Archive Device = /dev/rmt/1cbn
  AutomaticMount = yes;               # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  Changer Command = "/opt/csw/etc/bacula/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/changer/1
  Autochanger = yes
  Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
}


#
# Send all messages to the Director,
# mount messages also are sent to the email address
#

Messages {
  Name = Standard
  director = banach-dir = all
}


_____________________________________________________________________
Robert P. McGraw, Jr.
Manager, Computer Systems                EMAIL1: [EMAIL PROTECTED]
Purdue University                          ROOM: MATH-807
Department of Mathematics                 PHONE: (765) 494-6055
150 N. University Street                    FAX: (419) 821-0540
West Lafayette, IN 47907-2067            EMAIL2: [EMAIL PROTECTED]



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id344&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to