SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
newb needs help configuring Dell PV-132T
Author Message
Post newb needs help configuring Dell PV-132T 
All,

I am very green to bacula and am trying to configure a Dell PV-132T with
a single LTO-3 drive attached to a Debian Etch server. My problem comes
when running the btape fill test across multiple tapes. The first tape
fills ok but I then get the following error when it needs to get the
second tape:

06-Jun 01:06 btape: End of medium on Volume "TestVolume1"
Bytes=423,805,321,368 Blocks=6,569,404 at 06-Jun-2007 01:06.
06-Jun 01:06 btape: Invalid slot=0 defined, cannot autoload Volume.
Mount blank Volume on device "Drive-0" (/dev/nst0) and press return when
ready:

Where is the "Invalid slot=0 defined" error coming from?

my bacula-sd.conf file looks like this:

Storage { # definition of myself
Name = foo-sd
SDPort = 9103
WorkingDirectory = "/var/lib/bacula"
Pid Directory = "/var/run/bacula"
Maximum Concurrent Jobs = 20
SDAddress = 127.0.0.1
}

# List Directors who are permitted to contact Storage daemon
Director {
Name = foo-dir
Password = "xxx"
}

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

Autochanger {
Name = PV132T
Device = Drive-0
Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
Changer Device = /dev/sg3
}

Device {
Name = Drive-0
LabelMedia = yes;
Drive Index = 0
Media Type = LTO-3
Archive Device = /dev/nst0
AutomaticMount = yes;
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
AutoChanger = yes
Alert Command = "sh -c 'tapeinfo -f %c | grep TapeAltert|cat'"
Autoselect = yes
}

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

Any assistance would be greatly appreciated.

Sincerely,
Scott

Post newb needs help configuring Dell PV-132T 
Run update slots, then label barcodes

Scott McDaniel a écrit :
All,

I am very green to bacula and am trying to configure a Dell PV-132T with
a single LTO-3 drive attached to a Debian Etch server. My problem comes
when running the btape fill test across multiple tapes. The first tape
fills ok but I then get the following error when it needs to get the
second tape:

06-Jun 01:06 btape: End of medium on Volume "TestVolume1"
Bytes=423,805,321,368 Blocks=6,569,404 at 06-Jun-2007 01:06.
06-Jun 01:06 btape: Invalid slot=0 defined, cannot autoload Volume.
Mount blank Volume on device "Drive-0" (/dev/nst0) and press return when
ready:

Where is the "Invalid slot=0 defined" error coming from?

my bacula-sd.conf file looks like this:

Storage { # definition of myself
Name = foo-sd
SDPort = 9103
WorkingDirectory = "/var/lib/bacula"
Pid Directory = "/var/run/bacula"
Maximum Concurrent Jobs = 20
SDAddress = 127.0.0.1
}

# List Directors who are permitted to contact Storage daemon
Director {
Name = foo-dir
Password = "xxx"
}

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

Autochanger {
Name = PV132T
Device = Drive-0
Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
Changer Device = /dev/sg3
}

Device {
Name = Drive-0
LabelMedia = yes;
Drive Index = 0
Media Type = LTO-3
Archive Device = /dev/nst0
AutomaticMount = yes;
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
AutoChanger = yes
Alert Command = "sh -c 'tapeinfo -f %c | grep TapeAltert|cat'"
Autoselect = yes
}

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


Any assistance would be greatly appreciated.

Sincerely,
Scott


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
Bacula-users < at > li...
https://lists.sourceforge.net/lists/listinfo/bacula-users


--
Adam CECILE Linbox / Free&ALter Soft
152 rue de Grigy tél: +33 3 87 50 87 95
Technopôle Metz 2000 fax: +33 3 87 75 19 26
57070 METZ - France http://www.linbox.com

Post newb needs help configuring Dell PV-132T 
Well... Let me explain you some stuff.
PV132T has a barcodes reader, so the easier way to get bacula find its
volumes into the library is to label tape with their barcodes. (I guess
you have barcodes on your tape ???, check with mtx -f /dev/sgX status).
Then start bacula director and run update slots. Bacula will ask what's
in the library through mtx. Then label bardcodes will make bacula load
each tape into the drive and write the bardcode as label. Check with
list media (especially inchanger flag).

Scott McDaniel a écrit :
How do I do that? I don't see that inside btape.

Adam Cécile wrote:

Run update slots, then label barcodes




--
Adam CECILE Linbox / Free&ALter Soft
152 rue de Grigy tél: +33 3 87 50 87 95
Technopôle Metz 2000 fax: +33 3 87 75 19 26
57070 METZ - France http://www.linbox.com

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB