Bacula-users

[Bacula-users] Tape Full before entire capacity

2012-06-01 13:02:34
Subject: [Bacula-users] Tape Full before entire capacity
From: João Alberto Kuchnier <joao.kuchnier AT dataprom DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 01 Jun 2012 13:38:47 -0300
Hi everyone,

I'm having some problemas with LTO-2 (200/400GB) tapes. The least I 
expect is that this tapes can record the 200GB off uncompressed data. I 
need to create monthly tapes that uses approximately 180GB but I'm not 
able to create this tape because they acuse they are full. With GZIP 
compression enable in bacula, the tape stop recording at 120GB. Without 
GZIP compression, they go to 160~170GB and request another tape. Other 
tapes that were working well on daily backups started going to the same 
way. I can't figure it out what is going on. I use this tow commands 
below before labeling a tape:

mt -f /dev/st0 rewind
mt -f /dev/st0 weof

I tried using "mt -f /dev/st0 erase" to, but I get the same problem.

I saw some people talking about enabling tape compression with "mt -f 
/dev/st0 compression" or "mt -f /dev/st0 defcompression 1" but this 
commands didn't work with me.

I also tried to use btape do rewind the tape. No success too.

Here is my Storage Daemon configuration:

Storage {
         Name = dataprom-sd
         Address = 192.168.1.27
         SDPort = 9103
         Password = "password"
         Device = HP_LTO-2
         Media Type = LTO-2
         Autochanger = no
}

Here is the error I got when the tape was marked as full:

31-Mai 19:27 dataprom-sd JobId 21030: Fim do Volume "Mensal09" em 147:6546 no 
dispositivo "HP_LTO-2" (/dev/st0). Escrita de 64512 bytes, obtidos -1.
31-Mai 19:29 dataprom-sd JobId 21030: Erro fatal: Re-read of last block: block 
numbers differ by more than one.
Probable tape misconfiguration and data loss. Read block=449499 Want 
block=2285045.
31-Mai 19:29 dataprom-sd JobId 21030: Job write elapsed time = 09:29:35, 
Transfer rate = 4.309 M Bytes/second
31-Mai 19:28 servidor-fd JobId 21030: Error: 
/home/kern/bacula/k/bacula/src/lib/bsock.c:393 Write error sending 65536 bytes 
to Storage daemon:192.168.1.27:9103: ERR=Input/output error
31-Mai 19:28 servidor-fd JobId 21030: Fatal error: 
/home/kern/bacula/k/bacula/src/filed/backup.c:1024 Network send error to SD. 
ERR=Input/output error
31-Mai 19:30 servidor-fd JobId 21030: Error: 
/home/kern/bacula/k/bacula/src/lib/bsock.c:339 Socket has errors=1 on call to 
Storage daemon:192.168.1.27:9103

It seems to be a tape misconfiguration but later, it shows a network 
problem. Why the tape was marked full before getting to its capacity 
limit? Is there another way to format these LTO-2 tapes?

Thanks for your help!

João K.



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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>