Bacula-users

Re: [Bacula-users] Mount issue

2008-12-04 04:59:42
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 10:57:07 +0100
Yes. I did.

To solve the issue I tried to mount via shell command: mtx load 36
then inside bconsole: mount slot=36
however bacula is not able to append data, device is open but pointer is
at the beginning of the media:

Device parameters:
Archive name: /dev/rmt/0bn Device name: Drive-1
File=1 block=0
Min block=0 Max block=0
    Total Bytes=79,478,784 Blocks=1,231 Bytes/block=64,564
    Positioned at File=1 Block=0


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>