Hello all,

I am currently running bacula v2.0.3 on a Solaris 9 system with a
Qualstar RLS-8236 Tape Library. The Library has 2 LTO-2 tape drives.
Bacula has worked okay, but recently (after upgrading to 2.0.3 from
1.38.11) I am getting backup errors on a couple of clients.

>From this mornings report:

30-May 03:20 solweb-sd: Sleepy.2007-05-30_03.20.01 Fatal error:
acquire.c:355 Wanted to append to Volume "Daily02-0004", but device
"LTO-0" (/dev/rmt/0cbn) is busy writing on "Daily01-0004" .
30-May 03:26 sleepy-fd: Sleepy.2007-05-30_03.20.01 Fatal error:
../../filed/job.c:1752 Bad response to Append Data command. Wanted 3000
OK data , got 3903 Error append data

>From the other server:

30-May 03:40 solweb-sd: Grumpy.2007-05-30_03.40.01 Fatal error:
acquire.c:355 Wanted to append to Volume "Daily02-0004", but device
"LTO-0" (/dev/rmt/0cbn) is busy writing on "Daily01-0004" .
30-May 03:46 grumpy-fd: Grumpy.2007-05-30_03.40.01 Fatal error:
../../filed/job.c:1752 Bad response to Append Data command. Wanted 3000
OK data , got 3903 Error append data

In the autochanger I have:

Device status:
Autochanger "Autochanger-0" with devices:
   "LTO-0" (/dev/rmt/0cbn)
   "LTO-1" (/dev/rmt/1cbn)
Device "LTO-0" (/dev/rmt/0cbn) is mounted with Volume="Daily01-0004"
Pool="Daily01"
    Slot 1 is loaded in drive 0.
    Total Bytes=19,034,459,136 Blocks=295,052 Bytes/block=64,512
    Positioned at File=46 Block=0
Device "LTO-1" (/dev/rmt/1cbn) is mounted with Volume="Daily02-0001"
Pool="Daily02"
    Slot 18 is loaded in drive 1.
    Total Bytes=13,033,036,800 Blocks=202,024 Bytes/block=64,512
    Positioned at File=18 Block=0
Device "FileStorage" (/tmp) is not open.
====

In Use Volume status:
Daily01-0004 on device "LTO-0" (/dev/rmt/0cbn)
Daily02-0001 on device "LTO-1" (/dev/rmt/1cbn)

I don't understand why bacula is erroring out of the backup just because
there is already a job running on the drive 0 device. BTW, there was a
job running on the drive 1 device using another volume in the Daily02
pool at this time. There are four clients that use the Daily02 pool, the
other two jobs completed successfully.

Here ia my autochanger and drive configuration from bacula-sd.conf:

# An autochanger device with two drives
#
Autochanger {
  Name = Autochanger-0
  Device = LTO-0
  Device = LTO-1
  Changer Command = "/usr/local/bacula/etc/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/scsi/changer/c2t0d0 }

Device {
  Name = LTO-0
  Drive Index = 0
  Media Type = LTO-2
  Archive Device = /dev/rmt/0cbn
  AutomaticMount = yes;               # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes
  Autoselect = yes              # Default is yes but not using both
drives
  Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
  Spool Directory = /local0/BACKUP
  Maximum Spool Size=16777216000
  Maximum Job Spool Size=10485760000
  Maximum Network Buffer Size = 65536
}

Device {
  Name = LTO-1
  Drive Index = 1
  Media Type = LTO-2
  Archive Device = /dev/rmt/1cbn
  AutomaticMount = yes;               # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes
  Autoselect = yes              # Default is yes but not using both
drives
  Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
  Spool Directory = /local3/BACKUP
  Maximum Spool Size=29360128000
  Maximum Job Spool Size=19922944000
  Maximum Network Buffer Size = 65536
}

Here are the Daily01 and Daily02 pool definitions:

Pool {
  Name = Daily01
  Pool Type = Backup
  Recycle = yes                 # Bacula can automatically recycle
Volumes
  AutoPrune = yes               # Prune expired volumes
  Volume Use Duration = 21 days
  Volume Retention = 60 days    # 2 Months
  #Accept Any Volume = yes       # write on any volume in the pool
  Cleaning Prefix = Clean
}

Pool {
  Name = Daily02
  Pool Type = Backup
  Recycle = yes                 # Bacula can automatically recycle
Volumes
  AutoPrune = yes               # Prune expired volumes
  Volume Use Duration = 21 days
  Volume Retention = 60 days    # 2 Months
  #Accept Any Volume = yes       # write on any volume in the pool
  Cleaning Prefix = Clean
}

If you need more information please let me know.

Thank you,

Tom.
----
Thomas Boyda
Consultant
Proxicom, Inc.
276-739-2314 (Desk)
http://www.proxicom.com 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to