Hi All.

I have bacula version 1.38.11. I have a Storagetek L40 with two drives. 
In Bacula-sd.conf I have this configuration:

Autochanger {
  Name = STK-L40
  Device = Drive-0,Drive-1
  Changer Command = "/bacula/etc/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/sg2
}

Device {
  Name = Drive-0
  Drive Index = 0
  Media Type = Ultrium2
  Archive Device = /dev/nst0
  AutomaticMount = yes;
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes
}

Device {
  Name = Drive-1
  Drive Index = 1
  Media Type = Ultrium2
  Archive Device = /dev/nst1
  AutomaticMount = yes;
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes
}

All comands run succesful for my first drive :

/bacula/etc/mtx-changer /dev/sg2 load 1 /dev/nst0 0
./btape /dev/nst0
mt -f /dev/nst0 offline
/bacula/etc/mtx -f /dev/sg2 unload 1 /dev/nst0

but for my second drive, not run the last command:

/bacula/etc/mtx -f /dev/sg2 unload 1 /dev/nst1

Does anyone help me?
Thanks


-- 
+-----------------------------^------------------------+
| email: [EMAIL PROTECTED]    ^ Pedro Sepúlveda        |
| http://www.uco.es/~cc0semop ^ Cordoba (SPAIN)        |
+-----------------------------^------------------------+




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to