Bacula-users

[Bacula-users] Fibre Channel drives keep switching

2008-11-19 10:59:44
Subject: [Bacula-users] Fibre Channel drives keep switching
From: "Robert LeBlanc" <robert AT leblancnet DOT us>
To: <bacula-users AT lists.sourceforge DOT net>
Date: Wed, 19 Nov 2008 08:44:49 -0700

We have a Overland Storage Neo 8000 with two FC LTO3 drives, and almost every time the SD is rebooted, the drives swap places. Drive0 will be /dev/st0 and Drive1 will be /dev/st1, then sometimes after reboot Drive0 will be /dev/st1 and Drive1 will be /dev/st0. It doesn’t happen all the time and I thought udev would take care of keeping the drive the same across reboots like the Ethernet cards. Does anyone have some wisdom that they can impart to me on this problem?

 

Relevant part of bacula-sd.conf:

Autochanger {

  Name = Neo8000

  Device = Drive-0

  Device = Drive-1

  Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"

  Changer Device = /dev/sg4

}

 

Device {

  Name = Drive-0                      #

  Drive Index = 0

  Media Type = LTO3

  Archive Device = /dev/st1

  AutomaticMount = yes;               # when device opened, read it

  AlwaysOpen = yes;

  RemovableMedia = yes;

  RandomAccess = no;

  AutoChanger = yes

  Spool Directory = /backup/spool

  Maximum Network Buffer Size = 65536

  # Enable the Alert command only if you have the mtx package loaded

#  Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"

  # If you have smartctl, enable this, it has more info than tapeinfo

  Alert Command = "sh -c 'smartctl -H -l error %c'"

}

 

Device {

  Name = Drive-1                      #

  Drive Index = 1

  Media Type = LTO3

  Archive Device = /dev/st0

  AutomaticMount = yes;               # when device opened, read it

  AlwaysOpen = yes;

  RemovableMedia = yes;

  RandomAccess = no;

  AutoChanger = yes

  Spool Directory = /backup/spool

  Maximum Network Buffer Size = 65536

  # Enable the Alert command only if you have the mtx package loaded

#  Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"

#  # If you have smartctl, enable this, it has more info than tapeinfo

  Alert Command = "sh -c 'smartctl -H -l error %c'"

}

 

Thanks,

Robert

 

Robert LeBlanc

College of Life Sciences Computer Support

Brigham Young University

(801) 422-1882

leblanc AT byu DOT edu

 

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users