 |
Page 1 of 1
|
| Author |
Message |
Koldo Santisteban
Guest
|
 Bacula is using half size of lto2 tapes
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
|
| Mon Jul 05, 2010 4:52 am |
|
 |
drescherjm
Joined: 17 Apr 2009
Posts: 897
|
 Bacula is using half size of lto2 tapes
2010/7/5 Koldo Santisteban <ksantisteban < at > gmail.com>:
Quote: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.
This is most likely not a configuration issue. However I see two
unrelated problems in your configuration.
" Action On Purge = Truncate" I believe is for disk pools.
Also replace /dev/st0 with /dev/nst0. /dev/st0 can cause your tapes to
be corrupted by being rewound without bacula knowing.
Quote: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:
Bacula believes a tape is full if it hits any errors when writing.
Check your dmesg output for scsi errors.
John
------------------------------------------------------------------------------
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.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
| Mon Jul 05, 2010 5:16 am |
|
 |
Koldo Santisteban
Guest
|
 Bacula is using half size of lto2 tapes
Thanks for your answer John. Please, could you tell me detailed info about differences between /dev/st0 and /dev/nst0 ?? I don´t know anything about this...
Regrads!
On Mon, Jul 5, 2010 at 3:14 PM, John Drescher <drescherjm < at > gmail.com ([email]drescherjm < at > gmail.com[/email])> wrote:
Quote:2010/7/5 Koldo Santisteban <ksantisteban < at > gmail.com ([email]ksantisteban < at > gmail.com[/email])>:
Quote: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.
This is most likely not a configuration issue. However I see two
unrelated problems in your configuration.
" Action On Purge = Truncate" I believe is for disk pools.
Also replace /dev/st0 with /dev/nst0. /dev/st0 can cause your tapes to
be corrupted by being rewound without bacula knowing.
Quote: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:
Bacula believes a tape is full if it hits any errors when writing.
Check your dmesg output for scsi errors.
John
|
| Mon Jul 05, 2010 10:57 pm |
|
 |
C M Reinehr
Guest
|
 Bacula is using half size of lto2 tapes
On Tue 06 July 2010 01:55:45 am Koldo Santisteban wrote:
Quote:Thanks for your answer John. Please, could you tell me detailed info about
differences between /dev/st0 and /dev/nst0 ?? I don´t know anything about
this...
Regrads!
Koldo,
This may help you get started:
http://www.kernel.org/doc/Documentation/devices.txt
Scroll down to the section on SCSI Tape Devices.
Cheers!
cmr
Quote:On Mon, Jul 5, 2010 at 3:14 PM, John Drescher <drescherjm < at > gmail.com> wrote:
Quote:2010/7/5 Koldo Santisteban <ksantisteban < at > gmail.com>:
Quote:Good morning
I am using Bacula 5.0.2 on CentOS 5.4. We have 2 robotic libraries, one
HP
Quote: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
Quote:are written on them , but the issue is on Adic, the tapes are marked as
full
Quote:when 110 Gb are written on them. I don´t know what can i modify on
bacula configuration in order to solve it.
This is most likely not a configuration issue. However I see two
unrelated problems in your configuration.
" Action On Purge = Truncate" I believe is for disk pools.
Also replace /dev/st0 with /dev/nst0. /dev/st0 can cause your tapes to
be corrupted by being rewound without bacula knowing.
Quote: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:
Bacula believes a tape is full if it hits any errors when writing.
Check your dmesg output for scsi errors.
John
--
Debian 'Lenny' - Registered Linux User #241964
--------
"More laws, less justice." -- Marcus Tullius Ciceroca, 42 BC
------------------------------------------------------------------------------
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.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
| Tue Jul 06, 2010 1:38 pm |
|
 |
Koldo Santisteban
Guest
|
 Bacula is using half size of lto2 tapes
thank you very much for the info!!
Best regards
On 7/6/10, C M Reinehr <cmr < at > amsent.com> wrote:
Quote:On Tue 06 July 2010 01:55:45 am Koldo Santisteban wrote:
Quote:Thanks for your answer John. Please, could you tell me detailed info about
differences between /dev/st0 and /dev/nst0 ?? I don´t know anything about
this...
Regrads!
Koldo,
This may help you get started:
http://www.kernel.org/doc/Documentation/devices.txt
Scroll down to the section on SCSI Tape Devices.
Cheers!
cmr
Quote:On Mon, Jul 5, 2010 at 3:14 PM, John Drescher <drescherjm < at > gmail.com>
wrote:
Quote:2010/7/5 Koldo Santisteban <ksantisteban < at > gmail.com>:
Quote:Good morning
I am using Bacula 5.0.2 on CentOS 5.4. We have 2 robotic libraries,
one
HP
Quote: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
Quote:are written on them , but the issue is on Adic, the tapes are marked
as
full
Quote:when 110 Gb are written on them. I don´t know what can i modify on
bacula configuration in order to solve it.
This is most likely not a configuration issue. However I see two
unrelated problems in your configuration.
" Action On Purge = Truncate" I believe is for disk pools.
Also replace /dev/st0 with /dev/nst0. /dev/st0 can cause your tapes to
be corrupted by being rewound without bacula knowing.
Quote: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:
Bacula believes a tape is full if it hits any errors when writing.
Check your dmesg output for scsi errors.
John
--
Debian 'Lenny' - Registered Linux User #241964
--------
"More laws, less justice." -- Marcus Tullius Ciceroca, 42 BC
------------------------------------------------------------------------------
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.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
------------------------------------------------------------------------------
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.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
| Wed Jul 07, 2010 12:24 pm |
|
 |
|
|
The time now is Wed Sep 08, 2010 11:01 pm | All times are GMT - 8 Hours
|
Page 1 of 1
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|