Bacula-users

[Bacula-users] Bacula is using half size of lto2 tapes

2010-07-05 08:48:51
Subject: [Bacula-users] Bacula is using half size of lto2 tapes
From: Koldo Santisteban <ksantisteban AT gmail DOT com>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Mon, 5 Jul 2010 14:17:44 +0200
Good morning

I am using Bacula 5.0.2 on CentOS 5.4. We have 2 robotic libraries, one HP G2 autoloader and an Adic FastStor 2. Both are using HP Lto2 Drives.
On the HP library, all is working fine, tapes are marked as full when 265 Gb are written on them , but the issue is on Adic, the tapes are marked as full when 110 Gb are written on them. I don´t know what can i modify on bacula configuration in order to solve it. Before Bacula, i were using Backup Exec and Adic was working fine with their tape corresponding capacity.

This are (in my opinion, let me know please if further information is required) the most important configurations:


pool.conf file
________________________
Pool {
  Name = MexicanPool
  Pool Type = Backup
  Storage = Adic
  Recycle = yes                       # Bacula can automatically recycle Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 30 days         # one year
  Storage = Adic
  Cleaning Prefix = "CLN"
  Action On Purge = Truncate
}

Pool {
  Name = ChinaPool
  Pool Type = Backup
  Storage = HP1x8G2AUTOLDR
  Recycle = yes                       # Bacula can automatically recycle Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 30 days        
   Cleaning Prefix = "CLN"
  #Action On Purge = Truncate
}

storage.conf on bacula-dir
______________________________

# Libreria HP en China
Storage {
  Name = HP1x8G2AUTOLDR

#  Do not use "localhost" here
  Address = X.X.X.X                # N.B. Use a fully qualified name here
  SDPort = 9103
  Password = "password"          # password for Storage daemon
  Device = HP1x8G2AUTOLDR    # must be same as Device in Storage daemon
  Media Type = LTO2                  # must be same as MediaType in Storage daemon
  Autochanger = yes                   # enable for autochanger device
}

# Libreria Adic en Mexico
Storage {
  Name = Adic

#  Do not use "localhost" here
  Address = X.X.X.X                # N.B. Use a fully qualified name here
  SDPort = 9103
  Password = "password"          # password for Storage daemon
  Device = Adic    # must be same as Device in Storage daemon
  Media Type = LTO2                  # must be same as MediaType in Storage daemon
  Autochanger = yes                   # enable for autochanger device
}

bacula-sd.conf on Server with HP Library
___________________________________


Autochanger {
  Name = HP1x8G2AUTOLDR
  Device = Drive-1
#  Device = Drive-2
  Changer Command = "/usr/share/bacula/etc/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/changer
}

Device {
  Name = Drive-1                      #
  Drive Index = 0
  Media Type = LTO2
  Archive Device = /dev/st0
  AutomaticMount = yes;               # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes
  Maximum Spool Size = 150gb
  Spool Directory = /disco2/BaculaSpool
#  #
#  # Enable the Alert command only if you have the mtx package loaded
#  # Note, apparently on some systems, tapeinfo resets the SCSI controller
#  #  thus if you turn this on, make sure it does not reset your SCSI
#  #  controller.  I have never had any problems, and smartctl does
#  #  not seem to cause such problems.
#  #
#  Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
#  If you have smartctl, enable this, it has more info than tapeinfo
#  Alert Command = "sh -c 'smartctl -H -l error %c'"
}


bacula-sd.conf on Server with Adic Library
________________________________________


Autochanger {
  Name = Adic
  Device = Drive-1
#  Device = Drive-2
  Changer Command = "/usr/share/bacula/etc/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/changer
}

Device {
  Name = Drive-1
  Drive Index = 0
  Media Type = LTO2
  Archive Device = /dev/st0
  AutomaticMount = yes;               # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  Maximum File Size = 3GB
## Changer Command = "/usr/share/bacula/etc/mtx-changer %c %o %S %a %d"
## Changer Device = /dev/sg0
 AutoChanger = yes
#  # Enable the Alert command only if you have the mtx package loaded
## Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
## If you have smartctl, enable this, it has more info than tapeinfo
## Alert Command = "sh -c 'smartctl -H -l error %c'"
}



I am very grateful if anyone can help me or give me a clue in order to solve it.
Best regards
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
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>