- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- A simple question on 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
02-11-2003 10:26 AM
02-11-2003 10:26 AM
A simple question on DD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2003 10:27 AM
02-11-2003 10:27 AM
Re: A simple question on DD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2003 10:27 AM
02-11-2003 10:27 AM
Re: A simple question on DD
The man pages for 'dd' contain quite a bit of information. Start there!
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2003 10:34 AM
02-11-2003 10:34 AM
Re: A simple question on DD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2003 10:37 AM
02-11-2003 10:37 AM
Re: A simple question on DD
possible conversions. The standard input and output are used by
default. Input and output block size can be specified to take
advantage of raw physical I/O. Upon completion, dd reports the number
of whole and partial input and output records.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2003 10:43 AM
02-11-2003 10:43 AM
Re: A simple question on DD
In this case :
"dd if=/dev/rdsk/c1t2d0 of=/dev/null count=10
This example reads the first 10 logical blocks from /dev/rdsk/c1t2d0 and write the output to /dev/null. In this case, the user is not interested in the data. Instead, the user is looking for error messages caused by the device i/o. "
what kind of error messages can i have?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2003 10:46 AM
02-11-2003 10:46 AM
Re: A simple question on DD
You could see IO errors or even no errors at all.
In my experience copying drives to each other; I played with a drive that had a fsck block read error, dd'd it for grins, the dd was "successfull" and the corrupted block was copied from one drive to the other, making them both obviously unusable.
What kind of problem are you having?
Kel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2003 11:00 AM
02-11-2003 11:00 AM
Re: A simple question on DD
dd if=/dev/rdsk/c1t2d0 of=/dev/null bs=1024k
will attempt to read the entire disk and if it fails to do so will report an i/o error - a sure sign you need to replace the disk.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2003 11:01 AM
02-11-2003 11:01 AM
Re: A simple question on DD
Off the top of my head, you might see an IO read error noting which block was being read at the time of failure.
I'm not sure I would trust dd as a reliable diagnostic tool.
You might want to consider Online Diags, if it's feasible for your situation.
HTH,
Kel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2003 11:02 AM
02-11-2003 11:02 AM
Re: A simple question on DD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2003 11:02 AM
02-11-2003 11:02 AM
Re: A simple question on DD
"dd if=/dev/rdsk/c1t2d0 of=/dev/null " is useful to identify by activity flashing a specific physicall disk location in an external box disk group.
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2003 11:06 AM
02-11-2003 11:06 AM
Re: A simple question on DD
Has dd been good for you?
Seems like it will only find the grossest of failures for me.
I don't really use it any more in favor of cstm, which seems to stress it more.
Or is it just me.
Curious,
Kel
N/A please
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2003 11:10 AM
02-11-2003 11:10 AM
Re: A simple question on DD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2003 11:18 AM
02-11-2003 11:18 AM
Re: A simple question on DD
CSTM is probably a much more reliable indicator. DD is "old school", if you will.
I haven't had much occasion to search for failed disks lately. Nowadays the vast majority of my disk consists of RAID arrays and I get an e-mail that tells me one of the drives died - I walk over and pull the one out that has the error light on and pop in the spare that I keep on hand.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2003 11:41 AM
02-11-2003 11:41 AM
Re: A simple question on DD
I hear you, I only use it when blasting the few older HP-UX 9x drives or as a teaching aid when people come to me wanting a "Disk to Disk" (I hate that!) to show is is actually a copy utility.
TRAM - If your friend is for example running a dd on a drive (fails), pulls it out, connects another in the same spot, (fails again), this could be indicative of a bad (slot, backplane, cable) depending on how it is connected. Might be a bad controller, but I would think you would be seeing big issues if that were the case. There is the remote possibility you have 2 defective drives, especially if your friend is using used drives for test.
I've seen it before.
HTH,
Kel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2003 11:44 AM
02-11-2003 11:44 AM
Re: A simple question on DD
You could be seeing a CLAIMED ioscan output on a drive that just has minor issues with disks. The controller board may be fine. Have you tried to mediainit the drive?
Kel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2003 02:56 PM
02-11-2003 02:56 PM
Re: A simple question on DD
Manoj Srivastava