I'm trying to verify Bareos plays nice with my autoloader (Dell PV-124T with an 
LTO-3 drive), but am experiencing odd results.

"btape test" works, including the autoloader test.  "btape fill", on the other 
hand, does some weird stuff: it never seems to finish, it just keeps re-loading 
the same tape over and over with a warning about "the number of files 
mismatch!".

Is this a known issue, a problem with my setup, or am I missing something 
fundamental about what it's supposed to be doing?

Thanks,
-Adam Thompson
 athomp...@avant.ca



The (abbreviated) btape output:

[...hours of block writing to get to this point...]
Wrote block=6550000, file,blk=42,39622 VolBytes=422,553,600,000 rate=77.15 MB/s
Wrote block=6555000, file,blk=42,44622 VolBytes=422,876,160,000 rate=77.15 MB/s
05-Oct 13:01 btape JobId 0: End of Volume "TestVolume1" at 42:45610 on device 
"tapedrive-0" (/dev/tape/by-id/scsi-1IBM_ULTRIUM-TD3_1210358856-nst). Write of 
64512 bytes got -1.
05-Oct 13:01 btape JobId 0: Re-read of last block succeeded.
btape: btape.c:2736-0 Last block at: 42:45609 this_dev_block_num=45610
btape: btape.c:2771-0 End of tape 42:0. Volume Bytes=422,939,897,856. Write 
rate = 77.09 MB/s
05-Oct 13:01 btape JobId 0: End of medium on Volume "TestVolume1" 
Bytes=422,939,897,856 Blocks=6,555,987 at 05-Oct-2015 13:01.
05-Oct 13:01 btape JobId 0: 3307 Issuing autochanger "unload slot 1, drive 0" 
command.
05-Oct 13:02 btape JobId 0: 3304 Issuing autochanger "load slot 1, drive 0" 
command.
05-Oct 13:03 btape JobId 0: 3305 Autochanger "load slot 1, drive 0", status is 
OK.
05-Oct 13:03 btape JobId 0: Volume "TestVolume1" previously written, moving to 
end of data.
05-Oct 13:03 btape JobId 0: Warning: For Volume "TestVolume1":
The number of files mismatch! Volume=43 Catalog=0
Correcting Catalog
05-Oct 13:03 btape JobId 0: New volume "TestVolume1" mounted on device 
"tapedrive-0" (/dev/tape/by-id/scsi-1IBM_ULTRIUM-TD3_1210358856-nst) at 
05-Oct-2015 13:03.
05-Oct 13:03 btape JobId 0: End of Volume "TestVolume1" at 43:1 on device 
"tapedrive-0" (/dev/tape/by-id/scsi-1IBM_ULTRIUM-TD3_1210358856-nst). Write of 
64512 bytes got -1.
05-Oct 13:03 btape JobId 0: Re-read of last block succeeded.
btape: btape.c:2736-0 Last block at: 42:45609 this_dev_block_num=1
btape: btape.c:2771-0 End of tape 43:0. Volume Bytes=64,512. Write rate = 11 B/s
05-Oct 13:03 btape JobId 0: End of medium on Volume "TestVolume1" Bytes=64,512 
Blocks=1 at 05-Oct-2015 13:03.
05-Oct 13:03 btape JobId 0: 3307 Issuing autochanger "unload slot 1, drive 0" 
command.
05-Oct 13:04 btape JobId 0: 3304 Issuing autochanger "load slot 1, drive 0" 
command.
05-Oct 13:05 btape JobId 0: 3305 Autochanger "load slot 1, drive 0", status is 
OK.
05-Oct 13:05 btape JobId 0: Volume "TestVolume1" previously written, moving to 
end of data.
05-Oct 13:06 btape JobId 0: Warning: For Volume "TestVolume1":
The number of files mismatch! Volume=44 Catalog=0
Correcting Catalog
[...more of the same...]
The number of files mismatch! Volume=126 Catalog=0
Correcting Catalog
05-Oct 16:18 btape JobId 0: New volume "TestVolume1" mounted on device 
"tapedrive-0" (/dev/tape/by-id/scsi-1IBM_ULTRIUM-TD3_1210358856-nst) at 
05-Oct-2015 16:18.
05-Oct 16:18 btape JobId 0: End of Volume "TestVolume1" at 126:1 on device 
"tapedrive-0" (/dev/tape/by-id/scsi-1IBM_ULTRIUM-TD3_1210358856-nst). Write of 
64512 bytes got -1.
05-Oct 16:18 btape JobId 0: Re-read of last block succeeded.
btape: btape.c:2736-0 Last block at: 42:45609 this_dev_block_num=1
btape: btape.c:2771-0 End of tape 126:0. Volume Bytes=64,512. Write rate = 10 
B/s
05-Oct 16:18 btape JobId 0: End of medium on Volume "TestVolume1" Bytes=64,512 
Blocks=1 at 05-Oct-2015 16:18.
05-Oct 16:18 btape JobId 0: 3307 Issuing autochanger "unload slot 1, drive 0" 
command.
^C
[...I gave up here...]

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To post to this group, send email to bareos-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to