Is that hard coded into btape? /tmp is unix Ryan Novosielski wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Look for errors in that output. The one I saw is the inability to write > to /tmp/btape.state or something like that. I'd say you need to make > this not error before you try to do other things. > > =R > > [EMAIL PROTECTED] wrote: > >> Ok ! done ! :-) this is what I could get from the command prompt :: >> (after some long time) >> >> Wrote blk_block=1045000, dev_blk_num=5500 VolBytes=67,414,975,488 >> rate=13848.6 K >> B/s >> Wrote blk_block=1050000, dev_blk_num=10500 VolBytes=67,737,535,488 >> rate=13857.9 >> KB/s >> Wrote blk_block=1055000, dev_blk_num=15500 VolBytes=68,060,095,488 >> rate=13867.2 >> KB/s >> 17:54:54 Flush block, write EOF >> Wrote blk_block=1060000, dev_blk_num=4000 VolBytes=68,382,655,488 >> rate=13845.4 K >> B/s >> Wrote blk_block=1065000, dev_blk_num=9000 VolBytes=68,705,215,488 >> rate=13854.7 K >> B/s >> Wrote blk_block=1070000, dev_blk_num=14000 VolBytes=69,027,775,488 >> rate=13863.8 >> KB/s >> Wrote blk_block=1075000, dev_blk_num=3500 VolBytes=69,350,335,488 >> rate=13845.1 K >> B/s >> Wrote blk_block=1080000, dev_blk_num=8500 VolBytes=69,672,895,488 >> rate=13854.2 K >> B/s >> Wrote blk_block=1085000, dev_blk_num=13500 VolBytes=69,995,455,488 >> rate=13863.2 >> KB/s >> 17:57:23 Flush block, write EOF >> Wrote blk_block=1090000, dev_blk_num=2000 VolBytes=70,318,015,488 >> rate=13842.1 K >> B/s >> Wrote blk_block=1095000, dev_blk_num=7000 VolBytes=70,640,575,488 >> rate=13851.1 K >> B/s >> Wrote blk_block=1100000, dev_blk_num=12000 VolBytes=70,963,135,488 >> rate=13860.0 >> KB/s >> Wrote blk_block=1105000, dev_blk_num=1500 VolBytes=71,285,695,488 >> rate=13855.3 K >> B/s >> Wrote blk_block=1110000, dev_blk_num=6500 VolBytes=71,608,255,488 >> rate=13850.7 K >> B/s >> Wrote blk_block=1115000, dev_blk_num=11500 VolBytes=71,930,815,488 >> rate=13859.5 >> KB/s >> Wrote blk_block=1120000, dev_blk_num=1000 VolBytes=72,253,375,488 >> rate=13854.9 K >> B/s >> 17:59:52 Flush block, write EOF >> Wrote blk_block=1125000, dev_blk_num=5000 VolBytes=72,575,935,488 >> rate=13847.7 K >> B/s >> Wrote blk_block=1130000, dev_blk_num=10000 VolBytes=72,898,495,488 >> rate=13856.4 >> KB/s >> Wrote blk_block=1135000, dev_blk_num=15000 VolBytes=73,221,055,488 >> rate=13865.0 >> KB/s >> Wrote blk_block=1140000, dev_blk_num=4500 VolBytes=73,543,615,488 >> rate=13860.5 K >> B/s >> Wrote blk_block=1145000, dev_blk_num=9500 VolBytes=73,866,175,488 >> rate=13856.0 K >> B/s >> Wrote blk_block=1150000, dev_blk_num=14500 VolBytes=74,188,735,488 >> rate=13864.5 >> KB/s >> 18:02:21 Flush block, write EOF >> Wrote blk_block=1155000, dev_blk_num=3000 VolBytes=74,511,295,488 >> rate=13844.5 K >> B/s >> Wrote blk_block=1160000, dev_blk_num=8000 VolBytes=74,833,855,488 >> rate=13853.0 K >> B/s >> Wrote blk_block=1165000, dev_blk_num=13000 VolBytes=75,156,415,488 >> rate=13861.4 >> KB/s >> Wrote blk_block=1170000, dev_blk_num=2500 VolBytes=75,478,975,488 >> rate=13857.0 K >> B/s >> Wrote blk_block=1175000, dev_blk_num=7500 VolBytes=75,801,535,488 >> rate=13852.6 K >> B/s >> Wrote blk_block=1180000, dev_blk_num=12500 VolBytes=76,124,095,488 >> rate=13858.4 >> KB/s >> 18:04:51 Flush block, write EOF >> Wrote blk_block=1185000, dev_blk_num=1000 VolBytes=76,446,655,488 >> rate=13841.5 K >> B/s >> Wrote blk_block=1190000, dev_blk_num=6000 VolBytes=76,769,215,488 >> rate=13849.8 K >> B/s >> Wrote blk_block=1195000, dev_blk_num=11000 VolBytes=77,091,775,488 >> rate=13858.0 >> KB/s >> Wrote blk_block=1200000, dev_blk_num=500 VolBytes=77,414,335,488 >> rate=13861.1 KB >> /s >> Wrote blk_block=1205000, dev_blk_num=5500 VolBytes=77,736,895,488 >> rate=13861.8 K >> B/s >> Wrote blk_block=1210000, dev_blk_num=10500 VolBytes=78,059,455,488 >> rate=13857.5 >> KB/s >> Wrote blk_block=1215000, dev_blk_num=15500 VolBytes=78,382,015,488 >> rate=13865.6 >> KB/s >> 18:07:20 Flush block, write EOF >> Wrote blk_block=1220000, dev_blk_num=4000 VolBytes=78,704,575,488 >> rate=13846.7 K >> B/s >> Wrote blk_block=1225000, dev_blk_num=9000 VolBytes=79,027,135,488 >> rate=13854.7 K >> B/s >> Wrote blk_block=1230000, dev_blk_num=14000 VolBytes=79,349,695,488 >> rate=13862.6 >> KB/s >> Wrote blk_block=1235000, dev_blk_num=3500 VolBytes=79,672,255,488 >> rate=13856.0 K >> B/s >> Wrote blk_block=1240000, dev_blk_num=8500 VolBytes=79,994,815,488 >> rate=13863.9 K >> B/s >> Wrote blk_block=1245000, dev_blk_num=13500 VolBytes=80,317,375,488 >> rate=13859.8 >> KB/s >> 18:09:49 Flush block, write EOF >> Wrote blk_block=1250000, dev_blk_num=2000 VolBytes=80,639,935,488 >> rate=13843.8 K >> B/s >> Wrote blk_block=1255000, dev_blk_num=7000 VolBytes=80,962,495,488 >> rate=13851.6 K >> B/s >> Wrote blk_block=1260000, dev_blk_num=12000 VolBytes=81,285,055,488 >> rate=13859.3 >> KB/s >> Wrote blk_block=1265000, dev_blk_num=1500 VolBytes=81,607,615,488 >> rate=13852.9 K >> B/s >> Wrote blk_block=1270000, dev_blk_num=6500 VolBytes=81,930,175,488 >> rate=13860.6 K >> B/s >> Wrote blk_block=1275000, dev_blk_num=11500 VolBytes=82,252,735,488 >> rate=13868.3 >> KB/s >> Wrote blk_block=1280000, dev_blk_num=1000 VolBytes=82,575,295,488 >> rate=13852.6 K >> B/s >> 18:12:18 Flush block, write EOF >> Wrote blk_block=1285000, dev_blk_num=5000 VolBytes=82,897,855,488 >> rate=13848.6 K >> B/s >> Wrote blk_block=1290000, dev_blk_num=10000 VolBytes=83,220,415,488 >> rate=13856.2 >> KB/s >> Wrote blk_block=1295000, dev_blk_num=15000 VolBytes=83,542,975,488 >> rate=13863.8 >> KB/s >> Wrote blk_block=1300000, dev_blk_num=4500 VolBytes=83,865,535,488 >> rate=13857.5 K >> B/s >> Wrote blk_block=1305000, dev_blk_num=9500 VolBytes=84,188,095,488 >> rate=13865.0 K >> B/s >> Wrote blk_block=1310000, dev_blk_num=14500 VolBytes=84,510,655,488 >> rate=13872.4 >> KB/s >> 18:14:42 Flush block, write EOF >> Wrote blk_block=1315000, dev_blk_num=3000 VolBytes=84,833,215,488 >> rate=13845.8 K >> B/s >> Wrote blk_block=1320000, dev_blk_num=8000 VolBytes=85,155,775,488 >> rate=13853.2 K >> B/s >> Wrote blk_block=1325000, dev_blk_num=13000 VolBytes=85,478,335,488 >> rate=13860.6 >> KB/s >> Wrote blk_block=1330000, dev_blk_num=2500 VolBytes=85,800,895,488 >> rate=13856.7 K >> B/s >> Wrote blk_block=1335000, dev_blk_num=7500 VolBytes=86,123,455,488 >> rate=13864.0 K >> B/s >> Wrote blk_block=1340000, dev_blk_num=12500 VolBytes=86,446,015,488 >> rate=13871.3 >> KB/s >> 18:17:10 Flush block, write EOF >> Wrote blk_block=1345000, dev_blk_num=1000 VolBytes=86,768,575,488 >> rate=13854.2 K >> B/s >> Wrote blk_block=1350000, dev_blk_num=6000 VolBytes=87,091,135,488 >> rate=13850.4 K >> B/s >> Wrote blk_block=1355000, dev_blk_num=11000 VolBytes=87,413,695,488 >> rate=13857.6 >> KB/s >> Wrote blk_block=1360000, dev_blk_num=500 VolBytes=87,736,255,488 >> rate=13862.6 KB >> /s >> Wrote blk_block=1365000, dev_blk_num=5500 VolBytes=88,058,815,488 >> rate=13861.0 K >> B/s >> Wrote blk_block=1370000, dev_blk_num=10500 VolBytes=88,381,375,488 >> rate=13868.1 >> KB/s >> Wrote blk_block=1375000, dev_blk_num=15500 VolBytes=88,703,935,488 >> rate=13875.2 >> KB/s >> 18:19:39 Flush block, write EOF >> Wrote blk_block=1380000, dev_blk_num=4000 VolBytes=89,026,495,488 >> rate=13858.4 K >> B/s >> Wrote blk_block=1385000, dev_blk_num=9000 VolBytes=89,349,055,488 >> rate=13854.7 K >> B/s >> Wrote blk_block=1390000, dev_blk_num=14000 VolBytes=89,671,615,488 >> rate=13861.7 >> KB/s >> Wrote blk_block=1395000, dev_blk_num=3500 VolBytes=89,994,175,488 >> rate=13858.0 K >> B/s >> Wrote blk_block=1400000, dev_blk_num=8500 VolBytes=90,316,735,488 >> rate=13865.0 K >> B/s >> Wrote blk_block=1405000, dev_blk_num=13500 VolBytes=90,639,295,488 >> rate=13871.9 >> KB/s >> 18:22:09 Flush block, write EOF >> Wrote blk_block=1410000, dev_blk_num=2000 VolBytes=90,961,855,488 >> rate=13855.6 K >> B/s >> Wrote blk_block=1415000, dev_blk_num=7000 VolBytes=91,284,415,488 >> rate=13862.5 K >> B/s >> Wrote blk_block=1420000, dev_blk_num=12000 VolBytes=91,606,975,488 >> rate=13858.8 >> KB/s >> Wrote blk_block=1425000, dev_blk_num=1500 VolBytes=91,929,535,488 >> rate=13855.2 K >> B/s >> Wrote blk_block=1430000, dev_blk_num=6500 VolBytes=92,252,095,488 >> rate=13862.1 K >> B/s >> Wrote blk_block=1435000, dev_blk_num=11500 VolBytes=92,574,655,488 >> rate=13868.9 >> KB/s >> Wrote blk_block=1440000, dev_blk_num=1000 VolBytes=92,897,215,488 >> rate=13863.2 K >> B/s >> 18:24:38 Flush block, write EOF >> Wrote blk_block=1445000, dev_blk_num=5000 VolBytes=93,219,775,488 >> rate=13859.6 K >> B/s >> Wrote blk_block=1450000, dev_blk_num=10000 VolBytes=93,542,335,488 >> rate=13866.3 >> KB/s >> Wrote blk_block=1455000, dev_blk_num=15000 VolBytes=93,864,895,488 >> rate=13862.8 >> KB/s >> Wrote blk_block=1460000, dev_blk_num=4500 VolBytes=94,187,455,488 >> rate=13859.2 K >> B/s >> Wrote blk_block=1465000, dev_blk_num=9500 VolBytes=94,510,015,488 >> rate=13865.9 K >> B/s >> Wrote blk_block=1470000, dev_blk_num=14500 VolBytes=94,832,575,488 >> rate=13872.5 >> KB/s >> 18:27:07 Flush block, write EOF >> Wrote blk_block=1475000, dev_blk_num=3000 VolBytes=95,155,135,488 >> rate=13856.9 K >> B/s >> Wrote blk_block=1480000, dev_blk_num=8000 VolBytes=95,477,695,488 >> rate=13863.5 K >> B/s >> Wrote blk_block=1485000, dev_blk_num=13000 VolBytes=95,800,255,488 >> rate=13870.0 >> KB/s >> Wrote blk_block=1490000, dev_blk_num=2500 VolBytes=96,122,815,488 >> rate=13856.5 K >> B/s >> Wrote blk_block=1495000, dev_blk_num=7500 VolBytes=96,445,375,488 >> rate=13863.1 K >> B/s >> Wrote blk_block=1500000, dev_blk_num=12500 VolBytes=96,767,935,488 >> rate=13869.6 >> KB/s >> 18:29:36 Flush block, write EOF >> Wrote blk_block=1505000, dev_blk_num=1000 VolBytes=97,090,495,488 >> rate=13854.2 K >> B/s >> Wrote blk_block=1510000, dev_blk_num=6000 VolBytes=97,413,055,488 >> rate=13860.7 K >> B/s >> Wrote blk_block=1515000, dev_blk_num=11000 VolBytes=97,735,615,488 >> rate=13867.1 >> KB/s >> Wrote blk_block=1520000, dev_blk_num=500 VolBytes=98,058,175,488 >> rate=13855.9 KB >> /s >> Wrote blk_block=1525000, dev_blk_num=5500 VolBytes=98,380,735,488 >> rate=13856.4 K >> B/s >> Wrote blk_block=1530000, dev_blk_num=10500 VolBytes=98,703,295,488 >> rate=13862.8 >> KB/s >> Wrote blk_block=1535000, dev_blk_num=15500 VolBytes=99,025,855,488 >> rate=13869.2 >> KB/s >> 18:32:06 Flush block, write EOF >> Wrote blk_block=1540000, dev_blk_num=4000 VolBytes=99,348,415,488 >> rate=13856.1 K >> B/s >> Wrote blk_block=1545000, dev_blk_num=9000 VolBytes=99,670,975,488 >> rate=13862.4 K >> B/s >> Wrote blk_block=1550000, dev_blk_num=14000 VolBytes=99,993,535,488 >> rate=13868.7 >> KB/s >> Wrote blk_block=1555000, dev_blk_num=3500 VolBytes=100,316,095,488 >> rate=13855.8 >> KB/s >> Wrote blk_block=1560000, dev_blk_num=8500 VolBytes=100,638,655,488 >> rate=13862.1 >> KB/s >> Wrote blk_block=1565000, dev_blk_num=13500 VolBytes=100,961,215,488 >> rate=13868.3 >> KB/s >> 18:34:35 Flush block, write EOF >> Wrote blk_block=1570000, dev_blk_num=2000 VolBytes=101,283,775,488 >> rate=13853.6 >> KB/s >> Wrote blk_block=1575000, dev_blk_num=7000 VolBytes=101,606,335,488 >> rate=13859.8 >> KB/s >> Wrote blk_block=1580000, dev_blk_num=12000 VolBytes=101,928,895,488 >> rate=13866.0 >> KB/s >> 26-Mar 18:35 btape: End of Volume "TestVolume1" at 148:13128 on device >> "HPStorag >> eTape0" (Tape0). Write of 64512 bytes got -1. >> 26-Mar 18:35 btape: btape Error: Error writing final EOF to tape. This >> Volume ma >> y not be readable. >> ../../stored/dev.c:1688 ioctl MTWEOF error on "HPStorageTape0" (Tape0). >> ERR=Inpu >> t/output error. >> btape: ../../stored/btape.c:2343 Last block at: 148:13127 >> this_dev_block_num=131 >> 28 >> btape: ../../stored/btape.c:2377 End of tape 148:13128. >> VolumeCapacity=102,001,6 >> 65,024. Write rate = 13860.8 KB/s >> 26-Mar 18:35 btape: End of medium on Volume "TestVolume1" >> Bytes=102,001,665,024 >> Blocks=1,581,127 at 26-Mar-2007 18:35. >> 26-Mar 18:35 btape: 3301 Issuing autochanger "loaded? drive 0" command. >> 26-Mar 18:35 btape: 3302 Autochanger "loaded? drive 0", result is Slot 1. >> 26-Mar 18:35 btape: 3307 Issuing autochanger "unload slot 1, drive 0" >> command. >> 26-Mar 18:36 btape: 3304 Issuing autochanger "load slot 2, drive 0" command. >> 26-Mar 18:37 btape: 3305 Autochanger "load slot 2, drive 0", status is OK. >> 26-Mar 18:37 btape: 3301 Issuing autochanger "loaded? drive 0" command. >> 26-Mar 18:37 btape: 3302 Autochanger "loaded? drive 0", result is Slot 2. >> 26-Mar 18:37 btape: Fatal Error at ../../stored/dev.c:1670 because: >> ../../stored/dev.c:1669 Attempt to WEOF on non-appendable Volume >> 26-Mar 18:37 btape: 3301 Issuing autochanger "loaded? drive 0" command. >> 26-Mar 18:37 btape: 3302 Autochanger "loaded? drive 0", result is Slot 2. >> Wrote Volume label for volume "TestVolume2". >> 26-Mar 18:37 btape: Wrote label to prelabeled Volume "TestVolume2" on >> device "HP >> StorageTape0" (Tape0) >> 26-Mar 18:37 btape: New volume "TestVolume2" mounted on device >> "HPStorageTape0" >> (Tape0) at 26-Mar-2007 18:37. >> Done writing 0 records ... >> Wrote End of Session label. >> Could not create state file: /tmp/btape.state ERR=No such file or directory >> >> >> 18:37:51 Done filling tapes at 0:13. Now beginning re-read of first tape ... >> 26-Mar 18:37 btape: 3307 Issuing autochanger "unload slot 2, drive 0" >> command. >> 26-Mar 18:38 btape: 3304 Issuing autochanger "load slot 1, drive 0" command. >> 26-Mar 18:39 btape: 3305 Autochanger "load slot 1, drive 0", status is OK. >> 26-Mar 18:39 btape: 3301 Issuing autochanger "loaded? drive 0" command. >> 26-Mar 18:39 btape: 3302 Autochanger "loaded? drive 0", result is Slot 1. >> 26-Mar 18:39 btape: Ready to read from volume "TestVolume1" on device >> "HPStorage >> Tape0" (Tape0). >> Rewinding. >> Reading the first 10000 records from 0:0. >> 10000 records read now at 1:5084 >> Reposition from 1:5084 to 148:13127 >> Reading block 13127. >> >> The last block of the first tape matches. >> >> 26-Mar 21:24 btape: 3307 Issuing autochanger "unload slot 1, drive 0" >> command. >> 26-Mar 21:25 btape: 3304 Issuing autochanger "load slot 2, drive 0" command. >> 26-Mar 21:25 btape: 3305 Autochanger "load slot 2, drive 0", status is OK. >> 26-Mar 21:25 btape: 3301 Issuing autochanger "loaded? drive 0" command. >> 26-Mar 21:25 btape: 3302 Autochanger "loaded? drive 0", result is Slot 2. >> 26-Mar 21:26 btape: Ready to read from volume "TestVolume2" on device >> "HPStorage >> Tape0" (Tape0). >> Reposition from 0:0 to 0:1 >> Reading block 1. >> >> The first block on the second tape matches. >> >> Reposition from 0:2 to 0:11 >> Reading block 11. >> >> The last block on the second tape matches. Test succeeded. >> >> * >> >> >> >> So.. ? ;-) >> >> ----- Message d'origine ---- >> De : Brian Debelius <[EMAIL PROTECTED]> >> À : [EMAIL PROTECTED] >> Cc : bacula-users@lists.sourceforge.net >> Envoyé le : Lundi, 26 Mars 2007, 16h24mn 28s >> Objet : Re: Re : Re : Re : [Bacula-users] Re : Windows::Permission denied >> >> Next run btape again except enter 'fill' at the prompt >> >> [EMAIL PROTECTED] wrote: >> >>> Great ! It seems like it's working : >>> >>> >>> C:\Program Files\Bacula\bin>mt -f Tape0 setblk 0 >>> >>> C:\Program Files\Bacula\bin>btape -c "C:\Documents and Settings\All >>> Users\Applic >>> ation Data\Bacula\bacula-sd.conf" Tape0 >>> Tape block granularity is 1024 bytes. >>> btape: ../../stored/butil.c:286 Using device: "Tape0" for writing. >>> 26-Mar 15:51 btape: 3301 Issuing autochanger "loaded? drive 0" command. >>> 26-Mar 15:51 btape: 3302 Autochanger "loaded? drive 0", result is Slot 1. >>> 26-Mar 15:51 btape: 3301 Issuing autochanger "loaded? drive 0" command. >>> 26-Mar 15:51 btape: 3302 Autochanger "loaded? drive 0", result is Slot 1. >>> btape: ../../stored/btape.c:368 open device "HPStorageTape0" (Tape0): 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: ../../stored/btape.c:825 Wrote 1000 blocks of 64412 bytes. >>> btape: ../../stored/btape.c:499 Wrote 1 EOF to "HPStorageTape0" (Tape0) >>> btape: ../../stored/btape.c:841 Wrote 1000 blocks of 64412 bytes. >>> btape: ../../stored/btape.c:499 Wrote 1 EOF to "HPStorageTape0" (Tape0) >>> btape: ../../stored/btape.c:850 Rewind OK. >>> 1000 blocks re-read correctly. >>> Got EOF on tape. >>> 1000 blocks re-read correctly. >>> === Test Succeeded. End Write, rewind, and re-read test === >>> >>> >>> === Write, rewind, and position test === >>> >>> I'm going to write 1000 records and an EOF >>> then write 1000 records and an EOF, then rewind, >>> and position to a few blocks and verify that it is correct. >>> >>> This is an *essential* feature ... >>> >>> btape: ../../stored/btape.c:937 Wrote 1000 blocks of 64412 bytes. >>> btape: ../../stored/btape.c:499 Wrote 1 EOF to "HPStorageTape0" (Tape0) >>> btape: ../../stored/btape.c:953 Wrote 1000 blocks of 64412 bytes. >>> btape: ../../stored/btape.c:499 Wrote 1 EOF to "HPStorageTape0" (Tape0) >>> btape: ../../stored/btape.c:962 Rewind OK. >>> Reposition to file:block 0:4 >>> Block 5 re-read correctly. >>> Reposition to file:block 0:200 >>> Block 201 re-read correctly. >>> Reposition to file:block 0:999 >>> Block 1000 re-read correctly. >>> Reposition to file:block 1:0 >>> Block 1001 re-read correctly. >>> Reposition to file:block 1:600 >>> Block 1601 re-read correctly. >>> Reposition to file:block 1:999 >>> Block 2000 re-read correctly. >>> === Test Succeeded. End Write, rewind, and re-read test === >>> >>> >>> >>> === Append files test === >>> >>> This test is essential to Bacula. >>> >>> I'm going to write one record in file 0, >>> two records in file 1, >>> and three records in file 2 >>> >>> btape: ../../stored/btape.c:469 Rewound "HPStorageTape0" (Tape0) >>> btape: ../../stored/btape.c:1571 Wrote one record of 64412 bytes. >>> btape: ../../stored/btape.c:1573 Wrote block to device. >>> btape: ../../stored/btape.c:499 Wrote 1 EOF to "HPStorageTape0" (Tape0) >>> btape: ../../stored/btape.c:1571 Wrote one record of 64412 bytes. >>> btape: ../../stored/btape.c:1573 Wrote block to device. >>> btape: ../../stored/btape.c:1571 Wrote one record of 64412 bytes. >>> btape: ../../stored/btape.c:1573 Wrote block to device. >>> btape: ../../stored/btape.c:499 Wrote 1 EOF to "HPStorageTape0" (Tape0) >>> btape: ../../stored/btape.c:1571 Wrote one record of 64412 bytes. >>> btape: ../../stored/btape.c:1573 Wrote block to device. >>> btape: ../../stored/btape.c:1571 Wrote one record of 64412 bytes. >>> btape: ../../stored/btape.c:1573 Wrote block to device. >>> btape: ../../stored/btape.c:1571 Wrote one record of 64412 bytes. >>> btape: ../../stored/btape.c:1573 Wrote block to device. >>> btape: ../../stored/btape.c:499 Wrote 1 EOF to "HPStorageTape0" (Tape0) >>> 26-Mar 15:52 btape: 3301 Issuing autochanger "loaded? drive 0" command. >>> 26-Mar 15:52 btape: 3302 Autochanger "loaded? drive 0", result is Slot 1. >>> btape: ../../stored/btape.c:368 open device "HPStorageTape0" (Tape0): OK >>> btape: ../../stored/btape.c:469 Rewound "HPStorageTape0" (Tape0) >>> btape: ../../stored/btape.c:1091 Now moving to end of medium. >>> btape: ../../stored/btape.c:520 Moved to end of medium. >>> We should be in file 3. I am at file 3. This is correct! >>> >>> Now the important part, I am going to attempt to append to the tape. >>> >>> btape: ../../stored/btape.c:1571 Wrote one record of 64412 bytes. >>> btape: ../../stored/btape.c:1573 Wrote block to device. >>> btape: ../../stored/btape.c:499 Wrote 1 EOF to "HPStorageTape0" (Tape0) >>> btape: ../../stored/btape.c:469 Rewound "HPStorageTape0" (Tape0) >>> Done appending, there should be no I/O errors >>> >>> Doing Bacula scan of blocks: >>> 1 block of 64448 bytes in file 1 >>> End of File mark. >>> 2 blocks of 64448 bytes in file 2 >>> End of File mark. >>> 3 blocks of 64448 bytes in file 3 >>> End of File mark. >>> 1 block of 64448 bytes in file 4 >>> End of File mark. >>> Total files=4, blocks=7, bytes = 451,136 >>> End scanning the tape. >>> We should be in file 4. I am at file 4. This is correct! >>> >>> The above Bacula scan should have output identical to what follows. >>> Please double check it ... >>> === Sample correct output === >>> 1 block of 64448 bytes in file 1 >>> End of File mark. >>> 2 blocks of 64448 bytes in file 2 >>> End of File mark. >>> 3 blocks of 64448 bytes in file 3 >>> End of File mark. >>> 1 block of 64448 bytes in file 4 >>> End of File mark. >>> Total files=4, blocks=7, bytes = 451,136 >>> === End sample correct output === >>> >>> If the above scan output is not identical to the >>> sample output, you MUST correct the problem >>> or Bacula will not be able to write multiple Jobs to >>> the tape. >>> >>> >>> === Write, backup, and re-read test === >>> >>> I'm going to write three records and an EOF >>> then backup over the EOF and re-read the last record. >>> Bacula does this after writing the last block on the >>> tape to verify that the block was written correctly. >>> >>> This is not an *essential* feature ... >>> >>> btape: ../../stored/btape.c:469 Rewound "HPStorageTape0" (Tape0) >>> btape: ../../stored/btape.c:704 Wrote first record of 64412 bytes. >>> btape: ../../stored/btape.c:715 Wrote second record of 64412 bytes. >>> btape: ../../stored/btape.c:726 Wrote third record of 64412 bytes. >>> btape: ../../stored/btape.c:499 Wrote 1 EOF to "HPStorageTape0" (Tape0) >>> btape: ../../stored/btape.c:742 Backspaced over EOF OK. >>> btape: ../../stored/btape.c:747 Backspace record OK. >>> btape: ../../stored/btape.c:765 >>> Block re-read correct. Test succeeded! >>> === End Write, backup, and re-read test === >>> >>> >>> >>> === Forward space files test === >>> >>> This test is essential to Bacula. >>> >>> I'm going to write five files then test forward spacing >>> >>> btape: ../../stored/btape.c:469 Rewound "HPStorageTape0" (Tape0) >>> btape: ../../stored/btape.c:1571 Wrote one record of 64412 bytes. >>> btape: ../../stored/btape.c:1573 Wrote block to device. >>> btape: ../../stored/btape.c:499 Wrote 1 EOF to "HPStorageTape0" (Tape0) >>> btape: ../../stored/btape.c:1571 Wrote one record of 64412 bytes. >>> btape: ../../stored/btape.c:1573 Wrote block to device. >>> btape: ../../stored/btape.c:1571 Wrote one record of 64412 bytes. >>> btape: ../../stored/btape.c:1573 Wrote block to device. >>> btape: ../../stored/btape.c:499 Wrote 1 EOF to "HPStorageTape0" (Tape0) >>> btape: ../../stored/btape.c:1571 Wrote one record of 64412 bytes. >>> btape: ../../stored/btape.c:1573 Wrote block to device. >>> btape: ../../stored/btape.c:1571 Wrote one record of 64412 bytes. >>> btape: ../../stored/btape.c:1573 Wrote block to device. >>> btape: ../../stored/btape.c:1571 Wrote one record of 64412 bytes. >>> btape: ../../stored/btape.c:1573 Wrote block to device. >>> btape: ../../stored/btape.c:499 Wrote 1 EOF to "HPStorageTape0" (Tape0) >>> btape: ../../stored/btape.c:1571 Wrote one record of 64412 bytes. >>> btape: ../../stored/btape.c:1573 Wrote block to device. >>> btape: ../../stored/btape.c:1571 Wrote one record of 64412 bytes. >>> btape: ../../stored/btape.c:1573 Wrote block to device. >>> btape: ../../stored/btape.c:499 Wrote 1 EOF to "HPStorageTape0" (Tape0) >>> btape: ../../stored/btape.c:1571 Wrote one record of 64412 bytes. >>> btape: ../../stored/btape.c:1573 Wrote block to device. >>> btape: ../../stored/btape.c:499 Wrote 1 EOF to "HPStorageTape0" (Tape0) >>> btape: ../../stored/btape.c:469 Rewound "HPStorageTape0" (Tape0) >>> btape: ../../stored/btape.c:1305 Now forward spacing 1 file. >>> We should be in file 1. I am at file 1. This is correct! >>> btape: ../../stored/btape.c:1317 Now forward spacing 2 files. >>> We should be in file 3. I am at file 3. This is correct! >>> btape: ../../stored/btape.c:469 Rewound "HPStorageTape0" (Tape0) >>> btape: ../../stored/btape.c:1330 Now forward spacing 4 files. >>> We should be in file 4. I am at file 4. This is correct! >>> >>> btape: ../../stored/btape.c:1348 Now forward spacing 1 more file. >>> We should be in file 5. I am at file 5. This is correct! >>> >>> === End Forward space files test === >>> >>> >>> Ah, I see you have an autochanger configured. >>> To test the autochanger you must have a blank tape >>> that I can write on in Slot 1. >>> >>> Do you wish to continue with the Autochanger test? (y/n): y >>> >>> >>> === Autochanger test === >>> >>> 3301 Issuing autochanger "loaded" command. >>> Slot 1 loaded. I am going to unload it. >>> 3302 Issuing autochanger "unload 1 0" command. >>> unload status=OK 0 >>> 3303 Issuing autochanger "load 1 0" command. >>> 3303 Autochanger "load 1 0" status is OK. >>> 26-Mar 15:55 btape: 3301 Issuing autochanger "loaded? drive 0" command. >>> 26-Mar 15:55 btape: 3302 Autochanger "loaded? drive 0", result is Slot 1. >>> btape: ../../stored/btape.c:368 open device "HPStorageTape0" (Tape0): OK >>> btape: ../../stored/btape.c:1235 Rewound "HPStorageTape0" (Tape0) >>> btape: ../../stored/btape.c:1242 Wrote EOF to "HPStorageTape0" (Tape0) >>> >>> The test autochanger worked!! >>> >>> * >>> >>> Euuh.. ! What I have to do now.. ? >>> >>> Nawfel >>> >>> ----- Message d'origine ---- >>> De : Brian Debelius <[EMAIL PROTECTED]> >>> À : [EMAIL PROTECTED] >>> Cc : bacula-users@lists.sourceforge.net >>> Envoyé le : Lundi, 26 Mars 2007, 15h44mn 34s >>> Objet : Re: Re : Re : [Bacula-users] Re : Windows::Permission denied >>> >>> run this >>> mt -f Tape0 setblk 0 >>> >>> then run btape again. >>> >>> [EMAIL PROTECTED] wrote: >>> >>>> I've commented the min and max lines.. ran the btape command but I >>>> think there is a problem : >>>> >>>> C:\Program Files\Bacula\bin>btape -c "C:\Documents and Settings\All >>>> Users\Applic >>>> ation Data\Bacula\bacula-sd.conf" Tape0 >>>> Tape block granularity is 1024 bytes. >>>> btape: ../../stored/butil.c:286 Using device: "Tape0" for writing. >>>> 26-Mar 15:33 btape: 3301 Issuing autochanger "loaded? drive 0" command. >>>> 26-Mar 15:33 btape: 3302 Autochanger "loaded? drive 0", result is >>>> >>> Slot 1. >>> >>>> 26-Mar 15:33 btape: 3301 Issuing autochanger "loaded? drive 0" command. >>>> 26-Mar 15:33 btape: 3302 Autochanger "loaded? drive 0", result is >>>> >>> Slot 1. >>> >>>> btape: ../../stored/btape.c:368 open device "HPStorageTape0" (Tape0): 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 ... >>>> >>>> 26-Mar 15:33 btape: btape Error: ../../stored/block.c:569 Write error >>>> at 0:0 on >>>> device "HPStorageTape0" (Tape0). ERR=Input/output error. >>>> 26-Mar 15:33 btape: btape Error: Backspace record at EOT failed. >>>> ERR=Input/outpu >>>> t error >>>> btape: ../../stored/btape.c:821 Error writing block to device. >>>> * >>>> >>>> >>>> ----- Message d'origine ---- >>>> De : Brian Debelius <[EMAIL PROTECTED]> >>>> À : [EMAIL PROTECTED] >>>> Cc : bacula-users@lists.sourceforge.net >>>> Envoyé le : Lundi, 26 Mars 2007, 15h23mn 38s >>>> Objet : Re: Re : [Bacula-users] Re : Windows::Permission denied >>>> >>>> Nawfel, you are getting ahead of yourself. Try taking out the min and >>>> max like kern suggested. >>>> >>>> after you make the changes, load a tape into Tape0 >>>> goto your bacula program directory and run >>>> btape -c "c:\program files\all users\application >>>> data\bacula\bacula-sd.conf" Tape0 >>>> enter 'test' at the prompt >>>> >>>> >>>> [EMAIL PROTECTED] wrote: >>>> >>>>> with or without the Min/Max block size params I get the following >>>>> message : >>>>> >>>>> ilemma009-sd Version: 2.0.3 (06 March 2007) Linux Cross-compile Win32 >>>>> Daemon started 26-Mar-07 15:08, 1 Job run since started. >>>>> Heap: bytes=18,066 max_bytes=114,757 bufs=80 max_bufs=93 >>>>> >>>>> Running Jobs: >>>>> No Jobs running. >>>>> ==== >>>>> >>>>> Jobs waiting to reserve a drive: >>>>> ==== >>>>> >>>>> Terminated Jobs: >>>>> JobId Level Files Bytes Status Finished Name >>>>> =================================================================== >>>>> 22 Full 0 0 Error 26-Mar-07 15:04 Client1 >>>>> 24 Full 0 0 Error 26-Mar-07 15:10 Client1 >>>>> ==== >>>>> >>>>> Device status: >>>>> Autochanger "HPStorageAutochanger" with devices: >>>>> "HPStorageTape0" (Tape0) >>>>> "HPStorageTape1" (Tape1) >>>>> Device "HPStorageTape0" (Tape0) is not open. >>>>> Slot 1 is loaded in drive 0. >>>>> Device "HPStorageTape1" (Tape1) is not open. >>>>> Drive 1 status unknown. >>>>> ==== >>>>> >>>>> In Use Volume status: >>>>> ==== >>>>> >>>>> >>>>> when I type "messages " in the bconsole I get the following : (sorry >>>>> for the lenth ! and thank you for your interest) >>>>> >>>>> 23-Mar 03:03 ilemma009-sd: Job Client1.2007-03-23_02.03.00 waiting. >>>>> Cannot find >>>>> any appendable volumes. >>>>> Please use the "label" command to create a new Volume for: >>>>> Storage: "HPStorageTape0" (Tape0) >>>>> Media type: damnedHPUltriumTape >>>>> Pool: Default >>>>> 23-Mar 03:03 ilemma009-dir: Client1.2007-03-23_02.03.00 Error: >>>>> ../../lib/message >>>>> .c:713 Operator mail program terminated in error. >>>>> CMD="C:\Program Files\Bacula\bin\bsmtp" -h @smtp_host@ -f "(Bacula) >>>>> Administrato >>>>> r" -s "Bacula: Intervention needed for Client1.2007-03-23_02.03.00" >>>>> Administrato >>>>> r >>>>> ERR=Unknown error >>>>> 23-Mar 05:03 ilemma009-sd: Job Client1.2007-03-23_02.03.00 waiting. >>>>> Cannot find >>>>> any appendable volumes. >>>>> Please use the "label" command to create a new Volume for: >>>>> Storage: "HPStorageTape0" (Tape0) >>>>> Media type: damnedHPUltriumTape >>>>> Pool: Default >>>>> 23-Mar 05:03 ilemma009-dir: Client1.2007-03-23_02.03.00 Error: >>>>> ../../lib/message >>>>> .c:713 Operator mail program terminated in error. >>>>> CMD="C:\Program Files\Bacula\bin\bsmtp" -h @smtp_host@ -f "(Bacula) >>>>> Administrato >>>>> r" -s "Bacula: Intervention needed for Client1.2007-03-23_02.03.00" >>>>> Administrato >>>>> r >>>>> ERR=Unknown error >>>>> 23-Mar 18:32 ilemma009-dir: Client1.2007-03-23_02.03.00 Fatal error: >>>>> Network err >>>>> or with FD during Backup: ERR=Broken pipe >>>>> 23-Mar 18:32 ilemma009-dir: Client1.2007-03-23_02.03.00 Fatal error: >>>>> No Job stat >>>>> us returned from FD. >>>>> 23-Mar 18:32 ilemma009-dir: Client1.2007-03-23_02.03.00 Error: >>>>> ../../cats/sql_up >>>>> date.c:194 ../../cats/sql_update.c:194 update UPDATE Job SET >>>>> JobStatus='f',EndTi >>>>> me='2007-03-23 >>>>> 18:32:37',ClientId=1,JobBytes=0,JobFiles=0,JobErrors=3,VolSession >>>>> >>>>> >> Id=1,VolSessionTime=1174650862,PoolId=1,FileSetId=1,JobTDate=1174674757,RealEndT >> >>>>> ime='2007-03-23 18:32:37',PriorJobId=0 WHERE JobId=20 failed: >>>>> Can't connect to MySQL server on 'localhost' (10061) >>>>> 23-Mar 18:32 ilemma009-dir: Client1.2007-03-23_02.03.00 Warning: Error >>>>> updating >>>>> job record. ../../cats/sql_update.c:194 update UPDATE Job SET >>>>> JobStatus='f',EndT >>>>> ime='2007-03-23 >>>>> 18:32:37',ClientId=1,JobBytes=0,JobFiles=0,JobErrors=3,VolSessio >>>>> >>>>> >> nId=1,VolSessionTime=1174650862,PoolId=1,FileSetId=1,JobTDate=1174674757,RealEnd >> >>>>> Time='2007-03-23 18:32:37',PriorJobId=0 WHERE JobId=20 failed: >>>>> Can't connect to MySQL server on 'localhost' (10061) >>>>> 23-Mar 18:32 ilemma009-dir: Client1.2007-03-23_02.03.00 Fatal error: >>>>> ../../cats/ >>>>> sql_get.c:288 ../../cats/sql_get.c:288 query SELECT >>>>> VolSessionId,VolSessionTime, >>>>> >>>>> >> PoolId,StartTime,EndTime,JobFiles,JobBytes,JobTDate,Job,JobStatus,Type,Level,Cli >> >>>>> entId,Name,PriorJobId,RealEndTime,JobId FROM Job WHERE JobId=20 >>>>> >>> failed: >>> >>>>> Can't connect to MySQL server on 'localhost' (10061) >>>>> 23-Mar 18:32 ilemma009-dir: Client1.2007-03-23_02.03.00 Warning: Error >>>>> getting j >>>>> ob record for stats: ../../cats/sql_get.c:288 query SELECT >>>>> VolSessionId,VolSessi >>>>> >>>>> >> onTime,PoolId,StartTime,EndTime,JobFiles,JobBytes,JobTDate,Job,JobStatus,Type,Le >> >>>>> vel,ClientId,Name,PriorJobId,RealEndTime,JobId FROM Job WHERE JobId=20 >>>>> failed: >>>>> Can't connect to MySQL server on 'localhost' (10061) >>>>> 23-Mar 18:32 ilemma009-dir: Client1.2007-03-23_02.03.00 Fatal error: >>>>> ../../cats/ >>>>> sql_get.c:663 ../../cats/sql_get.c:663 query SELECT >>>>> ClientId,Name,Uname,AutoPrun >>>>> e,FileRetention,JobRetention FROM Client WHERE >>>>> Client.Name='ilemma009-fd' failed >>>>> : >>>>> Can't connect to MySQL server on 'localhost' (10061) >>>>> 23-Mar 18:32 ilemma009-dir: Client1.2007-03-23_02.03.00 Warning: Error >>>>> getting c >>>>> lient record for stats: Client record not found in Catalog. >>>>> 23-Mar 18:32 ilemma009-dir: Client1.2007-03-23_02.03.00 Fatal error: >>>>> ../../cats/ >>>>> sql.c:233 ../../cats/sql.c:233 query SELECT count(*) from Media >>>>> >>> failed: >>> >>>>> Can't connect to MySQL server on 'localhost' (10061) >>>>> 23-Mar 18:32 ilemma009-dir: Client1.2007-03-23_02.03.00 Fatal error: >>>>> ../../cats/ >>>>> sql_get.c:351 ../../cats/sql_get.c:351 query SELECT >>>>> VolumeName,MAX(VolIndex) FRO >>>>> M JobMedia,Media WHERE JobMedia.JobId=20 AND >>>>> JobMedia.MediaId=Media.MediaId GROU >>>>> P BY VolumeName ORDER BY 2 ASC failed: >>>>> Can't connect to MySQL server on 'localhost' (10061) >>>>> 23-Mar 18:32 ilemma009-dir: Client1.2007-03-23_02.03.00 Error: Bacula >>>>> 2.0.3 (06M >>>>> ar07): 23-Mar-2007 18:32:37 >>>>> JobId: 20 >>>>> Job: Client1.2007-03-23_02.03.00 >>>>> Backup Level: Full >>>>> Client: "ilemma009-fd" >>>>> FileSet: "Test Set" 2007-03-08 23:05:00 >>>>> Pool: "Default" (From Job resource) >>>>> Storage: "HPTape" (From Job resource) >>>>> Scheduled time: 23-Mar-2007 02:03:00 >>>>> Start time: 23-Mar-2007 02:03:03 >>>>> End time: 23-Mar-2007 18:32:37 >>>>> Elapsed time: 16 hours 29 mins 34 secs >>>>> Priority: 10 >>>>> FD Files Written: 0 >>>>> SD Files Written: 0 >>>>> FD Bytes Written: 0 (0 B) >>>>> SD Bytes Written: 0 (0 B) >>>>> Rate: 0.0 KB/s >>>>> Software Compression: None >>>>> VSS: no >>>>> Encryption: no >>>>> Volume name(s): >>>>> Volume Session Id: 1 >>>>> Volume Session Time: 1174650862 >>>>> Last Volume Bytes: 0 (0 B) >>>>> Non-fatal FD errors: 4 >>>>> SD Errors: 0 >>>>> FD termination status: Error >>>>> SD termination status: Error >>>>> Termination: *** Backup Error *** >>>>> >>>>> 23-Mar 18:32 ilemma009-dir: Client1.2007-03-23_02.03.00 Error: >>>>> ../../lib/message >>>>> .c:492 Mail program terminated in error. >>>>> CMD="C:\Program Files\Bacula\bin\bsmtp" -h @smtp_host@ -f "(Bacula) >>>>> Administrato >>>>> r" -s "Bacula: Backup Fatal Error of ilemma009-fd Full" Administrator >>>>> ERR=Unknown error >>>>> 26-Mar 11:33 ilemma009-dir: Start Backup JobId 21, >>>>> Job=Client1.2007-03-26_11.33. >>>>> 00 >>>>> 26-Mar 11:33 ilemma009-sd: Job Client1.2007-03-26_11.33.00 waiting. >>>>> Cannot find >>>>> any appendable volumes. >>>>> Please use the "label" command to create a new Volume for: >>>>> Storage: "HPStorageTape0" (Tape0) >>>>> Media type: damnedHPUltriumTape >>>>> Pool: Default >>>>> 26-Mar 11:33 ilemma009-dir: Client1.2007-03-26_11.33.00 Error: >>>>> ../../lib/message >>>>> .c:713 Operator mail program terminated in error. >>>>> CMD="C:\Program Files\Bacula\bin\bsmtp" -h @smtp_host@ -f "(Bacula) >>>>> Administrato >>>>> r" -s "Bacula: Intervention needed for Client1.2007-03-26_11.33.00" >>>>> Administrato >>>>> r >>>>> ERR=Unknown error >>>>> 26-Mar 12:33 ilemma009-sd: Job Client1.2007-03-26_11.33.00 waiting. >>>>> Cannot find >>>>> any appendable volumes. >>>>> Please use the "label" command to create a new Volume for: >>>>> Storage: "HPStorageTape0" (Tape0) >>>>> Media type: damnedHPUltriumTape >>>>> Pool: Default >>>>> 26-Mar 12:33 ilemma009-dir: Client1.2007-03-26_11.33.00 Error: >>>>> ../../lib/message >>>>> .c:713 Operator mail program terminated in error. >>>>> CMD="C:\Program Files\Bacula\bin\bsmtp" -h @smtp_host@ -f "(Bacula) >>>>> Administrato >>>>> r" -s "Bacula: Intervention needed for Client1.2007-03-26_11.33.00" >>>>> Administrato >>>>> r >>>>> ERR=Unknown error >>>>> 26-Mar 14:33 ilemma009-sd: Job Client1.2007-03-26_11.33.00 waiting. >>>>> Cannot find >>>>> any appendable volumes. >>>>> Please use the "label" command to create a new Volume for: >>>>> Storage: "HPStorageTape0" (Tape0) >>>>> Media type: damnedHPUltriumTape >>>>> Pool: Default >>>>> 26-Mar 14:33 ilemma009-dir: Client1.2007-03-26_11.33.00 Error: >>>>> ../../lib/message >>>>> .c:713 Operator mail program terminated in error. >>>>> CMD="C:\Program Files\Bacula\bin\bsmtp" -h @smtp_host@ -f "(Bacula) >>>>> Administrato >>>>> r" -s "Bacula: Intervention needed for Client1.2007-03-26_11.33.00" >>>>> Administrato >>>>> r >>>>> ERR=Unknown error >>>>> 26-Mar 15:04 ilemma009-dir: Start Backup JobId 22, >>>>> Job=Client1.2007-03-26_15.04. >>>>> 00 >>>>> 26-Mar 15:04 ilemma009-sd: Failed command: >>>>> 26-Mar 15:04 ilemma009-sd: Client1.2007-03-26_15.04.00 Fatal error: >>>>> Device "HPStorageAutochanger" with MediaType >>>>> "damnedHPUltriumTape" requeste >>>>> d by DIR not found in SD Device resources. >>>>> 26-Mar 15:04 ilemma009-dir: Client1.2007-03-26_15.04.00 Fatal error: >>>>> Storage daemon didn't accept Device "HPStorageAutochanger" >>>>> >>> because: >>> >>>>> 3924 Device "HPStorageAutochanger" not in SD Device resources. >>>>> 26-Mar 15:04 ilemma009-dir: Client1.2007-03-26_15.04.00 Error: Bacula >>>>> 2.0.3 (06M >>>>> ar07): 26-Mar-2007 15:04:02 >>>>> JobId: 22 >>>>> Job: Client1.2007-03-26_15.04.00 >>>>> Backup Level: Full >>>>> Client: "ilemma009-fd" 2.0.3 (06Mar07) >>>>> Linux,Cross-compile,Win >>>>> 32 >>>>> FileSet: "Test Set" 2007-03-08 23:05:00 >>>>> Pool: "Default" (From Job resource) >>>>> Storage: "HPTape" (From Job resource) >>>>> Scheduled time: 26-Mar-2007 15:04:00 >>>>> Start time: 26-Mar-2007 15:04:02 >>>>> End time: 26-Mar-2007 15:04:02 >>>>> Elapsed time: 0 secs >>>>> Priority: 10 >>>>> FD Files Written: 0 >>>>> SD Files Written: 0 >>>>> FD Bytes Written: 0 (0 B) >>>>> SD Bytes Written: 0 (0 B) >>>>> Rate: 0.0 KB/s >>>>> Software Compression: None >>>>> VSS: no >>>>> Encryption: no >>>>> Volume name(s): >>>>> Volume Session Id: 1 >>>>> Volume Session Time: 1174921327 >>>>> Last Volume Bytes: 0 (0 B) >>>>> Non-fatal FD errors: 0 >>>>> SD Errors: 0 >>>>> FD termination status: >>>>> SD termination status: >>>>> Termination: *** Backup Error *** >>>>> >>>>> 26-Mar 15:04 ilemma009-dir: ../../lib/message.c:481 Mail prog: bsmtp: >>>>> ../../tool >>>>> s/bsmtp.c:300 Error unknown mail host "@smtp_host@": ERR=No error >>>>> 26-Mar 15:04 ilemma009-dir: ../../lib/message.c:481 Mail prog: bsmtp: >>>>> ../../tool >>>>> s/bsmtp.c:302 Retrying connection using "localhost". >>>>> 26-Mar 15:04 ilemma009-dir: ../../lib/message.c:481 Mail prog: bsmtp: >>>>> ../../tool >>>>> s/bsmtp.c:329 Fatal connect error to localhost: ERR=No error >>>>> 26-Mar 15:04 ilemma009-dir: Client1.2007-03-26_15.04.00 Error: >>>>> ../../lib/message >>>>> .c:492 Mail program terminated in error. >>>>> CMD="C:\Program Files\Bacula\bin\bsmtp" -h @smtp_host@ -f "(Bacula) >>>>> Administrato >>>>> r" -s "Bacula: Backup Fatal Error of ilemma009-fd Full" Administrator >>>>> ERR=Unknown error >>>>> 26-Mar 15:07 ilemma009-dir: Start Backup JobId 23, >>>>> Job=Client1.2007-03-26_15.07. >>>>> 00 >>>>> 26-Mar 15:07 ilemma009-sd: Failed command: >>>>> 26-Mar 15:07 ilemma009-sd: Client1.2007-03-26_15.07.00 Fatal error: >>>>> Device "HPStorageAutochanger" with MediaType >>>>> "damnedHPUltriumTape" requeste >>>>> d by DIR not found in SD Device resources. >>>>> 26-Mar 15:07 ilemma009-dir: Client1.2007-03-26_15.07.00 Fatal error: >>>>> Storage daemon didn't accept Device "HPStorageAutochanger" >>>>> >>> because: >>> >>>>> 3924 Device "HPStorageAutochanger" not in SD Device resources. >>>>> 26-Mar 15:07 ilemma009-dir: Client1.2007-03-26_15.07.00 Error: Bacula >>>>> 2.0.3 (06M >>>>> ar07): 26-Mar-2007 15:07:02 >>>>> JobId: 23 >>>>> Job: Client1.2007-03-26_15.07.00 >>>>> Backup Level: Full >>>>> Client: "ilemma009-fd" 2.0.3 (06Mar07) >>>>> Linux,Cross-compile,Win >>>>> 32 >>>>> FileSet: "Test Set" 2007-03-08 23:05:00 >>>>> Pool: "Default" (From Job resource) >>>>> Storage: "HPTape" (From Job resource) >>>>> Scheduled time: 26-Mar-2007 15:07:00 >>>>> Start time: 26-Mar-2007 15:07:02 >>>>> End time: 26-Mar-2007 15:07:02 >>>>> Elapsed time: 0 secs >>>>> Priority: 10 >>>>> FD Files Written: 0 >>>>> SD Files Written: 0 >>>>> FD Bytes Written: 0 (0 B) >>>>> SD Bytes Written: 0 (0 B) >>>>> Rate: 0.0 KB/s >>>>> Software Compression: None >>>>> VSS: no >>>>> Encryption: no >>>>> Volume name(s): >>>>> Volume Session Id: 1 >>>>> Volume Session Time: 1174921579 >>>>> Last Volume Bytes: 0 (0 B) >>>>> Non-fatal FD errors: 0 >>>>> SD Errors: 0 >>>>> FD termination status: >>>>> SD termination status: >>>>> Termination: *** Backup Error *** >>>>> >>>>> 26-Mar 15:07 ilemma009-dir: ../../lib/message.c:481 Mail prog: bsmtp: >>>>> ../../tool >>>>> s/bsmtp.c:300 Error unknown mail host "@smtp_host@": ERR=No error >>>>> 26-Mar 15:07 ilemma009-dir: ../../lib/message.c:481 Mail prog: bsmtp: >>>>> ../../tool >>>>> s/bsmtp.c:302 Retrying connection using "localhost". >>>>> 26-Mar 15:07 ilemma009-dir: ../../lib/message.c:481 Mail prog: bsmtp: >>>>> ../../tool >>>>> s/bsmtp.c:329 Fatal connect error to localhost: ERR=No error >>>>> 26-Mar 15:07 ilemma009-dir: Client1.2007-03-26_15.07.00 Error: >>>>> ../../lib/message >>>>> .c:492 Mail program terminated in error. >>>>> CMD="C:\Program Files\Bacula\bin\bsmtp" -h @smtp_host@ -f "(Bacula) >>>>> Administrato >>>>> r" -s "Bacula: Backup Fatal Error of ilemma009-fd Full" Administrator >>>>> ERR=Unknown error >>>>> 26-Mar 15:10 ilemma009-dir: Start Backup JobId 24, >>>>> Job=Client1.2007-03-26_15.10. >>>>> 00 >>>>> 26-Mar 15:10 ilemma009-sd: Failed command: >>>>> 26-Mar 15:10 ilemma009-sd: Client1.2007-03-26_15.10.00 Fatal error: >>>>> Device "HPStorageAutochanger" with MediaType >>>>> "damnedHPUltriumTape" requeste >>>>> d by DIR not found in SD Device resources. >>>>> 26-Mar 15:10 ilemma009-dir: Client1.2007-03-26_15.10.00 Fatal error: >>>>> Storage daemon didn't accept Device "HPStorageAutochanger" >>>>> >>> because: >>> >>>>> 3924 Device "HPStorageAutochanger" not in SD Device resources. >>>>> 26-Mar 15:10 ilemma009-dir: Client1.2007-03-26_15.10.00 Error: Bacula >>>>> 2.0.3 (06M >>>>> ar07): 26-Mar-2007 15:10:02 >>>>> JobId: 24 >>>>> Job: Client1.2007-03-26_15.10.00 >>>>> Backup Level: Full >>>>> Client: "ilemma009-fd" 2.0.3 (06Mar07) >>>>> Linux,Cross-compile,Win >>>>> 32 >>>>> FileSet: "Test Set" 2007-03-08 23:05:00 >>>>> Pool: "Default" (From Job resource) >>>>> Storage: "HPTape" (From Job resource) >>>>> Scheduled time: 26-Mar-2007 15:10:00 >>>>> Start time: 26-Mar-2007 15:10:02 >>>>> End time: 26-Mar-2007 15:10:02 >>>>> Elapsed time: 0 secs >>>>> Priority: 10 >>>>> FD Files Written: 0 >>>>> SD Files Written: 0 >>>>> FD Bytes Written: 0 (0 B) >>>>> SD Bytes Written: 0 (0 B) >>>>> Rate: 0.0 KB/s >>>>> Software Compression: None >>>>> VSS: no >>>>> Encryption: no >>>>> Volume name(s): >>>>> Volume Session Id: 1 >>>>> Volume Session Time: 1174921699 >>>>> Last Volume Bytes: 0 (0 B) >>>>> Non-fatal FD errors: 0 >>>>> SD Errors: 0 >>>>> FD termination status: >>>>> SD termination status: >>>>> Termination: *** Backup Error *** >>>>> >>>>> 26-Mar 15:10 ilemma009-dir: ../../lib/message.c:481 Mail prog: bsmtp: >>>>> ../../tool >>>>> s/bsmtp.c:300 Error unknown mail host "@smtp_host@": ERR=No error >>>>> 26-Mar 15:10 ilemma009-dir: ../../lib/message.c:481 Mail prog: bsmtp: >>>>> ../../tool >>>>> s/bsmtp.c:302 Retrying connection using "localhost". >>>>> 26-Mar 15:10 ilemma009-dir: ../../lib/message.c:481 Mail prog: bsmtp: >>>>> ../../tool >>>>> s/bsmtp.c:329 Fatal connect error to localhost: ERR=No error >>>>> 26-Mar 15:10 ilemma009-dir: Client1.2007-03-26_15.10.00 Error: >>>>> ../../lib/message >>>>> .c:492 Mail program terminated in error. >>>>> CMD="C:\Program Files\Bacula\bin\bsmtp" -h @smtp_host@ -f "(Bacula) >>>>> Administrato >>>>> r" -s "Bacula: Backup Fatal Error of ilemma009-fd Full" Administrator >>>>> ERR=Unknown error >>>>> * >>>>> >>>>> ----- Message d'origine ---- >>>>> De : Kern Sibbald <[EMAIL PROTECTED]> >>>>> À : bacula-users@lists.sourceforge.net >>>>> Cc : Brian Debelius <[EMAIL PROTECTED]>; [EMAIL PROTECTED] >>>>> Envoyé le : Lundi, 26 Mars 2007, 14h40mn 00s >>>>> Objet : Re: [Bacula-users] Re : Windows::Permission denied >>>>> >>>>> I don't think that will work. I recommend that you do not put min/max >>>>> block >>>>> size directives unless you are forced to, and almost certainly Bacula >>>>> will >>>>> not work with those values, which are what the drive supports but not >>>>> approprate for Bacula blocks. >>>>> >>>>> On Monday 26 March 2007 15:53, Brian Debelius wrote: >>>>> >>>>>> Changes below in bold >>>>>> >>>>>> >>>>>> Device { >>>>>> Name = HPStorageTape0 >>>>>> Archive Device = Tape0 >>>>>> Drive Index = 0 >>>>>> Device Type = Tape >>>>>> Changer Device = 4:0:5:1 >>>>>> Media Type = "*HPUltriumTape*" >>>>>> Autochanger = yes >>>>>> *LabelMedia = yes >>>>>> AutomaticMount = yes* >>>>>> Alert Command = "tapeinfo -f %c | findstr TapeAlert" >>>>>> Autoselect = yes >>>>>> Always Open = *no* >>>>>> Removable media = yes >>>>>> Random access = no >>>>>> Requires Mount = no >>>>>> Minimum block size = *1* >>>>>> Maximum block size = *16777215* >>>>>> } >>>>>> >>>>>> Device { >>>>>> Name = HPStorageTape1 >>>>>> Archive Device = Tape1 >>>>>> Drive Index = 1 >>>>>> Device Type = Tape >>>>>> Changer Device = 4:0:5:1 >>>>>> Media Type = "*HPUltriumTape*" >>>>>> Autochanger = yes >>>>>> *LabelMedia = yes >>>>>> AutomaticMount = yes* >>>>>> Alert Command = "tapeinfo -f %c | findstr TapeAlert" >>>>>> Autoselect = yes >>>>>> Always Open = *no* >>>>>> Removable media = yes >>>>>> Random access = no >>>>>> Requires Mount = no >>>>>> Minimum block size = *1* >>>>>> Maximum block size = *16777215* >>>>>> >>>>>> } >>>>>> >>>>>> Autochanger { >>>>>> Name = HPStorageAutochanger >>>>>> Device = HPStorageTape0,HPStorageTape1 >>>>>> Changer Command = "mtx-changer %c %o %S %a %d" >>>>>> Changer Device = 4:0:5:1 >>>>>> # Label media = yes >>>>>> # Automatic mount = yes >>>>>> } >>>>>> [EMAIL PROTECTED] wrote: >>>>>> >>>>>>> C:\Program Files\Bacula\bin>tapeinfo -f Tape0 >>>>>>> Product Type: Tape Drive >>>>>>> Vendor ID: 'HP ' >>>>>>> Product ID: 'Ultrium 1-SCSI ' >>>>>>> Revision: 'P54W' >>>>>>> Attached Changer API: No >>>>>>> SerialNumber: 'HU10628AN8' >>>>>>> MinBlock:1 >>>>>>> MaxBlock:16777215 >>>>>>> SCSI ID: 0 >>>>>>> SCSI LUN: 0 >>>>>>> Ready: no >>>>>>> >>>>>>> Device { >>>>>>> Name = HPStorageTape0Archive Device = Tape0 >>>>>>> Device Type = Tape >>>>>>> Media Type = "*HPUltriumTape*" >>>>>>> Autochanger = yes >>>>>>> Changer Device = 4:0:5:1 >>>>>>> Alert Command = "tapeinfo -f %c | findstr TapeAlert" >>>>>>> >>>>>>> Autoselect = yes >>>>>>> Always Open = yes >>>>>>> Removable media = yes >>>>>>> Random access = no >>>>>>> Requires Mount = no >>>>>>> Minimum block size = 100 >>>>>>> Maximum block size = 100 >>>>>>> } >>>>>>> >>>>>>> Device { >>>>>>> Name = HPStorageTape1 >>>>>>> Archive Device = Tape1 >>>>>>> Device Type = Tape >>>>>>> Media Type = "damnedHPUltriumTape" >>>>>>> Autochanger = yes >>>>>>> Changer Device = 4:0:5:1 >>>>>>> Alert Command = "tapeinfo -f %c | findstr TapeAlert" >>>>>>> Drive Index = 1 >>>>>>> Autoselect = yes >>>>>>> Always Open = yes >>>>>>> Removable media = yes >>>>>>> Random access = no >>>>>>> Requires Mount = no >>>>>>> Minimum block size = 100 >>>>>>> Maximum block size = 100 >>>>>>> } >>>>>>> >>>>>>> Autochanger { >>>>>>> Name = HPStorageAutochanger >>>>>>> Device = HPStorageTape0,HPStorageTape1 >>>>>>> Changer Command = "mtx-changer %c %o %S %a %d" >>>>>>> Changer Device = 4:0:5:1 >>>>>>> # Label media = yes >>>>>>> # Automatic mount = yes >>>>>>> } >>>>>>> >>>>>> >>>>> >>>>> >>> ------------------------------------------------------------------------ >>> >>>>> Découvrez une nouvelle façon d'obtenir des réponses à toutes vos >>>>> questions ! Profitez des connaissances, des opinions et des >>>>> expériences des internautes sur Yahoo! Questions/Réponses >>>>> <http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com>. >>>>> >>>> >>>> ------------------------------------------------------------------------ >>>> Découvrez une nouvelle façon d'obtenir des réponses à toutes vos >>>> questions ! Profitez des connaissances, des opinions et des >>>> expériences des internautes sur Yahoo! Questions/Réponses >>>> <http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com>. >>>> >>> >>> ------------------------------------------------------------------------ >>> Découvrez une nouvelle façon d'obtenir des réponses à toutes vos >>> questions ! Profitez des connaissances, des opinions et des >>> expériences des internautes sur Yahoo! Questions/Réponses >>> <http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com>. >>> >> >> ------------------------------------------------------------------------ >> Découvrez une nouvelle façon d'obtenir des réponses à toutes vos >> questions ! Profitez des connaissances, des opinions et des expériences >> des internautes sur Yahoo! Questions/Réponses >> <http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com>. >> >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share your >> opinions on IT & business topics through brief surveys-and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Bacula-users mailing list >> Bacula-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/bacula-users >> > > - -- > ---- _ _ _ _ ___ _ _ _ > |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer III > |$&| |__| | | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922) > \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.5 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFGCTVKmb+gadEcsb4RAuSPAJ9lbu23tTdxnJhU70+qSXfJUI1cZQCgshf4 > mDUkuRlAqSuawN+Y2AXH1ow= > =7auE > -----END PGP SIGNATURE----- > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users >
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users