- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Command for ceck 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
Forums
Discussions
Discussions
Discussions
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
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
05-23-2008 09:47 AM
05-23-2008 09:47 AM
Command for ceck bad sector
How can i know, my disk have a bad sector or not?? I use RP3440 with HP-UX version 1.
What command to sow the bad sector??
Thank' Befor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2008 10:06 AM
05-23-2008 10:06 AM
Re: Command for ceck bad sector
Try to "dd" the disk, if it normal ends, there should be no problem, e.g.
# dd if=/dev/rdsk/c0t5d0 of=/dev/null bs=1024k
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
05-23-2008 10:07 AM
05-23-2008 10:07 AM
Re: Command for ceck bad sector
# dd if=/dev/rdsk/cXtYdZ of=/dev/null bs=1024k; echo $?
...this will examine (read) the entire physical volume so depending on its size this could take considerable time. Note the use of the raw device file to bypass the LVM and buffer cache layers.
If there are no errors, the number of records in and out will be the same and the command's exit status will be zero (0).
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2008 10:17 AM
05-23-2008 10:17 AM
Re: Command for ceck bad sector
You can use mediainit command.
There is no need to use this now a days and with modern discs and sizes it most certainly can render discs usless to hpux.
Modern discs have all there bad sectors sorted at manufacture so a mediainit should'nt be needed as it basically just initalzes the inbuilt controller self tests.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2008 10:28 AM
05-23-2008 10:28 AM
Re: Command for ceck bad sector
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!
