linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Can't read SCSI TAPE
@ 2001-04-24 16:06 Masaki Tsuji
  2001-04-24 16:51 ` Richard B. Johnson
  2001-04-25  1:07 ` Tim Moore
  0 siblings, 2 replies; 5+ messages in thread
From: Masaki Tsuji @ 2001-04-24 16:06 UTC (permalink / raw)
  To: linux-kernel

Dear sirs,

Although 'tar' can write to SCSI-TAPE, can't read from.
'tar' reports ....

......
-rw-r--r-- root/root    xxxxx 2001-xx-xx 01:23 usr/bin/xxxxxx
tar: Skipping to next file header                            <------"A"
-rw-r--r-- root/root    xxxxx 2001-xx-xx 01:23 usr/bin/xxxxxxx
......


"A" means written data is wrong, doesn't it???


Thanks for any help.

------------------------------------------
Detailed ->

System...
Kernel : 2.2.11 + raid0145-19990824-2.2.11.gz
          or
         2.2.11
tar    : GNU tar 1.12
mt     : mt-st v. 0.4
glibc2 : glibc-2.0.7pre6

Hardware...
Mother   : Intel Celeron x2 (SMP)
TAPE drv : SONY SDT-9000
TAPE     : DDS1 DDS2 DDS3
SCSI card: AHA-1542
Cable    : SCSI-2 Hi-impeadance , length 0.5m
------------------------------------------

-- 
Masaki Tsuji

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Can't read SCSI TAPE
  2001-04-24 16:06 Can't read SCSI TAPE Masaki Tsuji
@ 2001-04-24 16:51 ` Richard B. Johnson
  2001-04-24 22:15   ` Masaki Tsuji
  2001-04-25  1:07 ` Tim Moore
  1 sibling, 1 reply; 5+ messages in thread
From: Richard B. Johnson @ 2001-04-24 16:51 UTC (permalink / raw)
  To: Masaki Tsuji; +Cc: linux-kernel

On Wed, 25 Apr 2001, Masaki Tsuji wrote:

> Dear sirs,

Hmmm...

Masaki Tsuji <jammasa@ma.nma.ne.jp>
                      ^^^^^^^^^^^^ ____ This address

... was the address that did the CA-2000-17 attack on one of
our machines a few weeks ago.

This is not an accusation, only an observation. You might
want to tell your network administrator. Sombody at your
site may be hacking systems.

SCSI tape problems or your kind are usually caused by a different
tape compression being used during record and playback. You should
try to use `mt` to set the compression to something you like
before you record, and the same compression when you play back
the tape.

You can use `cat` and `od` to read/write from a tape before you
waste a lot file time with `tar`. You can even do:

		ls >/dev/tape
                 .... takes a lot of time..

		cat /dev/tape  # Read back.

Blocking/deblocking is done in the driver so you can treat it as
a "slow-to-start" FIFO.


Cheers,
Dick Johnson

Penguin : Linux version 2.4.1 on an i686 machine (799.53 BogoMips).

"Memory is like gasoline. You use it up when you are running. Of
course you get it all back when you reboot..."; Actual explanation
obtained from the Micro$oft help desk.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Can't read SCSI TAPE
  2001-04-24 16:51 ` Richard B. Johnson
