1825719 Members
2890 Online
109686 Solutions
New Discussion

Re: corrupt block

 
Dagmar Bendová
Advisor

corrupt block

Hallo,
Our system is running at OS HP-UX 11.00. Does any utility exist that can found out a corrupt block at disk? I need an utility that can work with raw devices. I tried stm. I can not understand the output file - raw file. There is an error - EIO 5 and description of the mistake is in hexadecimal mode.
Thanks Dadie
xx
6 REPLIES 6
Robert-Jan Goossens
Honored Contributor

Re: corrupt block

Hi,

Diffecult, you could try

# dd if=/dev/rdsk/cxtydz of=dev/null bs=1024

I'm not shore it will report the exact block.

Hope this helps,
Robert-Jan
SureshKumar_2
Valued Contributor

Re: corrupt block

Hi

U can always check thru' dd.

dd if= of=/dev/null

U have to get input and output as same.

if any mismatch u can conclude the bad blocks.

Hope this will help you.

suresh
Things are very easy, when u know about it...
Dagmar Bendová
Advisor

Re: corrupt block

I have tried cmd dd with this result:
dd read error: Unknown error
1466160+0 records in
1466160+0 records out
xx
Robert-Jan Goossens
Honored Contributor

Re: corrupt block

Hi Dadie,

Could you check the output from,

# diskinfo -v /dev/rdsk/cxtydz

and check if the number of block correspond to the number of blocks from your dd command.

Regards,
Robert-Jan
Naveej.K.A
Honored Contributor

Re: corrupt block

Hi dadie,

there is a utility inside stm called the logtool which is used to read the raw logs created stm. execute stm and invoke the logtool utility and specify the location of the raw log file corresponding to your disk. This utility will convert the raw log file into a readable format and will be displayed on the screen.

but as robert said, dd is also a good util to check up the consistency of your disk

With best wishes
Naveej
practice makes a man perfect!!!
Dagmar Bendová
Advisor

Re: corrupt block

Thanks for your answer but I can not understand raw file. Commands dd has finished at I/O error and I don´t know if it is hardware problem or software problem. How can I recognize it? Can command mediainit solve this problem? What I have to do whith this disk?
Thanks, Dad
xx