Bacula-users

Re: [Bacula-users] problems with HP Tape Library MSL6000

2012-09-24 12:59:51
Subject: Re: [Bacula-users] problems with HP Tape Library MSL6000
From: Francisco Javier Funes Nieto <esencia AT gmail DOT com>
To: Tony Peña <emperor.cu AT gmail DOT com>
Date: Mon, 24 Sep 2012 18:57:22 +0200
Hi!

Did you try with "update slots" command ?

http://www.bacula.org/manuals/en/concepts/concepts/Autochanger_Resource.html

J.

2012/9/24 Tony Peña <emperor.cu AT gmail DOT com>:
> hi, i try to make backup and i getting errors continues, with this messages
>
> 19-Sep 07:52 bacula-sd JobId 56445: 3301 Issuing autochanger "loaded? drive
> 0" command.
> 19-Sep 07:52 bacula-sd JobId 56445: 3302 Autochanger "loaded? drive 0",
> result: nothing loaded.
> 19-Sep 07:52 bacula-sd JobId 56445: 3304 Issuing autochanger "load slot 2,
> drive 0" command.
> 19-Sep 07:52 bacula-sd JobId 56445: Fatal error: 3992 Bad autochanger "load
> slot 2, drive 0": ERR=Child exited with code 1.
>
> in bconsole i do this....
>
> *umount
> The defined Storage resources are:
>      1: File
>      2: MSL6000
> Select Storage resource (1-2): 2
> 3301 Issuing autochanger "loaded? drive 0" command.
> 3302 Autochanger "loaded? drive 0", result: nothing loaded.
> 3002 Device "Drive-0" (/dev/nst0) unmounted.
>
> why ask by dirver loaded???????
>
>
> *mount slot=2
> The defined Storage resources are:
>      1: File
>      2: MSL6000
> Select Storage resource (1-2): 2
> 3001 Mounted Volume: VA0208L3
> 3001 Device "Drive-0" (/dev/nst0) is mounted with Volume "VA0208L3"
>
> i don't know why always mount VA208L3
>
> *umount
> The defined Storage resources are:
>      1: File
>      2: MSL6000
> Select Storage resource (1-2): 2
> 3301 Issuing autochanger "loaded? drive 0" command.
> 3302 Autochanger "loaded? drive 0", result: nothing loaded.
> 3002 Device "Drive-0" (/dev/nst0) unmounted.
>
> once again the message...
>
>
> *mount
> The defined Storage resources are:
>      1: File
>      2: MSL6000
> Select Storage resource (1-2): 2
> 3001 Mounted Volume: VA0208L3
> 3001 Device "Drive-0" (/dev/nst0) is mounted with Volume "VA0208L3"
> *umount
> The defined Storage resources are:
>      1: File
>      2: MSL6000
> Select Storage resource (1-2): 2
> 3301 Issuing autochanger "loaded? drive 0" command.
> 3302 Autochanger "loaded? drive 0", result: nothing loaded.
> 3002 Device "Drive-0" (/dev/nst0) unmounted.
> *list media
> Pool: Scratch
> No results to list.
> Pool: TapeLibrary
> +---------+------------+-----------+---------+-------------------+----------+--------------+---------+------+-----------+--------------+---------------------+
> | MediaId | VolumeName | VolStatus | Enabled | VolBytes          | VolFiles
> | VolRetention | Recycle | Slot | InChanger | MediaType    | LastWritten
> |
> +---------+------------+-----------+---------+-------------------+----------+--------------+---------+------+-----------+--------------+---------------------+
> |      34 | VA0185L3   | Full      |       1 | 1,126,588,603,392 |    1,562
> |   15,552,000 |       1 |    1 |         1 | LTO3-Ultrium | 2012-03-30
> 02:45:40 |
> |      36 | VA0186L3   | Used      |       1 |                 1 |        0
> |   15,552,000 |       1 |    2 |         1 | LTO3-Ultrium | 2012-03-04
> 10:23:17 |
> |      37 | VA0187L3   | Full      |       1 |   972,669,551,616 |    1,209
> |   15,552,000 |       1 |    3 |         1 | LTO3-Ultrium | 2012-04-05
> 04:00:33 |
> |      39 | VA0188L3   | Full      |       1 | 1,079,748,052,992 |    1,518
> |   15,552,000 |       1 |    4 |         1 | LTO3-Ultrium | 2012-03-17
> 03:25:22 |
>
> 3301 Issuing autochanger "loaded? drive 0" command.
> 3302 Autochanger "loaded? drive 0", result: nothing loaded.
> 3002 Device "Drive-0" (/dev/nst0) unmounted.
> *mount slot=2
> The defined Storage resources are:
>      1: File
>      2: MSL6000
> Select Storage resource (1-2): 2
> 3001 Mounted Volume: VA0208L3
> 3001 Device "Drive-0" (/dev/nst0) is mounted with Volume "VA0208L3"
> *status storage=2
> Storage resource "2": not found
> The defined Storage resources are:
>      1: File
>      2: MSL6000
> Select Storage resource (1-2): 2
> Connecting to Storage daemon MSL6000 at storage.network.com:9103
>
> bacula-sd Version: 5.0.2 (28 April 2010) i486-pc-linux-gnu debian
> squeeze/sid
> Daemon started 06-Sep-12 16:36, 995 Jobs run since started.
>  Heap: heap=667,648 smbytes=475,731 max_bytes=574,376 bufs=95 max_bufs=114
> Sizes: boffset_t=8 size_t=4 int32_t=4 int64_t=8
>
> Running Jobs:
> No Jobs running.
> ====
>
> Jobs waiting to reserve a drive:
> ====
>
> Terminated Jobs:
>  JobId  Level    Files      Bytes   Status   Finished        Name
> ===================================================================
>  57004  Incr          0         0   Error    24-Sep-12 04:56 Backup_Redes
>  57005  Incr          0         0   Error    24-Sep-12 04:56 Backup_Romay
>  57006  Incr          0         0   Error    24-Sep-12 04:56 Backup_Simoni
>  57007  Incr          0         0   Error    24-Sep-12 05:00
> Backup_SmtpProxy1
>  57008  Incr          0         0   Error    24-Sep-12 05:00
> Backup_SmtpProxy2
>  57009  Incr          0         0   Error    24-Sep-12 05:00 Backup_vListas
>  57010  Incr          0         0   Error    24-Sep-12 05:00 Backup_Vs01
>  57011  Incr          0         0   Error    24-Sep-12 05:11 Backup_Web4
>  57012  Incr          0         0   Error    24-Sep-12 05:11 Backup_XYMAwww
>  57013  Incr          0         0   Error    24-Sep-12 05:12 Backup_Zabbix
> ====
>
> Device status:
> Autochanger "Autochanger" with devices:
>    "Drive-0" (/dev/nst0)
> Device "Drive-0" (/dev/nst0) is mounted with:
>     Volume:      VA0208L3
>     Pool:        *unknown*   (why unkow the pool if is TapeLibrary )
>     Media type:  LTO3-Ultrium
>     Drive 0 status unknown.
>     Total Bytes Read=709,632 Blocks Read=11 Bytes/block=64,512
>     Positioned at File=0 Block=0
> Device "FileStorage" is not open or does not exist.
> ====
>
> Used Volume status:
> VA0208L3 on device "Drive-0" (/dev/nst0)
>     Reader=0 writers=0 devres=0 volinuse=0
> ====
>
> ====
>
> * even i mount the tapelibrary, the job in the tape can't do it. always got
> same error about issue drive loaded
>
> any idea? have backup stopped many days... just running with hdd storage...
> :S
> thanxs in advance
>
> --
> Antonio Peña
> Secure email with PGP 0x8B021001 available at http://pgp.mit.edu
> Fingerprint: 74E6 2974 B090 366D CE71  7BB2 6476 FA09 8B02 1001
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>



-- 
_____________________________________________

Francisco Javier Funes Nieto [esencia AT gmail DOT com]
CANONIGOS
Servicios Informáticos para PYMES.
Cl. Cruz 2, 1º Oficina 7
Tlf: 958.536759 / 661134556
Fax: 958.521354
GRANADA - 18002

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users