Mail Archives: cygwin/2004/08/20/08:56:55
Corinna Vinschen wrote:
>FWIW, I never saw are heard of a tape device
>driver which is set to variable blocksize (0) by default.What drive are
>you using?
>
I'm using this script on three servers, which are now running latest
cygwin+mt again
"hopper", Windows 2000 Server, IBM/Seagate DDS-3
"dou", Windows 2003 Server, IBM/Seagate DDS-4
"degas", Windows 2003 Server, Dell/Sony DDS-4
"hopper" and "dou" use the same Windows driver by Certance LLC,
version 1.6.0.0. "degas" uses a generic Microsoft driver.
Only "hopper" starts with blocksize 0, the other two with blocksize 512.
It's possible this drive has been used in an RS/6000 and has its dip
switch settings changed accordingly. RS/6000's can boot from a tape
drive, but require non-standard settings to support this.
>Could you mail the output of `mt status 3' after a reboot?
>
>
I'll include it at the end of this message, for "hopper" only.
>>mt -f /dev/st0 setblk 16384
>>dd if=/dev/zero of=/dev/st0 bs=16k count=1
>>
>>
>
>Works like a charm for me.
>
>
I mixed the chain of events. Try this:
mt -f /dev/st0 setblk 16384
dd if=/dev/zero of=/dev/st0 bs=512 count=32
This hung on all three servers, freshly booted up.
After this, instability is introduced which causes all
sorts of commands to fail which otherwise would have
succeeded.
Thanks,
Pim
drive type : 01 (Unknown type of tape device)
tape capacity : 11694387 KB remaining : 11694387 KB
current file : 0 active partition : 0
current block : 0 cur logical block: 0
General status bits on (43030000):
BOT ONLINE IM_REP_EN REP_SM HW_COMP
min block size : 1 max block size : 65536
def block size : 16384 cur block size : 0
density code : 00 (default)
Drive(r) Capabilities:
----------------------
fixed length blocks : yes var length blocks : yes
set block size : yes fixed partitioning : no
select partitioning : no initiator partitioning : yes
get logical blockno : yes logical block spacing : yes
get absolute blockno : no absolute block spacing : yes
logical block immediate : no absolute block immediate : no
relative block spacing : yes backward spacing : yes
immediate rewind : yes fast EOM spacing : yes
immediate spacing : no write marks immediate : yes
filemark spacing : yes write filemarks : yes
write long filemarks : no write short filemarks : no
report setmarks : yes setmark spacing : yes
write setmarks : yes set report setmarks : yes
sequential filemarks : yes sequential setmarks : no
load and unload : yes un/load immediate : yes
lock and unlock : yes un/lock immediate : no
tape retension : no retension immediate : no
erase on bop only : no erase immediately : yes
long erase : yes short erase : yes
sw ejects media : yes report write protection : yes
report EOT warn size : no set EOT warn size : no
data padding : no set data padding : no
returns capacity : yes returns remaining : yes
hw error correction : no set hw error correction : no
hw compression : yes set compression : yes
set comp. on bop only : no report cleaning request : no
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -