i had the same issue one year ago when i tried the "virtual full" feature.
.
i also posted the problem on the devel list but nobody seems interested in
fixing this bug.
i switched to rsync disk based backups
maybe you'll find a suitable solution .
Dil
"Mark Bergman" <mark.bergman AT uphs.upenn DOT edu> a écrit dans le message de
news:20110902163018.02029de9 AT uphs.upenn DOT edu...
> We're still experiencing the same problem I described last week (please
> see below). The only update I can offer is that the problem is not
> dependent on the specific tape drive. If all tapes are unloaded and bacula
> loads a volume into drive0 (as opposed to drive1 as described below), then
> bacula still waits for the drive to mount.
>
> Are there any suggestions for a fix?
>
> Thanks,
>
> Mark
>
> ----------------------------------------------------------------------
> Begin forwarded message:
>
> Date: Fri, 26 Aug 2011 16:08:00 -0400
> From: Mark Bergman <mark.bergman AT uphs.upenn DOT edu>
> To: bacula-users AT lists.sourceforge DOT net
> Subject: [Bacula-users] bacula does not mount tape that's already loaded
>
>
>
> We're using Bacula 5.0.2 with a 2-drive tape library. Jobs are waiting on
> a
> mount request for a tape that's already in the desired drive. The tape was
> loaded by bacula (not manually), but does not get mounted.
>
> Bacula and "mtx" both agree that the requested tape (004037) is in drive1,
> but
> bacula does not automount the tape and it cannot be mounted manually.
>
> The tape has been used previously, so it does not need to be labeled. The
> option "AutomaticMount" is set to "yes" for both tape drives in
> bacula-sd.conf.
>
> This problem persists after restarting bacula-sd and bacula-dir.
>
> If I unload the tape (release or umount w/in bacula, or via mtx), bacula
> successfully reloads the tape into the correct drive, but it does not
> mount it.
>
> Any suggestions?
>
> Thanks,
>
> Mark
>
> Selected command output below:
> ------------------------
> #stat dir
>
> Running Jobs:
> Console connected at 26-Aug-11 15:01
> JobId Level Name Status
> ======================================================================
> 40222 Increme client.2011-08-25_22.45.00_03 is waiting for a mount
>
> #stat stor
> Running Jobs:
> Writing: Incremental Backup job client JobId=40222 Volume="004037"
> pool="Incremental" device="drv1" (/dev/tape1)
> spooling=0 despooling=0 despool_wait=0
> Files=0 Bytes=0 Bytes/sec=0
> FDReadSeqNo=6 in_msg=6 out_msg=4 fd=6
>
> Device status:
> Autochanger "ml6000" with devices:
> "drv0" (/dev/tape0)
> "drv1" (/dev/tape1)
> Device "drv0" (/dev/tape0) is mounted with:
> Volume: 004035
> Pool: Archive
> Media type: LTO2
> Slot 1 is loaded in drive 0.
> Total Bytes=15,398,240,256 Blocks=238,687 Bytes/block=64,512
> Positioned at File=6 Block=0
> Device "drv1" (/dev/tape1) open but no Bacula volume is
> currently mounted.
> Device is BLOCKED waiting for mount of volume "004037",
> Pool: Incremental
> Media type: LTO2
> Slot 2 is loaded in drive 1.
> Total Bytes Read=11,999,232 Blocks Read=186 Bytes/block=64,512
> Positioned at File=0 Block=0
>
>
> Used Volume status:
> 004035 on device "drv0" (/dev/tape0)
> Reader=0 writers=0 devres=0 volinuse=0
> 004037 on device "drv1" (/dev/tape1)
> Reader=0 writers=0 devres=5 volinuse=0
>
> #mount storage=ml6000 drive=1 slot=2
> 3001 OK mount requested. Specified slot ignored. Device="ml6000-drv1"
> (/dev/tape1)
> 26-Aug 15:30 sbia-infr-vbacula JobId 40222: Please mount Volume
> "004037" or
> label a new one for:
> Job: client.2011-08-25_22.45.00_03
> Storage: "ml6000-drv1" (/dev/tape1)
> Pool: Incremental
> Media type: LTO2
> #
>
> # query
> 11
>
> +-------+---------------+-----------------------+------------+
> | Jobs | Files | Bytes | VolumeName |
> +-------+---------------+-----------------------+------------+
> | 179 | 49,555,030 | 25,913,161,291,440 | 004037 |
> +-------+---------------+-----------------------+------------+
>
>
>
>
> ----------------------------
>
> mtx -f /dev/changer status | head -5
> Storage Changer /dev/changer-ml6000:2 Drives, 40 Slots ( 6
> Import/Export )
> Data Transfer Element 0:Full (Storage Element 1 Loaded):VolumeTag =
> 004035
> Data Transfer Element 1:Full (Storage Element 2 Loaded):VolumeTag =
> 004037
> Storage Element 1:Empty:VolumeTag=
> Storage Element 2:Empty:VolumeTag=
> ----
> Mark Bergman voice: 215-662-7310
> mark.bergman AT uphs.upenn DOT edu fax: 215-614-0266
> System Administrator Section of Biomedical Image Analysis
> Department of Radiology University of Pennsylvania
> PGP Key: https://www.rad.upenn.edu/sbia/bergman
>
> ==vv ANY TEXT BELOW THIS LINE WAS ADDED WITHOUT MY CONSENT OR APPROVAL
> vv==
>
> ------------------------------------------------------------------------------
> Special Offer -- Download ArcSight Logger for FREE!
> Finally, a world-class log management solution at an even better
> price-free! And you'll get a free "Love Thy Logs" t-shirt when you
> download Logger. Secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsisghtdev2dev
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|