Mail Archives: cygwin/2006/10/03/19:33:41
I'm trying to read data from a Sony AIT-e260 SCSI drive under Cygwin.
Cygwin 1.5.21-2
mt 2.3.1
I know that the tape is good, because I can read from it (using the same
drive) under Redhat.
The first file on the tape is 96 bytes so I do the following:
>> export TAPE=/dev/nst0
>> mt setblk 0
>> dd if=$TAPE of=header.txt
This works fine.
The second file on the tape is 1GB and is written with a block size on
200kB.
When I do the following:
>> mt setblk 204800
>> dd if=$TAPE of=segment.0
I get the following error:
mt: /dev/nst0: Invalid argument
I've found that the maximum block size in mt can only be 64kB.
Am I missing something or is there a limitation to mt under Cygwin?
If I leave the block size set to variable, I get the following:
>> mt setblk 0
>> dd if=$TAPE bs=204800 of=segment.0
dd: reading `/dev/nst0': Cannot allocate memory
0+0 records in
0+0 records out
0 bytes (0 B) copied, 0.078 seconds, 0.0 kB/s
Just for kicks, the tape drive status before any dd is:
drive type = 8mm Sony AIT1 tape
drive status = 838860800
sense key error = 0
residue count = 0
file number = 1
block number = 0
Tape block size 0 bytes. Density code 32 (ALRF-2 (SLR 7)).
General status bits on (87030000):
EOF WR_PROT ONLINE IM_REP_EN
Thanks,
Jeffry T Ross
The MITRE Corporation
Email: jtr AT mitre DOT org
--
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 -