- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: disk issue
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
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
тАО09-13-2010 03:11 AM
тАО09-13-2010 03:11 AM
disk issue
while running dd getting following output.
dd if=/dev/rdsk/c2t0d0 of=/dev/null bs=1024k dd read error: I/O error
7739+0 records in
7739+0 records out
Please suggest is this indicate any disk failure even though records in is equal to records out.
Aman
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2010 03:47 AM
тАО09-13-2010 03:47 AM
Re: disk issue
Successful read of the first 64 megabytes of the disk:
# dd if=/dev/rdsk/c0t5d0 of=/dev/null bs=1024k count=64
64+0 records in
64+0 records out
Unsuccessful read of the whole disk:
# dd if=/dev/rdsk/c1t3d0 of=/dev/null bs=1024k
dd read error: I/O error
0+0 records in 0+0 records out
Find the below Link for your refrence:-
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2010 04:13 AM
тАО09-13-2010 04:13 AM
Re: disk issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2010 04:38 AM
тАО09-13-2010 04:38 AM
Re: disk issue
Upon completion of command, dd reports the number of input and output records:
If the Input record is equal to the Output record, its suggest disk is functioning properly, if not its failing then.
You can also use "diskinfo" command to check disk status. If the reported size is nonzero, disk is functioning properly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2010 05:46 AM
тАО09-13-2010 05:46 AM
Re: disk issue
The records will match whether the disk is good or bad. One failure indication is the fact that it said "read error", another is the fact that the record count doesn't match the size of the disk.
>Ishwar: If the Input record is equal to the Output record, its suggest disk is functioning properly
Why would you say that? All it means is that it read N records, got an error and had no problems writing the records to /dev/null.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2010 05:56 AM
тАО09-13-2010 05:56 AM
Re: disk issue
Additionally you can check this out:
# ioscan -fnCdisk
to see if any not CLAIMED status available,
and you can use;
# echo 2400?20X | adb /dev/dsk/c2t0d0
to see if any badblock is there:
Command output should be as follows (if there are no disk errors).
2400: 44454645 43543031 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
Those counters indicate of BBDIR that BadBlockDirectory any Bad Sector occurs in any disk , these numbers will be registered into these counters;
So, any non zero numbers indicate bad blocks and that disk should be changed on the spot !