[FUG-BR] Erros no disco + bonnie++

Paulo Olivier Cavalcanti procavalcanti em gmail.com
Sexta Fevereiro 1 18:43:07 BRST 2013


Em 01/02/2013 14:13, mail gter escreveu:
> Boa tarde amigos,
>
> Estou realizando alguns testes de perfomance de disco com a ferramentar
> bonnie++ no FreeBSD 9.1 e o sistema começou imprimir no stderr as seguintes
> mensagens:
>
> (da1:mpt0:0:3:0): READ(10). CDB: 28 0 0 b1 c5 22 0 1 0 0
> (da1:mpt0:0:3:0): CAM status: CCB request terminated by the host
> (da1:mpt0:0:3:0): Retrying command
> (da1:mpt0:0:3:0): READ(10). CDB: 28 0 0 b1 c4 22 0 1 0 0
> (da1:mpt0:0:3:0): CAM status: CCB request terminated by the host
> (da1:mpt0:0:3:0): Retrying command
> (da1:mpt0:0:3:0): READ(10). CDB: 28 0 0 b1 c3 22 0 1 0 0
> (da1:mpt0:0:3:0): CAM status: CCB request terminated by the host
> (da1:mpt0:0:3:0): Retrying command
> (da1:mpt0:0:3:0): READ(10). CDB: 28 0 0 b1 c2 22 0 1 0 0
> (da1:mpt0:0:3:0): CAM status: CCB request terminated by the host
> (da1:mpt0:0:3:0): Retrying command
> (da1:mpt0:0:3:0): READ(10). CDB: 28 0 0 b1 c1 22 0 1 0 0
> (da1:mpt0:0:3:0): CAM status: CCB request terminated by the host
> (da1:mpt0:0:3:0): Retrying command
> (da1:mpt0:0:3:0): READ(10). CDB: 28 0 0 b1 c2 22 0 1 0 0
> (da1:mpt0:0:3:0): CAM status: SCSI Status Error
> (da1:mpt0:0:3:0): SCSI status: Check Condition
> (da1:mpt0:0:3:0): SCSI sense: UNIT ATTENTION asc:29,0 (Power on, reset, or
> bus device reset occurred)
> (da1:mpt0:0:3:0): Retrying command (per sense data)
>
> O disco da1 é um SATA 7200 espetado em uma controladora  HP SAS SC40Ge
> (segundo manual).
>
> Estou naquela dúvida: defeito de hardware ou apenas configuração ?

Não ficou claro se os erros apareceram antes, durante ou depois dos
testes. O stderr é o vídeo ou arquivo de log?

Por curiosidade eu baixei essa ferramenta e olha os resultados:
 

$ sudo bonnie++ -u root

Using uid:0, gid:0.

Writing a byte at a time...done
Writing intelligently...done
Rewriting...done
Reading a byte at a time...done
Reading intelligently...done
start 'em...done...done...done...done...done...
Create files in sequential order...done.
Stat files in sequential order...done.
Delete files in sequential order...done.
Create files in random order...done.
Stat files in random order...done.
Delete files in random order...done.
Version  1.97       ------Sequential Output------ --Sequential Input-
--Random-
Concurrency   1     -Per Chr- --Block-- -Rewrite- -Per Chr- --Block--
--Seeks--
Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP 
/sec %CP
paulobsd.local   4G   264  99 39836   9 17233   5   505  97 52130   9
125.5   3
Latency             32270us     141ms    1636ms   93216us   58037us   
5258ms
Version  1.97       ------Sequential Create------ --------Random
Create--------
paulobsd.local      -Create-- --Read--- -Delete-- -Create-- --Read---
-Delete--
              files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP 
/sec %CP
                 16  9252  28 +++++ +++ +++++ +++  7877  24 +++++ +++
+++++ +++
Latency               120ms     409us     435us     161ms     457us    
396us
1.97,1.97,paulobsd.local,1,1359754733,4G,,264,99,39836,9,17233,5,505,97,52130,9,125.5,3,16,,,,,9252,28,+++++,+++,+++++,+++,7877,24,+++++,+++,+++++,+++,32270us,141ms,1636ms,93216us,58037us,5258ms,120ms,409us,435us,161ms,457us,396us


Como aqui saiu tudo bem, seu disco deve ter algum problema.




-- 
http://about.me/paulocavalcanti



Mais detalhes sobre a lista de discussão freebsd