[Bacula-users] Please mount Volume "A0000003" or label a new one for...
2008-06-12 04:44:21
Hello gurus.
I'm using bacula 2.2.8 with an autoloader and i've got the following problem:
The first time i do the backup all works fine, but when a tape needs to be written again in other backup, the problems begins.
The state of the volume changes succesfully from Used to Recycled, so it can be used to be written. The autoloader seems to do his works fine, but finally it reports the message:
11-jun 22:04 servfich-sd JobId 47: Please mount Volume "A0000003" or label a new one for: Job: Backup_de_Trabajo_Diario.2008-06-11_22.00.20 Storage: "Driver1" (/dev/nst0)
Pool: MiercolesPool Media type: VXA-X23
But really, the volume is mounted. If i do unmount and latter i do mount, the work continues an it finish ok.
It only occurs when the tape's going to be written the second time.
I show my configuration files and logs:
Director { # define myself Name = servfich-dir DIRport = 9101 # where we listen for UA connections QueryFile = "/etc/bacula/scripts/query.sql" WorkingDirectory = "/var/lib/bacula" PidDirectory = "/var/run/bacula" Maximum Concurrent Jobs = 1 Password =
"Cv70F6pf1t6pBopT4vQOnigDrR0v3L" # Console password Messages = Daemon DirAddress = 127.0.0.1 }
JobDefs { Name = "Trabajo Diario" Type = Backup Level = Full Client = servfich-fd FileSet = "Trabajo" Schedule = "Diario" Storage = Cinta Messages = Standard Pool = Default Priority = 10 } Job { Name = "Backup de Trabajo Diario" JobDefs = "Trabajo Diario" Write Bootstrap = "/var/lib/bacula/Diario.bsr" } Job { Name = "RestoreFiles" Type = Restore Client=servfich-fd FileSet="Restore" Storage = File Pool = Default Messages = Standard Where = /tmp/bacula-restores }
# FileSet Restore FileSet { Name = "Restore" Include
{ Options { Signature = MD5 } } }
# List of files to be backed up FileSet { Name = "Trabajo" Include { Options { signature = MD5 compression = GZIP } File = "/home/" } } Schedule { Name = "Diario" Run = Pool=LunesPool mon at 22:00 Run = Pool=MartesPool tue at 22:00 Run = Pool=MiercolesPool wed at 22:00 Run = Pool=JuevesPool thu at 22:00 Run = Pool=ViernesPool fri at 22:00 } Client { Name = servfich-fd Address = servfich FDPort = 9102 Catalog = MyCatalog Password = "Cv70F6pf1t6pBopT4vQOnigDrR0v3LT3Cg" # password for
FileDaemon File Retention = 30 days # 30 days Job Retention = 6 months # six months AutoPrune = yes # Prune expired Jobs/Files } # Definition of file storage device Storage { Name = File # Do not use "localhost" here Address = servfich # N.B. Use a fully qualified name here SDPort = 9103 Password = "Cv70F6pf1t6pBopT4vQOnigDrR0v3LT3Cgkiyj" Device = FileStorage Media Type = File }
# Definition of VXA-X23 tape storage device Storage { Name = Cinta # Do not use "localhost" here
Address = servfich # N.B. Use a fully qualified name here SDPort = 9103 Password = "Cv70F6pf1t6pBopT4vQOnigDrR0v3LT3Cgkiyj" # password for Storage daemon Device = Driver1 # must be same as Device in Storage daemon Media Type = VXA-X23 # must be same as MediaType in Storage daemon Autochanger = yes # enable for autochanger device } # Generic catalog service Catalog { Name = MyCatalog dbname = bacula; DB
Address = "localhost"; user = bacula; password = "bacula" }
# Reasonable message delivery -- send most everything to email address # and to the console Messages { Name = Standard # # NOTE! If you send to two email or more email addresses, you will need # to replace the %r in the from field (-f part) with a single valid # email address in both the mailcommand and the operatorcommand. # What this does is, it sets the email address that emails would display # in the FROM field, which is by default the same email as they're being # sent to. However, if you send email to more than one address, then # you'll have to set the FROM address manually, to a single address. # for example, a 'no-reply AT mydomain DOT com', is better since that tends to # tell (most) people that its coming from an automated source.
# mailcommand =
"/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s \"Bacula: %t %e of %c %l\" %r" operatorcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s \"Bacula: Intervention needed for %j\" %r" mail = root@localhost = all, !skipped operator = root@localhost = mount console = all, !skipped, !saved # # WARNING! the following will create a file that you must cycle from # time to time as it will grow indefinitely. However, it will # also keep all your messages if they scroll off the console. # append = "/var/lib/bacula/log" = all, !skipped } # Message delivery for daemon messages (no job). Messages { Name = Daemon mailcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s \"Bacula daemon message\"
%r" mail = root@localhost = all, !skipped console = all, !skipped, !saved append = "/var/lib/bacula/log" = all, !skipped }
# Default pool definition Pool { Name = Default Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Cleaning Prefix = "CLN" }
# Pools por dias de la semana Pool { Name = LunesPool Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 6d Maximum Volume Jobs = 1 Cleaning Prefix = "CLN" Purge Oldest Volume =
yes } Pool { Name = MartesPool Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 6d Maximum Volume Jobs = 1 Cleaning Prefix = "CLN" Purge Oldest Volume = yes } Pool { Name = MiercolesPool Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 6d Maximum Volume Jobs = 1 Cleaning Prefix = "CLN" Purge Oldest Volume = yes } Pool { Name = JuevesPool Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 6d Maximum Volume Jobs = 1 Cleaning Prefix = "CLN" Purge Oldest Volume = yes } Pool { Name = ViernesPool Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 6d Maximum Volume Jobs =
1 Cleaning Prefix = "CLN" Purge Oldest Volume = yes }
# # Restricted console used by tray-monitor to get the status of the director # Console { Name = servfich-mon Password = "Cv70F6pf1t6pBopT4vQOnigDrR0v3L" CommandACL = status, .status }
11-jun 22:00 servfich-dir JobId 47: Start Backup JobId 47, Job=Backup_de_Trabajo_Diario.2008-06-11_22.00.20 11-jun 22:00 servfich-dir JobId 47: Purging oldest volume "A0000003" 11-jun 22:00 servfich-dir JobId 47: 1 File on Volume "A0000003" purged from catalog. 11-jun 22:00 servfich-dir JobId 47: There are no more Jobs associated with Volume "A0000003". Marking it purged. 11-jun 22:00 servfich-dir JobId 47: All records pruned from Volume "A0000003"; marking it "Purged" 11-jun 22:00 servfich-sd JobId 47: 3307 Issuing autochanger "unload slot 2, drive 0" command. 11-jun 22:03 servfich-dir JobId 47: Using Device
"Driver1" 11-jun 22:03 servfich-sd JobId 47: 3301 Issuing autochanger "loaded? drive 0" command. 11-jun 22:03 servfich-sd JobId 47: 3302 Autochanger "loaded? drive 0", result: nothing loaded. 11-jun 22:03 servfich-sd JobId 47: 3304 Issuing autochanger "load slot 3, drive 0" command. 11-jun 22:04 servfich-sd JobId 47: 3305 Autochanger "load slot 3, drive 0", status is OK. 11-jun 22:04 servfich-sd JobId 47: 3301 Issuing autochanger "loaded? drive 0" command. 11-jun 22:04 servfich-sd JobId 47: 3302 Autochanger "loaded? drive 0", result is Slot 3. 11-jun 22:04 servfich-sd JobId 47: Error: block.c:995 Read error on fd=6 at file:blk 0:0 on device "Driver1" (/dev/nst0). ERR=Input/output error. 11-jun 22:04 servfich-sd JobId 47: Error: block.c:995 Read error on fd=6 at file:blk 0:0 on device "Driver1" (/dev/nst0). ERR=Input/output error. 11-jun 22:04 servfich-sd JobId 47: Error: block.c:995 Read error on fd=6 at file:blk 0:0 on device
"Driver1" (/dev/nst0). ERR=Input/output error. 11-jun 22:04 servfich-sd JobId 47: Error: block.c:995 Read error on fd=6 at file:blk 0:0 on device "Driver1" (/dev/nst0). ERR=Input/output error. 11-jun 22:04 servfich-sd JobId 47: Error: block.c:995 Read error on fd=6 at file:blk 0:0 on device "Driver1" (/dev/nst0). ERR=Input/output error. 11-jun 22:04 servfich-sd JobId 47: Please mount Volume "A0000003" or label a new one for: Job: Backup_de_Trabajo_Diario.2008-06-11_22.00.20 Storage: "Driver1" (/dev/nst0) Pool: MiercolesPool Media type: VXA-X23 11-jun 23:04 servfich-sd JobId 47: Please mount Volume "A0000003" or label a new one for: Job:
Backup_de_Trabajo_Diario.2008-06-11_22.00.20 Storage: "Driver1" (/dev/nst0) Pool: MiercolesPool Media type: VXA-X23 12-jun 01:04 servfich-sd JobId 47: Please mount Volume "A0000003" or label a new one for: Job: Backup_de_Trabajo_Diario.2008-06-11_22.00.20 Storage: "Driver1" (/dev/nst0) Pool: MiercolesPool Media type: VXA-X23 12-jun 05:04 servfich-sd JobId 47: Please mount Volume "A0000003" or label a new one for: Job: Backup_de_Trabajo_Diario.2008-06-11_22.00.20
Storage: "Driver1" (/dev/nst0) Pool: MiercolesPool Media type: VXA-X23 12-jun 08:07 servfich-sd JobId 47: Error: block.c:995 Read error on fd=6 at file:blk 0:0 on device "Driver1" (/dev/nst0). ERR=Input/output error. 12-jun 08:07 servfich-sd JobId 47: Please mount Volume "A0000003" or label a new one for: Job: Backup_de_Trabajo_Diario.2008-06-11_22.00.20 Storage: "Driver1" (/dev/nst0) Pool: MiercolesPool Media type: VXA-X23
I don't know where is the problem.
Thanks in advance.
|
Enviado desde Correo Yahoo! La bandeja de entrada más inteligente.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php _______________________________________________
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>
|
- [Bacula-users] Please mount Volume "A0000003" or label a new one for...,
Javier Rodriguez <=
|
|
|