Greetings,

 

I have just finished going through a large number of posts on this mailing list and I have not found an issue similar to the one I am facing.  I am hoping someone on this list may be able to help me.

 

Technical Specifications:

1 Server running Redhat Enterprise 4.1

            Bacula version = 1.37.40

1 Autochanger – HP SureStore DAT24x6

 

bacula-sd.conf

Device {

            Name = “HPSureStore”;

            Media Type = DDS;

            Archive Device = /dev/nst0;

            Changer Device = /dev/sg1;

            Changer Command = “/etc/bacula/mtx-changer %c %o %S %a %d”;

            Autochanger = yes;

            AutomaticMount = yes;

            AlwaysOpen = yes;

            RemovableMedia = yes;

            RandomAccess = no;

            Drive Index = 0;

}

 

bacula-dir.conf

 

Storage {

            Name = HP SureStore

            Address = sec1-tst.test.paetec.net

            SDPort = 9103

            Password = “”

            Device = HPSureStore

            Media Type = DDS

            Autochanger = yes

}

 

Background:             

 

I have setup the autochanger and successfully tested it using the btape command.  Btape can load, unload, list and write to the tapes without a problem.  I can also issue the load and unload commands using the mtx-changer script at the command line.  This would lead me to believe that my storage device configuration is correct.  Unfortunately when I attempt to label a tape something does not work.

 

Problem:

 

When I issue the label command bacula checks if a tape is present within the drive.  It finds that nothing is loaded and then errors out stating that it failed to label the tape.  It does not attempt to load the tape I specify, nor does it give an error explaining why it failed.  Below is the output I see.

 

*label

Using default Catalog name=MyCatalog DB=bacula

The defined Storage resources are:

            1: File

            2: HPSureStore

Select Storage resource (1-2): 2

Enter autochanger drive[0]: 0

Enter new Volume name: Windows_Security_Archive-002

Enter Slot (0 or Enter for none): 2

Defined Pools:

            1: Linux_Security_Hosts

            2: Windows_Security_Hosts

            3: Default

            4: Windows_Security_Archive

Select the Pool (1-4): 4

Connecting to Storage daemon HPSureStore at sec1-tst.test.paetec.net:9103 …

Sending label command for Colume “Windows_Security_Archive-002” Slot 2 …

3301 Issuing autochanger “loaded drive 0” command

3302 Autochanger “loaded drive 0”, result: nothing loaded.

Label command failed for Volume Windows_Security_Archive-002

Do not forget to mount the drive!!!

*

 

Please let me know if anyone has any ideas on how to resolve this problem, or a tip to try and track down what might be causing it.

 

David Wilson
Network Security Engineer
PAETEC Communications, Inc.
Voice: (585) 340 8209
Mobile: (585) 259 0963

 

Reply via email to