OpenSolaris

Printable Version Enter a New Search
Bug ID 6661901
Synopsis BSF does not move tape on snv_80
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:driver-st
Keywords
Responsible Engineer Bo Zhou
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_86
Fixed In snv_86
Release Fixed solaris_nevada(snv_86)
Related Bugs 1243433
Submit Date 12-February-2008
Last Update Date 28-March-2008
Description
The following shows that a MTBSF request did not move the tape.
Use the bsd device, that is /dev/rmt/*b
1. create data on tape from BOT:
	3 blocks, TM, 10 * (10 blocks, TM), TM, 2 blocks
2. seek to logical block 70
3. do MTFSF 4 files - this should be positioned between 2 consecutive tapemarks.
4. read 1 block - this should hit tapemark and positioned after it because
	we are using BSD.
	use MTTELL to get the current logical block count.
5. Do MTBSF 1 file - this should have positioned 1 block back. So the logical
	block count should be 1 less than the logical block in step 4.
6. However, the logical block count after sep 5 is done is the same as that from
	step 4.

I am attaching a program that shows the problem.
Work Around
N/A
Comments
N/A