BFU: /dev/nst0

Jan ' Kozo ' Vajda jvajda na somi.sk
Pondělí Listopad 4 14:09:50 CET 2002


:> > # tar cf /dev/nst0 /home
:> > tar: Removing leading `/' from member names
:> >
:> > # mt bsf 1
:> 
:> Zkuste jen pro zajimavost dat v tomhle kroku rewind .

# mt rewind
# mt status
SCSI 2 tape drive:
File number=0, block number=0, partition=0.
Tape block size 512 bytes. Density code 0x25 (DDS-3).
Soft error count since last status=0
General status bits on (41010000):
 BOT ONLINE IM_REP_EN
# tar tf /dev/nst0
tar: /dev/nst0: Cannot read: Input/output error
tar: At beginning of tape, quitting now
tar: Error is not recoverable: exiting now

:> > tar: /dev/nst0: Cannot read: Input/output error
:> > tar: At beginning of tape, quitting now
:> > tar: Error is not recoverable: exiting now
:> 
:> Vypada to na vadnou mechaniku. Jeste bych zkusil vyrobit nejaky textovy
:> soubor velky 512B a
:> 
:> mt rewind
:> cat soubor > /dev/nst0
:> mt rewind
:> cat /dev/nst0
:> 
:> Jestli to ten soubor nevyplivne a pri zapisu to nezahlasi chybu, tak bych
:> skoro odepsal tu mechaniku ....

# dd if=/dev/zero of=/tmp/512B_file count=1 bs=512
1+0 records in
1+0 records out
# ls -laF /tmp/512B_file
-rw-r--r--    1 root     root          512 Nov  4 14:05 /tmp/512B_file

# cat /tmp/512B_file > /dev/nst0
# mt rewind
/dev/tape: Input/output error
# cat /dev/nst0 | less
cat: /dev/nst0: Input/output error


paska, ci mechanika ? 



		                                   K O Z O 
                		    ===================================
                                      Look At Your Young Man Fighting
                                         Look At Your Woman Crying
                                       Look At Your Young Man Dying
                                    The Way They've Always Done Before



Další informace o konferenci Linux