On 5/28/07, Arno Lehmann <[EMAIL PROTECTED]> wrote:

Hi,

On 5/28/2007 8:33 PM, pedro moreno wrote:
>
>   Hi people.
>
>    This is the third occasion that my Full Backup Failed.
>
>   My tape is one: Storage Works 232 200GB SCSI, running FreeBSD 6.1-p16
> with bacula 1.38.11, i have been working with bacula since this release.
> Now i begin to see this error:
>
> 28-May 04:30 bacula-dir: Start Backup JobId 1409,
> Job=MBXDBA-FD.2007-05-28_04.30.00
> 28-May 06:18 bacula-sd: End of Volume "FullTape-0009" at 184:1 on device
> "StorageWorks-232" (/dev/nsa0). Write of 64512 bytes got 0.
> 28-May 06:18 bacula-sd: End of medium on Volume "FullTape-0009"
> Bytes=177,755,370,128 Blocks=2,755,390 at 28-May-2007 06:18.

Ok, the tape drive reported that it could not put any more data onto the
tape. This is not in itself an error.

> 28-May 06:19 bacula-dir: There are no Jobs associated with Volume
> "FullTape-0010". Marking it purged.
> 28-May 06:19 bacula-dir: Recycled volume "FullTape-0010"
> 28-May 06:19 bacula-sd: Please mount Volume "FullTape-0010" on Storage
> Device "StorageWorks-232" (/dev/nsa0) for Job
MBXDBA-FD.2007-05-28_04.30.00
> 28-May 06:19 bacula-sd: MBXDBA-FD.2007-05-28_04.30.00 Warning: Director
> wanted Volume "FullTape-0010" for device "StorageWorks-232" (/dev/nsa0).
>     Current Volume "FullTape-0009" not acceptable because:
>     1998 Volume "FullTape-0009" status is Full, but should be Append,
> Purged or Recycle.
>
>    Looks like space problem, but it supposes that the tape is not full
> for me, because if i calculated the space i need using the command
> estimate, give me to amount of 180,275,927,975, this is my jobs results:
>
...
>   The jobID 1409 looks like he almost finish but:
>
> 28-May 08:06 bacula-sd: Please mount Volume "FullTape-0009" on Storage
> Device "StorageWorks-232" (/dev/nsa0) for Job
MBXDBA-FD.2007-05-28_04.30.00
> 28-May 08:06 bacula-sd: Please mount Volume "FullTape-0010" on Storage
> Device "StorageWorks-232" (/dev/nsa0) for Job
MBXDBA-FD.2007-05-28_04.30.00
> 28-May 08:07 bacula-sd: MBXDBA-FD.2007-05-28_04.30.00 Fatal error: Too
> many tries: Wrong Volume mounted on device "StorageWorks-232"

Do you have Bacula setup to automatically mount the tape?

> (/dev/nsa0): Wanted FullTape-0010 have FullTape-0009
> 28-May 08:07 bacula-sd: MBXDBA-FD.2007-05-28_04.30.00 Fatal error:
> append.c:207 Fatal append error on device "StorageWorks-232"
> (/dev/nsa0): ERR=label.c:733 Expecting Volume Label, got FI=0 Stream=

I know these errors only from setups where there exists a configuration
problem. Most probably, you need more time for the required tape change.

> 28-May 08:07 bacula-sd: MBXDBA-FD.2007-05-28_04.30.00 Fatal error:
> askdir.c:291 NULL Volume name. This shouldn't happen!!!
> 28-May 08:11 MBXDBA-FD: MBXDBA-FD.2007-05-28_04.30.00 Fatal error:
> backup.c:500 Network send error to SD. ERR=Broken pipe
> 28-May 08:07 bacula-dir: MBXDBA-FD.2007-05-28_04.30.00 Error: Bacula
> 1.38.11 (28Jun06): 28-May-2007 08:07:31
>   JobId:                  1409
>   Job:                    MBXDBA-FD.2007-05-28_04.30.00
>   Backup Level:           Full
>   Client:                 "MBXDBA" i686-redhat-linux-gnu,redhat,
>   FileSet:                "MBXDBA-FS" 2007-02-20 15:40:01
>   Pool:                   "MueblexFullTape"
>   Storage:                "LTO-1"
>   Scheduled time:         28-May-2007 04:30:00
>   Start time:             28-May-2007 04:30:05
>   End time:               28-May-2007 08:07:31
>   Elapsed time:           3 hours 37 mins 26 secs
>   Priority:               15
>   FD Files Written:       73,128
>   SD Files Written:       73,128
>   FD Bytes Written:       66,939,362,451 (66.93 GB)
>   SD Bytes Written:       66,949,907,557 (66.94 GB)
>   Rate:                   5131.0 KB/s
>   Software Compression:   None
>   Volume name(s):         FullTape-0009
>   Volume Session Id:      39
>   Volume Session Time:    1179787421
>   Last Volume Bytes:      1 (1 B)
>   Non-fatal FD errors:    0
>   SD Errors:              0
>   FD termination status:  Error
>   SD termination status:  Error
>   Termination:            *** Backup Error ***
>
>    This is bacula error or FreeBSD error? How can i test the amount of
> data that freebsd can write to my tape? Thanks all for your time!!!

Actually, it's nearly impossible to measure how much data can fi onto a
tape.

Compression is the main reason, but even if you don't use hardware
compression, tape space can "vanish". Two mai reasons: File marks take
space, and if you write lots of (logical tape) files, the used capacity
will be considerably less than what could fit onto the tape without any
file marks in between. Also, when your tape drive can't stream data but
has to stop, reposition, and start writing again you can lose space.

The latter is especially a problem because this shoe-shining mode also
greatly stresses the tapes and the drive, so you should try a lot to
prevent it. Spooling is the key here.

Anyway, to measure how much data can fit onto a tape you can, for
example, use btaes fill command, or use dd to write lots of data to
tape. When you enable hardware compression, the results won't
necessarily be close to your real-life experience.

Arno

--
IT-Service Lehmann                    [EMAIL PROTECTED]
Arno Lehmann                  http://www.its-lehmann.de

-------------------------------------------------------------------------
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


 Arno thanks for your info, i understand the point that 200GB are a
marketing value not a real value, the data i save in those tapes are mixed:
jpg,gif, databases,binaries, txt, autocad etc.

 Searching around, not all the files can be compressed equal, now i know
that 181GB is a real value.

 Im using tape compression, what im doing now is cleaning my servers to
delete data that we don't need any more in our servers.

 Thanks again for info. See you!!!
-------------------------------------------------------------------------
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