-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Cool, thanks a lot!
It fixed my problem!
Cédric Charest
Administrateur de Systèmes / System Administrator
Terrascale Technologies Inc.
Kern Sibbald wrote:
> You ran into a bug in 1.38.x that causes the Director to incorrectly handle
> Pool names containing spaces. Bug #492 has a patch file that will add all
> current patches to 1.38.1 generating 1.38.2. Note, this patch file is
> preliminary because there may be additional changes before the 1.38.2
> release.
>
> If you only want to fix the current problem, look at the patch for
> src/dird/catreq.c. That part of the patch file contains a one line addition
> that fixes your bug ...
>
> On Monday 21 November 2005 18:49, Cedric Charest wrote:
>
>>Hello!
>>
>>I'm trying to configure Bacula for our backups at work with an Exabyte
>>Packetloader 1x10 80/160 changer/tape backup.
>>
>>The changer is supported and everything, but I'm having a weird problem.
>>
>>Each time I start a job, I get this:
>>
>>--------------
>>18-Nov 23:05 newt-sd: Job Newt_Incremental.2005-11-18_23.05.00 waiting.
>>Cannot find any appendable volumes.
>>Please use the "label" command to create a new Volume for:
>> Storage: "Exabyte VXA2 Drive" (/dev/nst0)
>> Media type: VXA-2
>> Pool: Tapes Pool
>>--------------
>>
>>BUT, all my tapes were labeled with a "label barcodes" and are appendable:
>>--------------
>>list media
>>Pool: Tapes Pool
>>
>>| MediaId | VolumeName | VolStatus | VolBytes | VolFiles | VolRetention
>>| Recycle | Slot | InChanger | MediaType | LastWritten |
>>
>>+---------+------------+-----------+----------+----------+--------------+--
>>-------+------+-----------+-----------+---------------------+
>>
>>| 41 | A0000001 | Append | 1 | 0 | 1,814,400
>>| 1 | 1 | 1 | VXA-2 | 0000-00-00 00:00:00 |
>>| 42 | A0000002 | Append | 1 | 0 | 1,814,400
>>| 1 | 2 | 1 | VXA-2 | 0000-00-00 00:00:00 |
>>| 43 | A0000003 | Append | 1 | 0 | 1,814,400
>>| 1 | 3 | 1 | VXA-2 | 0000-00-00 00:00:00 |
>>| 44 | A0000004 | Append | 1 | 0 | 1,814,400
>>| 1 | 4 | 1 | VXA-2 | 0000-00-00 00:00:00 |
>>| 45 | A0000005 | Append | 1 | 0 | 1,814,400
>>| 1 | 5 | 1 | VXA-2 | 0000-00-00 00:00:00 |
>>| 46 | A0000006 | Append | 1 | 0 | 1,814,400
>>| 1 | 6 | 1 | VXA-2 | 0000-00-00 00:00:00 |
>>| 47 | A0000007 | Append | 1 | 0 | 1,814,400
>>| 1 | 7 | 1 | VXA-2 | 0000-00-00 00:00:00 |
>>| 48 | A0000008 | Append | 1 | 0 | 1,814,400
>>| 1 | 8 | 1 | VXA-2 | 0000-00-00 00:00:00 |
>>| 49 | A0000009 | Append | 1 | 0 | 1,814,400
>>| 1 | 9 | 1 | VXA-2 | 0000-00-00 00:00:00 |
>>| 50 | A0000010 | Append | 1 | 0 | 1,814,400
>>| 1 | 10 | 1 | VXA-2 | 0000-00-00 00:00:00 |
>>
>>+---------+------------+-----------+----------+----------+--------------+--
>>-------+------+-----------+-----------+---------------------+ --------------
>>
>>An "st st" gives me:
>>--------------
>>Device status:
>>Autochanger "Exabyte VXA2 Packetloader 1x10" with devices:
>> "Exabyte VXA2 Drive" (/dev/nst0)
>>Device "DiskStorage" (/mnt/archive) is not open or does not exist.
>>Device "Exabyte VXA2 Drive" (/dev/nst0) is mounted with Volume "A0000001"
>> Slot 1 is loaded in drive 0.
>> Total Bytes Read=64,512 Blocks Read=1 Bytes/block=64,512
>> Positioned at File=0 Block=0
>>====
>>
>>In Use Volume status:
>>A0000001 on device "Exabyte VXA2 Drive" (/dev/nst0)
>>====
>>--------------
>>
>>If I try to label a tape with another name, it says it's already labeled
>>as A0000001, as an example.
>>
>>My bacula-sd.conf looks like this:
>>
>>--------------
>>Device {
>> Name = Disk Storage
>> Media Type = File
>> Archive Device = /mnt/archive
>> LabelMedia = yes; # lets Bacula label unlabeled media
>> Random Access = Yes;
>> AutomaticMount = yes; # when device opened, read it
>> RemovableMedia = no;
>> AlwaysOpen = no;
>>}
>>
>>Autochanger {
>> Name = "Exabyte VXA2 Packetloader 1x10"
>> Device = "Exabyte VXA2 Drive"
>> Changer Command = "/usr/local/bacula/etc/mtx-changer %c %o %S %a %d"
>> Changer Device = /dev/sg1
>>}
>>
>>Device {
>> Name = "Exabyte VXA2 Drive"
>> Media Type = VXA-2
>> Archive Device = /dev/nst0
>> AutomaticMount = yes;
>> AlwaysOpen = yes;
>> RemovableMedia = yes;
>> RandomAccess = no;
>> AutoChanger = yes
>> Changer Command = "/usr/local/bacula/etc/mtx-changer %c %o %S %a %d"
>> Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
>> Changer Device = /dev/sg1
>>}
>>--------------
>>
>>Any help would be greatly appreciated!
>>
>>Thanks!
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDgkA2udvjQGGRi3oRAk8LAJ92KjIxQFOERh/eszY2Qg9nt1xiRACfQa6v
gQcruEA7ycEs6DN1ZZBHWjc=
=S4V8
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_idv28&alloc_id845&op=click
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users