I was wondering if I could get some help reviewing the results of the btape test output. I think that it failed but I am not 100% sure, my reading of the manual didn't show me what to expect to see for the results.
http://bacula.org/manuals/en/utility/utility/Volume_Utility_Tools.html#TapeTestingChapter Any feedback including pointers as to a different place in the doc to read will be appreciated. Thanks -Jason sudo btape -v -c /etc/bacula/bacula-sd.conf nst0 Password: Tape block granularity is 1024 bytes. btape: butil.c:285 Using device: "nst0" for writing. 12-Aug 23:48 btape JobId 0: 3301 Issuing autochanger "loaded? drive 0" command. 12-Aug 23:48 btape JobId 0: 3302 Autochanger "loaded? drive 0", result is Slot 1 . btape: btape.c:383 open device "nst0" (/dev/nst0): OK *test === Write, rewind, and re-read test === I'm going to write 1000 records and an EOF then write 1000 records and an EOF, then rewind, and re-read the data to verify that it is correct. This is an *essential* feature ... btape: btape.c:841 Wrote 1000 blocks of 1048476 bytes. btape: btape.c:515 Wrote 1 EOF to "nst0" (/dev/nst0) btape: btape.c:857 Wrote 1000 blocks of 1048476 bytes. btape: btape.c:515 Wrote 1 EOF to "nst0" (/dev/nst0) btape: btape.c:866 Rewind OK. Got EOF on tape. btape: btape.c:878 Read block 954 failed! ERR=Success *fill This command simulates Bacula writing to a tape. It requires either one or two blank tapes, which it will label and write. If you have an autochanger configured, it will use the tapes that are in slots 1 and 2, otherwise, you will be prompted to insert the tapes when necessary. It will print a status approximately every 322 MB, and write an EOF every 3.2 GB. If you have selected the simple test option, after writing the first tape it will rewind it and re-read the last block written. If you have selected the multiple tape test, when the first tape fills, it will ask for a second, and after writing a few more blocks, it will stop. Then it will begin re-reading the two tapes. This may take a long time -- hours! ... Do you want to run the simplified test (s) with one tape or the complete multiple tape (m) test: (s/m) s Simple test (single tape) selected. Wrote Volume label for volume "TestVolume1". Wrote Start of Session label. 23:52:29 Begin writing Bacula records to tape ... Wrote blk_block=5000, dev_blk_num=234 VolBytes=5,241,831,424 rate=44422.3 KB/s Wrote blk_block=10000, dev_blk_num=469 VolBytes=10,484,711,424 rate=43686.3 KB/s Wrote blk_block=15000, dev_blk_num=704 VolBytes=15,727,591,424 rate=43809.4 KB/s Wrote blk_block=20000, dev_blk_num=939 VolBytes=20,970,471,424 rate=44335.0 KB/s Wrote blk_block=25000, dev_blk_num=221 VolBytes=26,213,351,424 rate=44504.8 KB/s Wrote blk_block=30000, dev_blk_num=456 VolBytes=31,456,231,424 rate=44429.7 KB/s 00:05:03 Flush block, write EOF (Truncate a few hours of just about the same....) Wrote blk_block=740000, dev_blk_num=188 VolBytes=775,945,191,424 rate=45008.4 KB/s Wrote blk_block=745000, dev_blk_num=423 VolBytes=781,188,071,424 rate=45014.9 KB/s Wrote blk_block=750000, dev_blk_num=658 VolBytes=786,430,951,424 rate=45021.2 KB/s Wrote blk_block=755000, dev_blk_num=893 VolBytes=791,673,831,424 rate=45019.8 KB/s Wrote blk_block=760000, dev_blk_num=175 VolBytes=796,916,711,424 rate=45021.0 KB/s Wrote blk_block=765000, dev_blk_num=410 VolBytes=802,159,591,424 rate=45014.6 KB/s 04:50:37 Flush block, write EOF Wrote blk_block=770000, dev_blk_num=94 VolBytes=807,402,471,424 rate=45015.8 KB/s Wrote blk_block=775000, dev_blk_num=329 VolBytes=812,645,351,424 rate=45021.9 KB/s Wrote blk_block=780000, dev_blk_num=564 VolBytes=817,888,231,424 rate=45018.1 KB/s Wrote blk_block=785000, dev_blk_num=799 VolBytes=823,131,111,424 rate=45024.1 KB/s Wrote blk_block=790000, dev_blk_num=81 VolBytes=828,373,991,424 rate=45025.2 KB/s 13-Aug 04:59 btape JobId 0: End of Volume "TestVolume1" at 842:462 on device "nst0" (/dev/nst0). Write of 1048576 bytes got -1. 13-Aug 05:00 btape JobId 0: Error: block.c:275 Volume data error at 842:4294967295! Wanted ID: "BB02", got "MY�". Buffer discarded. 13-Aug 05:00 btape JobId 0: Error: Re-read last block at EOT failed. ERR=block.c:275 Volume data error at 842:4294967295! Wanted ID: "BB02", got "MY�". Buffer discarded. btape: btape.c:2359 Last block at: 842:461 this_dev_block_num=462 btape: btape.c:2373 Block not written: FileIndex=25343033 blk_block=792287 Size=1048512 btape: btape.c:2393 End of tape 842:-1. VolumeCapacity=830,772,084,736. Write rate = 45016.1 KB/s Done writing 0 records ... Wrote state file last_block_num1=461 last_block_num2=0 05:00:05 Done filling tape at 842:-1. Now beginning re-read of tape ... 13-Aug 05:00 btape JobId 0: Ready to read from volume "TestVolume1" on device "nst0" (/dev/nst0). Rewinding. Reading the first 10000 records from 0:0. 10000 records read now at 1:313 Reposition from 1:313 to 842:461 Reading block 461. 13-Aug 05:01 btape JobId 0: Error: block.c:275 Volume data error at 842:461! Wanted ID: "BB02", got "�:�. Buffer discarded. Error reading block: ERR=block.c:275 Volume data error at 842:461! Wanted ID: "BB02", got "�:�. Buffer discarded. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users