@ 2001-04-24 22:15   ` Masaki Tsuji
  0 siblings, 0 replies; 5+ messages in thread
From: Masaki Tsuji @ 2001-04-24 22:15 UTC (permalink / raw)
  To: linux-kernel

Dears,

"Richard B. Johnson" wrote:
> 
> Hmmm...
> 
> Masaki Tsuji <jammasa@ma.nma.ne.jp>
>                       ^^^^^^^^^^^^ ____ This address
> 
> ... was the address that did the CA-2000-17 attack on one of
> our machines a few weeks ago.
> 
> This is not an accusation, only an observation. You might
> want to tell your network administrator. Sombody at your
> site may be hacking systems.

We're very sorry!

Probabry it's 10th or 11th Apr, isn't it?
I was attacked too, but from outside.

I asked my network administrator about that on 13th Apr, and catched reason.
They said that their network equipments had some probrems, and fixed it.


> SCSI tape problems or your kind are usually caused by a different
> tape compression being used during record and playback. You should
> try to use `mt` to set the compression to something you like
> before you record, and the same compression when you play back
> the tape.

I tried compression option, but It doesn't work well.

I tried ...

No.1
# mt datcompression 1
... write
# mt datcompression 1
... read

No.2
# mt datcompression 0
... write
# mt datcompression 1
... read

No.3
# mt datcompression 1
... write
# mt datcompression 0
... read

No.4
# mt datcompression 0
... write
# mt datcompression 0
... read

, but can't

'datcompression' isn't correct option ?


> You can use `cat` and `od` to read/write from a tape before you
> waste a lot file time with `tar`. You can even do:
> 
>                 ls >/dev/tape
>                  .... takes a lot of time..
> 
>                 cat /dev/tape  # Read back.
> 
> Blocking/deblocking is done in the driver so you can treat it as
> a "slow-to-start" FIFO.

I tried, and got error message...

-----------------------------------
# ls >/dev/tape
st0: Write not multiple of tape block size.   <----- ???
ls: write error: Input/output error
#
-----------------------------------
# cat /dev/tape
[inclemental-] Tue Apr 24 03: ......          <----- looks like good!
#
-----------------------------------

Something wrong?



Thanks, for your help.

> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

-- 
Masaki Tsuji

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Can't read SCSI TAPE
  2001-04-24 16:06 Can't read SCSI TAPE Masaki Tsuji
  2001-04-24 16:51 ` Richard B. Johnson
@ 2001-04-25  1:07 ` Tim Moore
  1 sibling, 0 replies; 5+ messages in thread
From: Tim Moore @ 2001-04-25  1:07 UTC (permalink / raw)
  To: Masaki Tsuji; +Cc: linux-kernel

> mt     : mt-st v. 0.4

Also mt-st < v0.5b were fairly broken especially with positioning.

rgds,
tim.
--

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Can't read SCSI TAPE
  2001-04-24 10:54 hundreds of mount --bind mountpoints? Alexander Viro
@ 2001-04-24 16:04 ` Masaki Tsuji
  0 siblings, 0 replies; 5+ messages in thread
From: Masaki Tsuji @ 2001-04-24 16:04 UTC (permalink / raw)
  To: linux-kernel

Dear sirs,

Although 'tar' can write to SCSI-TAPE, can't read from.
'tar' reports ....

......
-rw-r--r-- root/root    xxxxx 2001-xx-xx 01:23 usr/bin/xxxxxx
tar: Skipping to next file header                            <------"A"
-rw-r--r-- root/root    xxxxx 2001-xx-xx 01:23 usr/bin/xxxxxxx
......


"A" means written data is wrong, doesn't it???


Thanks for any help.

------------------------------------------
Detailed ->

System...
Kernel : 2.2.11 + raid0145-19990824-2.2.11.gz
          or
         2.2.11
tar    : GNU tar 1.12
mt     : mt-st v. 0.4
glibc2 : glibc-2.0.7pre6

Hardware...
Mother   : Intel Celeron x2 (SMP)
TAPE drv : SONY SDT-9000
TAPE     : DDS1 DDS2 DDS3
SCSI card: AHA-1542
Cable    : SCSI-2 Hi-impeadance , length 0.5m
------------------------------------------

-- 
Masaki Tsuji

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-04-25  1:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-24 16:06 Can't read SCSI TAPE Masaki Tsuji
2001-04-24 16:51 ` Richard B. Johnson
2001-04-24 22:15   ` Masaki Tsuji
2001-04-25  1:07 ` Tim Moore
  -- strict thread matches above, loose matches on Subject: below --
2001-04-24 10:54 hundreds of mount --bind mountpoints? Alexander Viro
2001-04-24 16:04 ` Can't read SCSI TAPE Masaki Tsuji

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).