- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to check the harddisk bad sector
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2008 07:42 PM
тАО10-06-2008 07:42 PM
What is the command line to check the hdd whether in good condition or not. Got any bad sector or not. The server is L2000 running on hpux 11i version 1
Regards
Chui
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2008 08:14 PM
тАО10-06-2008 08:14 PM
Re: How to check the harddisk bad sector
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2008 08:36 PM
тАО10-06-2008 08:36 PM
Solutionhttp://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2008 08:53 PM
тАО10-06-2008 08:53 PM
Re: How to check the harddisk bad sector
dd if=/dev/rdsk/cxtxdx of=/dev/null bs=2048
Thanks
SKR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2008 09:07 PM
тАО10-06-2008 09:07 PM
Re: How to check the harddisk bad sector
see the below thread.
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1061965
Regards,
Asif Sharif
Asif Sharif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2008 10:01 PM
тАО10-06-2008 10:01 PM
Re: How to check the harddisk bad sector
The bad disk doc is top notch.
I'd do this:
dd if=/dev/dsk/blahblah of=/dev/null count=10000
Raise the count base don disk size.
This will find a bad sector.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2008 10:14 PM
тАО10-06-2008 10:14 PM
Re: How to check the harddisk bad sector
Exit values are:
0 Successful completion.
>0 Error condition occurred.
DIAGNOSTICS
Upon completion, dd reports the number of input and output records:
f+p records in Number of full and partial blocks read.
f+p records out Number of full and partial blocks
written.
When conv=block is specified and there is at least one truncated
block, the number of truncated records is also reported:
n truncated records
EXAMPLES
Read an EBCDIC tape blocked ten 80-byte EBCDIC card images per block
into an ASCII file named x:
dd if=/dev/rdsk/c0t0d0 of=/dev/null count=1000
unix # dd if=/dev/rdsk/c3t15d0 of=/dev/null count=1024
1024+0 records in
1024+0 records outhis disk does not have bad sector as records in and out are matching
means t
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2008 06:01 AM
тАО10-07-2008 06:01 AM
Re: How to check the harddisk bad sector
a Solaris system, and use the "format"
program there. It can do some fairly
low-level work with defect lists, and it can
easily do some multi-pass, multi-pattern
write+read testing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2008 06:05 AM
тАО10-07-2008 06:05 AM
Re: How to check the harddisk bad sector
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-08-2008 11:58 PM
тАО10-08-2008 11:58 PM
Re: How to check the harddisk bad sector
If i used the command dd if=/dev/rdsk/c0t4d0 of=/dev/null bs=1024k count=128 will it corrupt my existing data or not.
Regards
Chui
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2008 01:17 AM
тАО10-09-2008 01:17 AM
Re: How to check the harddisk bad sector
Use the following manual for checking the disk integrity of the disk.
www.docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
This is a Very helpful document.DO have a look
Regards
Vivek Bhatia
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2008 01:17 AM
тАО10-09-2008 01:17 AM
Re: How to check the harddisk bad sector
You can execute it without problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2008 06:22 AM
тАО10-09-2008 06:22 AM
Re: How to check the harddisk bad sector
One of the nice features in the Solaris
"format" program is its ability to do surface
analysis using this sequence:
save - write - read+verify - restore.
It lets you do write+read testing without
losing the data (unless the disk is bad). It
also has data-destroying options:
format> a
ANALYZE MENU:
read - read only test (doesn't harm SunOS)
refresh - read then write (doesn't harm data)
test - pattern testing (doesn't harm data)
write - write then read (corrupts data)
compare - write, read, compare (corrupts data)
purge - write, read, write (corrupts data)
[...]