-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ohh, by the way, I'm using bacula 0.38.1 on a Fedora Core 2 system
(Linux), compiled on the system, with mysql.

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!

- --
Cedric Charest
Administrateur de Systèmes / System Administrator
Terrascale Technologies Inc.



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDghBaudvjQGGRi3oRAlIIAJ9yxkq/LpieI6Xo+3i7wvbSbhweKACgtR9k
wLyvJn17Ahnz2yYUu3YNUwE=
=T7eY
-----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
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to