Bacula-users

[Bacula-users] Labeling tapes - keeps checking all drives

2012-03-10 10:47:05
Subject: [Bacula-users] Labeling tapes - keeps checking all drives
From: "Ethier, Michael" <methier AT CGR.Harvard DOT edu>
To: "Bacula-users AT lists.sourceforge DOT net" <Bacula-users AT lists.sourceforge DOT net>
Date: Sat, 10 Mar 2012 10:29:57 -0500

Hello,

 

We have a brand new robot with LTO-5 tapes, and I installed Bacula 5.2.6. When I try to label tapes,

Bacula keeps trying to check if all the tape drives are loaded even though it asked me what tape drive to use

for labeling (see below) in the beginning. I told it drive 0. Why is it doing this ?

 

Also I noticed in the dmesg of the bacula server messages like:

st4: Failed to read 64512 byte block with 80 byte transfer.

st4: Failed to read 64512 byte block with 80 byte transfer.

 

I ran btape test and it worked fine. Are these messages ok or troublesome ? Is there way to fix this ?

 

Thanks in advance,

Mike

 

[root@rcbackup ~]# bconsole

Connecting to Director rcbackup:9101

1000 OK: rcbackup-dir Version: 5.2.6 (21 February 2012)

Enter a period to cancel a command.

*label barcodes slots=14-16

Automatically selected Catalog: MyCatalog

Using Catalog "MyCatalog"

The defined Storage resources are:

     1: File

     2: Autochanger

Select Storage resource (1-2): 2

Connecting to Storage daemon Autochanger at rcbackup:9103 ...

Enter autochanger drive[0]:

Connecting to Storage daemon Autochanger at rcbackup:9103 ...

3306 Issuing autochanger "slots" command.

Device "Autochanger" has 224 slots.

Connecting to Storage daemon Autochanger at rcbackup:9103 ...

3306 Issuing autochanger "list" command.

The following Volumes will be labeled:

Slot  Volume

==============

  14  000162

  15  000161

  16  000136

Do you want to label these Volumes? (yes|no): yes

Defined Pools:

     1: Default

     2: jabba

     3: File

     4: Scratch

Select the Pool (1-4): 2

Connecting to Storage daemon Autochanger at rcbackup:9103 ...

Sending label command for Volume "000162" Slot 14 ...

3301 Issuing autochanger "loaded? drive 0" command.

3302 Autochanger "loaded? drive 0", result: nothing loaded.

3301 Issuing autochanger "loaded? drive 0" command.

3302 Autochanger "loaded? drive 0", result: nothing loaded.

3301 Issuing autochanger "loaded? drive 1" command.

3302 Autochanger "loaded? drive 1", result: nothing loaded.

3301 Issuing autochanger "loaded? drive 2" command.

3302 Autochanger "loaded? drive 2", result: nothing loaded.

3301 Issuing autochanger "loaded? drive 3" command.

3302 Autochanger "loaded? drive 3", result: nothing loaded.

3301 Issuing autochanger "loaded? drive 4" command.

3302 Autochanger "loaded? drive 4", result: nothing loaded.

3304 Issuing autochanger "load slot 14, drive 0" command.

3305 Autochanger "load slot 14, drive 0", status is OK.

dev.c:506 Unable to open device "Drive-0" (/dev/nst4): ERR=No medium found

block.c:1001 Read error on fd=6 at file:blk 0:0 on device "Drive-0" (/dev/nst4). ERR=Input/output error.

3000 OK label. VolBytes=64512 DVD=0 Volume="000162" Device="Drive-0" (/dev/nst4)

Catalog record for Volume "000162", Slot 14  successfully created.

Sending label command for Volume "000161" Slot 15 ...

3307 Issuing autochanger "unload slot 14, drive 0" command.

3301 Issuing autochanger "loaded? drive 0" command.

3302 Autochanger "loaded? drive 0", result: nothing loaded.

3301 Issuing autochanger "loaded? drive 1" command.

3302 Autochanger "loaded? drive 1", result: nothing loaded.

3301 Issuing autochanger "loaded? drive 2" command.

3302 Autochanger "loaded? drive 2", result: nothing loaded.

3301 Issuing autochanger "loaded? drive 3" command.

3302 Autochanger "loaded? drive 3", result: nothing loaded.

3301 Issuing autochanger "loaded? drive 4" command.

3302 Autochanger "loaded? drive 4", result: nothing loaded.

3304 Issuing autochanger "load slot 15, drive 0" command.

3305 Autochanger "load slot 15, drive 0", status is OK.

block.c:1001 Read error on fd=6 at file:blk 0:0 on device "Drive-0" (/dev/nst4). ERR=Input/output error.

block.c:1001 Read error on fd=6 at file:blk 0:0 on device "Drive-0" (/dev/nst4). ERR=Input/output error.

3000 OK label. VolBytes=64512 DVD=0 Volume="000161" Device="Drive-0" (/dev/nst4)

Catalog record for Volume "000161", Slot 15  successfully created.

Sending label command for Volume "000136" Slot 16 ...

3307 Issuing autochanger "unload slot 15, drive 0" command.

….

….

….

 

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>