Bacula-users

Re: [Bacula-users] Please mount volume...

2010-07-16 18:28:30
Subject: Re: [Bacula-users] Please mount volume...
From: "Jeremiah D. Jester" <jjest AT u.washington DOT edu>
To: John Drescher <drescherjm AT gmail DOT com>
Date: Fri, 16 Jul 2010 15:22:25 -0700
How did you determine it is corrupt? This? 
"Could not unserialize Volume"

Here is the output for just KL0339.

|     102 | KL0339     | Append    |       1 |          64,512 |        0 |   
15,552,000 |       1 |    2 |         1 | LTO2      | 0000-00-00 00:00:00 |

Not sure how to verify if /dev/nst0 is valid. This is how I originally 
determined to use /dev/st0.


[root@monk bacula]# dmesg | grep -B 2 -A 2 "tape"
e1000: 0000:06:07.0: e1000_probe: (PCI:66MHz:32-bit) 00:11:43:e1:0f:a1
st: Version 20070203, fixed bufsize 32768, s/g segs 256
st 1:0:1:0: Attached scsi tape st0
st0: try direct i/o: yes (alignment 512 B)
st 1:0:2:0: Attached scsi tape st1
st1: try direct i/o: yes (alignment 512 B)
e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection

Although, nst0 file does exist.


[root@monk bacula]# ls /dev/nst0
0 /dev/nst0


JJ

-----Original Message-----
From: John Drescher [mailto:drescherjm AT gmail DOT com] 
Sent: Friday, July 16, 2010 3:10 PM
To: Jeremiah D. Jester
Cc: bacula-users
Subject: Re: [Bacula-users] Please mount volume...

> I keep on getting this error after manually mount KL0339 into Drive1 
> (/dev/st0)
>
> JJ
>
> [root@monk bacula]# ./bin/bls -c /etc/bacula/bacula-sd.conf -V* -L /dev/st0
> bls: butil.c:281 Using device: "/dev/st0" for reading.
> 16-Jul 14:58 bls JobId 0: Invalid slot=0 defined in catalog for Volume "*" on 
> "Drive1" (/dev/st0). Manual load may be required.
> 16-Jul 14:58 bls JobId 0: 3301 Issuing autochanger "loaded? drive 0" command.
> 16-Jul 14:58 bls JobId 0: 3302 Autochanger "loaded? drive 0", result is Slot 
> 2.
> 16-Jul 14:58 bls JobId 0: Warning: acquire.c:265 Read acquire: Could not 
> unserialize Volume label: ERR=label.c:782 Expecting Volume Label, got 
> FI=352085 Stream=DATA len=46064
>
> 16-Jul 14:58 bls JobId 0: Invalid slot=0 defined in catalog for Volume "*" on 
> "Drive1" (/dev/st0). Manual load may be required.
> Mount Volume "*" on device "Drive1" (/dev/st0) and press return when ready:
> 16-Jul 14:58 bls JobId 0: Invalid slot=0 defined in catalog for Volume "*" on 
> "Drive1" (/dev/st0). Manual load may be required.
> 16-Jul 14:58 bls JobId 0: Warning: acquire.c:265 Read acquire: Could not 
> unserialize Volume label: ERR=label.c:782 Expecting Volume Label, got 
> FI=352085 Stream=DATA len=46064
>
> 16-Jul 14:58 bls JobId 0: Invalid slot=0 defined in catalog for Volume "*" on 
> "Drive1" (/dev/st0). Manual load may be required.
> Mount Volume "*" on device "Drive1" (/dev/st0) and press return when ready:
>

That volume is corrupted. This is why it could not load.

Does your system have /dev/nst0?

can you give me the bconsole output of
list media pool=Offsite

only for KL0339 if you have too many..

John

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users