problemy s paskou ..

Pavel Kankovsky peak na argo.troja.mff.cuni.cz
Pátek Leden 6 18:26:18 CET 2006


On Thu, 5 Jan 2006, Kozo wrote:

> # 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

Trochu moc nul najednou. Takhle by to melo vypadat, kdyz v mechanice neni 
paska (a ne kdyz tam je).

> # tar -c --exclude=/proc --exclude=/sys --exclude=/dev -vf /dev/st0 --directory=/ /
> tar: Removing leading `/' from member names
> 
> boot/
> boot/lost+found/
> boot/grub/
> boot/grub/e2fs_stage1_5
> boot/grub/fat_stage1_5
> boot/grub/ffs_stage1_5
> tar: /dev/st0: Wrote only 0 of 10240 bytes
> tar: Error is not recoverable: exiting now

Zda se, ze se nepodarilo vubec nic zapsat.

> # mt -f /dev/st0 setblk 512
> mt: /dev/st0: Input/output error
> # mt -f /dev/st0 setblk 0
> mt: /dev/st0: Input/output error

Zase chovani, jako kdyby nemel zadnou pasku.

> 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)"

Key=B tedy "aborted command" podle SPC znamena, ze se prikaz rozhodlo o
sve vuli stornovat cilove zarizeni. ASC/ASCQ 4B/00 je "data phase error"  
bez blizsi specifikace (to jsme ale najednou chytrejsi...<g>).

Celkove mi to pripada tak, jako by mechanika nebrala vlozenou pasku na 
vedomi.

--Pavel Kankovsky aka Peak  [ Boycott Microsoft--http://www.vcnet.com/bms ]
"Resistance is futile. Open your source code and prepare for assimilation."




Další informace o konferenci Linux