1829543 Members
2450 Online
109992 Solutions
New Discussion

hardware check

 
SOLVED
Go to solution
A Pandey
Frequent Advisor

hardware check

how do i check for bad sectors on the disk

i have 11.00 on L1000 system
4 REPLIES 4
Sanjay_6
Honored Contributor
Solution

Re: hardware check

Hi,

try,

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

Hope this helps.

Regds
Pete Randall
Outstanding Contributor

Re: hardware check

And when you run Sanjay's dd command, what you're looking for is I/O errors. If you get one, that means the disk is bad. If the dd completes without complaint, then your disk is OK.


Pete

Pete
Mark Greene_1
Honored Contributor

Re: hardware check

Run fsck or fsck -m if you just want it to check and not fix any errors found. You'll need to run this for each file system included on the drive in question.

mark
the future will be a lot like now, only later
Bill Hassell
Honored Contributor

Re: hardware check

And most important: make sure the online diagnostics are loaded and running. They will monitor disk error messages and can be configured to notify you when there are error messages. The file: /var/adm/syslog/syslog.log will also have disk errors logged.


Bill Hassell, sysadmin