Bacula-users

Re: [Bacula-users] Mount issue

2008-12-04 06:30:44
Subject: Re: [Bacula-users] Mount issue
From: Massimo Schenone <mschenone AT sorint DOT it>
To: Arno Lehmann <al AT its-lehmann DOT de>
Date: Thu, 04 Dec 2008 12:28:23 +0100
Hmmmmm
I have released the drive, done an inventory with "update slots scan"
and restarted the backup, then mounted the tape by hand.. now test
backup is running...

May be I'm wrong in autochanger configuration..
I set the tape drive /dev/rmt/0bn to enable dynamic size block usage
(BSD style..) ..is it correct? btape test was successful..

Another question is: may be I need to customize mtx-changer?

Thanks!
M



On Thu, 2008-12-04 at 10:27 +0100, Arno Lehmann wrote:
> Hi,
> 
> 04.12.2008 09:48, Massimo Schenone wrote:
> > Hi all,
> > I have bacula 2.2.8 on Solaris 10 (package downloaded from
> > blastwave.org) connectred to a Sun STK C4 autoloader.
> > Bacula looks like working properly until it needs a tape from a
> > different pool. 
> > 
> > I recreated the problem running a backup: bacula asks for manual mount..
> > 
> > *mount
> > Automatically selected Storage: SunSTK-C4
> > Enter autochanger slot: 36
> > 3001 OK mount. Device="Drive-1" (/dev/rmt/0bn)
> > *
> > You have messages.
> > *mess
> > 04-Dec 09:41 its-cslbck-01-sd JobId 60: 3301 Issuing autochanger
> > "loaded? drive 0" command.
> > 04-Dec 09:41 its-cslbck-01-sd JobId 60: 3302 Autochanger "loaded? drive
> > 0", result: nothing loaded.
> > 04-Dec 09:41 its-cslbck-01-sd JobId 60: 3301 Issuing autochanger
> > "loaded? drive 0" command.
> > 04-Dec 09:41 its-cslbck-01-sd JobId 60: 3302 Autochanger "loaded? drive
> > 0", result: nothing loaded.
> > 04-Dec 09:41 its-cslbck-01-sd JobId 60: Invalid slot=0 defined in
> > catalog for Volume "000015L3" on "Drive-1" (/dev/rmt/0bn). Manual load
> > my be required.
> > 04-Dec 09:41 its-cslbck-01-sd JobId 60: Please mount Volume "000015L3"
> > or label a new one for:
> >     Job:          samba.2008-12-04_09.39.16
> >     Storage:      "Drive-1" (/dev/rmt/0bn)
> >     Pool:         Sorint-N
> >     Media type:   LTO3
> > 
> > ----------
> > "Invalid slot=0" sounds strange..
> 
> Have you run an 'update slots' command after loading the tapes into 
> the library, and before trying to mount them?
> 
> Arno
> 
> > bacula is looking for the tape into
> > the drive without trying a mount operation..
> > 
> > ----status storage-----
> > Device status:
> > Autochanger "SunSTK-C4" with devices:
> >    "Drive-1" (/dev/rmt/0bn)
> > Device "Drive-1" (/dev/rmt/0bn) is not open.
> >     Device is BLOCKED waiting for mount of volume "000015L3",
> >        Pool:        Sorint-N
> >        Media type:  LTO3
> >     Drive 0 status unknown.
> > 
> > Above the output of list media command:
> > 
> > *list media
> > Pool: Sorint-3
> > +---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> > | MediaId | VolumeName | VolStatus | Enabled | VolBytes        |
> > VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType |
> > LastWritten         |
> > +---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> > |       1 | 000000L3   | Full      |       1 | 617,788,975,104 |
> > 639 |    7,776,000 |       1 |    1 |         0 | LTO3      | 2008-11-27
> > 23:13:46 |
> > |       4 | 000002L3   | Full      |       1 | 614,956,575,744 |
> > 632 |    7,776,000 |       1 |    3 |         0 | LTO3      | 2008-12-03
> > 13:30:07 |
> > |       8 | 000014L3   | Append    |       1 |          64,512 |
> > 0 |    7,776,000 |       1 |   35 |         0 | LTO3      | 0000-00-00
> > 00:00:00 |
> > |      11 | 000019L3   | Append    |       1 | 294,835,774,464 |
> > 298 |    7,776,000 |       1 |   28 |         1 | LTO3      | 2008-12-04
> > 01:25:18 |
> > +---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> > Pool: Sorint-N
> > +---------+------------+-----------+---------+------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> > | MediaId | VolumeName | VolStatus | Enabled | VolBytes   | VolFiles |
> > VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
> > |
> > +---------+------------+-----------+---------+------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> > |       7 | 000015L3   | Append    |       1 | 79,478,784 |        1 |
> > 31,536,000 |       0 |   36 |         0 | LTO3      | 2008-12-03
> > 15:28:21 |
> > +---------+------------+-----------+---------+------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> > Pool: Scratch
> > +---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
> > | MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles |
> > VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
> > |
> > +---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
> > |       2 | 000001L3   | Purged    |       1 |        0 |        0 |
> > 7,776,000 |       1 |    2 |         0 | LTO3      | 0000-00-00 00:00:00
> > |
> > |       6 | 000011L3   | Purged    |       1 |   64,512 |        0 |
> > 7,776,000 |       1 |   32 |         0 | LTO3      | 0000-00-00 00:00:00
> > |
> > |       9 | 000013L3   | Append    |       1 |   64,512 |        0 |
> > 31,536,000 |       1 |   34 |         0 | LTO3      | 0000-00-00
> > 00:00:00 |
> > |      10 | 000012L3   | Append    |       1 |   64,512 |        0 |
> > 31,536,000 |       1 |   33 |         0 | LTO3      | 0000-00-00
> > 00:00:00 |
> > +---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
> > 
> > 
> > Anyone can help me? 
> > Thanks a lot!
> > Massimo
> > 
> 
> 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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>