- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- dd command to test disk
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
07-13-2005 08:45 AM
07-13-2005 08:45 AM
How do you tell of there is a problem with a disk by running:
# dd if=/dev/rdsk/c4t13d0 of=/dev/null bs=512k
I have been told this will tell you if there is a problem so what output would you expect?
TY
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2005 08:51 AM
07-13-2005 08:51 AM
SolutionCheck this thread
http://forums2.itrc.hp.com/service/forums/questionanswer.do?threadId=237706&admit=-1335382922+1121295007871+28353475
If the disk has problem it will give i/o error
Regards
CS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2005 08:52 AM
07-13-2005 08:52 AM
Re: dd command to test disk
xyz+w bytes in
xyz+w bytes out
which means it could successfully be read from all across the platters.
if there are some bad blocks, the program will abort abnormally giving some sort of an error message that I can not recall now. It has been ages since I have not seen one.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2005 09:02 AM
07-13-2005 09:02 AM
Re: dd command to test disk
as the others have mentioned, the records in and records out must be the same and complete successfully.
u do not have to wait for the output to be shown, by "breaking it" (ctrl+c), the output of the dd command will also be shown.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2005 09:04 AM
07-13-2005 09:04 AM
Re: dd command to test disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2005 09:07 AM
07-13-2005 09:07 AM
Re: dd command to test disk
I would recommend using a block size larger that 512k. That is awfully small and will take a while to complete. I would go with 4096k or 8192k. The test should still accomplish the same thing, but be a bit faster.