- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: disk response using dd
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
11-04-2005 04:09 AM
11-04-2005 04:09 AM
I am adding several (refurb) disks in an SC10 enclosure. I have done no formatting on the disks, but have exercised each using the dd command (ie dd if=/dev/rdsk/cxtydz...). After running this for each disk for the same time period, the number of records in/out on one of the disks is only about 1/3 as many as any of the other disks. Does this indicate a problem with this disk?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2005 04:13 AM
11-04-2005 04:13 AM
Re: disk response using dd
dd if=/dev/rdsk/cXtYdZ of=/dev/null bs=4096k
is what I usually use to test and exercise a disk.. varying block size from 4k all the ay up to 4096K (4MB).
Everytime you should get the same number of records...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2005 04:13 AM
11-04-2005 04:13 AM
Re: disk response using dd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2005 04:16 AM
11-04-2005 04:16 AM
Re: disk response using dd
dd if=xxx bs=1024k of=yyy
STAT=${?}
echo "Status = ${STAT}"
If that value is non-zero then you have a problem. If the value is zero (and I suspect it is because you did not mention any stderr output) then I'll bet the vendor installed a smaller capacity drive in the module. Diskinfo should tell you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2005 04:17 AM
11-04-2005 04:17 AM
Re: disk response using dd
dd if=/dev/rdsk/c13t8d0 of=/dev/null bs=1024
The in/out records match but the total records/second is much lower on the disk in question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2005 04:20 AM
11-04-2005 04:20 AM
Re: disk response using dd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2005 04:23 AM
11-04-2005 04:23 AM
Re: disk response using dd
Compare the diskinfo outputs of a "good" and "bad" disk. The vendor may have switched models.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2005 04:29 AM
11-04-2005 04:29 AM
Re: disk response using dd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2005 04:58 AM
11-04-2005 04:58 AM
SolutionIf you are going to all this trouble, I would allow each dd to complete so that all disk blocks are checked. The dd's will go much faster with a larger blocksize.
I would do this:
timex dd if=/dev/dsy/xxxxx bs=1024k of=/dev/null
STAT=${?}
echo "Status = ${STAT}"
for each drive. If you do now see failures or drive that differ significantly in i/o rates then you should ask your vendor for replacements. It's a good idea to keep a few spare drives onhand anyway.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2005 09:19 AM
11-04-2005 09:19 AM
Re: disk response using dd
dd if=/dev/rdsk/c1t1d1 bs=1024k count=100 of=/dev/null
That way it'll only read 100 buffers, and produce a valid return code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2005 02:54 AM
11-07-2005 02:54 AM