problemy s paskou ..
Jan ' Kozo ' Vajda
Jan.Vajda na somi.sk
Čtvrtek Leden 5 19:51:45 CET 2006
> ved on ti vravi, ze nemas pokazenu, ale cistu
a ja hovorim, ze mi to robi aj na UPLNE CISTEJ A NOVEJ PASKE, cerstvo rozbalenej
. (na dvoch novych cerstvo rozbalenych) prave preto by som to, ze je na paske
nieco o com neviem s takmer 100% pravdepodobnostou vylucil.
> pravdepodobne je paska naformatovana(alebo dane nejake data) uz s
> nejakou velkostou bloku a ty nevies a nemas ako vediet akou, preto ten
> i/o errr.
>
> mt -f /dev/st0 setblk 0
# mt -f /dev/st0 setblk 0
mt: /dev/st0: Input/output error
> skus previnut na zaciatok alebo neprevijacie zariadenie
> mt -f /dev/nst0 status
# mt -f /dev/nst0 status
drive type = Generic SCSI-2 tape
drive status = 0
sense key error = 0
residue count = 0
file number = 0
block number = 0
Tape block size 0 bytes. Density code 0x0 (default).
Soft error count since last status=0
General status bits on (41010000):
BOT ONLINE IM_REP_EN
> tar cpvf /dev/nst0 /tmp
# tar cpvf /dev/nst0 /tmp
tar: Removing leading `/' from member names
tmp/
tmp/.ICE-unix/
tmp/.X11-unix/
tmp/sysconfig-update/
tmp/.qt/
tar: /dev/nst0: Wrote only 0 of 10240 bytes
tar: Error is not recoverable: exiting now
> pripadne rovno natlac data po previnuti na zaciatok
> tar cpvf /dev/st0 /tmp
# mt -f /dev/st0 rewind
# tar cpvf /dev/st0 /tmp
tar: Removing leading `/' from member names
tmp/
tmp/.ICE-unix/
tmp/.X11-unix/
tmp/sysconfig-update/
tmp/.qt/
tar: /dev/st0: Wrote only 0 of 10240 bytes
tar: Error is not recoverable: exiting now
> a skus citat
>
> tar tvf /dev/st0
# tar tvf /dev/st0
tar: /dev/st0: Cannot read: Input/output error
tar: At beginning of tape, quitting now
tar: Error is not recoverable: exiting now
a pri tychto pokusoch som si v logoch nasiel este aj toto:
st0: Error with sense data: Current st0: sense key Aborted Command
SCSI Error: (1:3:0) Status=02h (CHECK CONDITION)
Key=Bh (ABORTED COMMAND); FRU=00h
ASC/ASCQ=4Bh/00h ""
CDB: 0A 00 00 28 00 00 - "WRITE(6)"
> >>>mam paskovu mechaniku, ktora mi robi toto:
> >>>
> >>># mt -f /dev/st0 status
> >>>drive type = Generic SCSI-2 tape
> >>>drive status = 0
> >>>sense key error = 0
> >>>residue count = 0
> >>>file number = 0
> >>>block number = 0
> >>>Tape block size 0 bytes. Density code 0x0 (default).
> >>
> >> ^^^^^^^^^^^^^
> >>Mas uplne cistou pasku, je potreba nastavit blocksize
> >>mt setblk 512
> >
> >
> > paska je uplne nova a cista, rozbalena .. a uz druha .. takze chybu na
> paske by
> > som vylucil ..
> >
> > # mt -f /dev/st0 setblk 512
> > mt: /dev/st0: Input/output error
> >
> > # mt -f /dev/st0 status
> > drive type = Generic SCSI-2 tape
> > drive status = 0
> > sense key error = 0
> > residue count = 0
> > file number = 0
> > block number = 0
> > Tape block size 0 bytes. Density code 0x0 (default).
> > Soft error count since last status=0
> > General status bits on (41010000):
> > BOT ONLINE IM_REP_EN
--
Kozo
Další informace o konferenci Linux