<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: command dd in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/command-dd/m-p/4042116#M605822</link>
    <description>First one reads 8kB blocks from /dev/rdsk/c0t1d0 and writes them to /dev/null (i.e. writes them nowhere). Typically used to validate there are no bad blocks on the disk.&lt;BR /&gt;&lt;BR /&gt;Second one writes 1000 1kB blocks of zeros to device /dec/rdsk/c0t1d0.</description>
    <pubDate>Mon, 23 Jul 2007 12:57:38 GMT</pubDate>
    <dc:creator>Jeff_Traigle</dc:creator>
    <dc:date>2007-07-23T12:57:38Z</dc:date>
    <item>
      <title>command dd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-dd/m-p/4042115#M605821</link>
      <description>What is the meaning of these commands:&lt;BR /&gt;dd if=/dev/rdsk/c0t1d0 of=/dev/null bs=8192&lt;BR /&gt;and&lt;BR /&gt;dd if=/dev/zero of=/dev/rdsk/c0t1d0 bs=1024 count=1000?</description>
      <pubDate>Mon, 23 Jul 2007 12:52:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-dd/m-p/4042115#M605821</guid>
      <dc:creator>Feljav</dc:creator>
      <dc:date>2007-07-23T12:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: command dd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-dd/m-p/4042116#M605822</link>
      <description>First one reads 8kB blocks from /dev/rdsk/c0t1d0 and writes them to /dev/null (i.e. writes them nowhere). Typically used to validate there are no bad blocks on the disk.&lt;BR /&gt;&lt;BR /&gt;Second one writes 1000 1kB blocks of zeros to device /dec/rdsk/c0t1d0.</description>
      <pubDate>Mon, 23 Jul 2007 12:57:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-dd/m-p/4042116#M605822</guid>
      <dc:creator>Jeff_Traigle</dc:creator>
      <dc:date>2007-07-23T12:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: command dd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-dd/m-p/4042117#M605823</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; dd if=/dev/rdsk/c0t1d0 of=/dev/null bs=8192&lt;BR /&gt;&lt;BR /&gt;...reads the raw disk device in blocked reads of 8192 characters and writes what is read to the "bit-bucket".  This is a common way to test a disk device to see if it can be read and/or can be read without errors.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; dd if=/dev/zero of=/dev/rdsk/c0t1d0 bs=1024 count=1000&lt;BR /&gt;&lt;BR /&gt;...reads an infinite stream of zeros, writting them in blocks of 1,024 to the disk device shown.  After 1,000 writes, the command quits.  This is a common way to erase (some) disk information.  &lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 23 Jul 2007 13:03:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-dd/m-p/4042117#M605823</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-07-23T13:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: command dd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-dd/m-p/4042118#M605824</link>
      <description>Note that the man page for dd will be of some help here. &lt;BR /&gt; &lt;BR /&gt;if=INPUT_FILE&lt;BR /&gt;of=OUTPUT_FILE&lt;BR /&gt;bs=BLOCKSIZE&lt;BR /&gt; &lt;BR /&gt;However, the bs= values are extremely small and except as a small test, should not be used. The bs= value can have a suffix k in order to represent much larger values. The following will read all the tracks on a given disk at full speed:&lt;BR /&gt; &lt;BR /&gt;dd if=/dev/rdsk/c0t1d0 of=/dev/null bs=512k&lt;BR /&gt; &lt;BR /&gt;However, the second command should be considered very dangerous. As mentioned it writes zeros on the disk. What this really means is that it destroys all the files and directories on that specific disk with no possible way to fix the destruction.</description>
      <pubDate>Mon, 23 Jul 2007 21:11:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-dd/m-p/4042118#M605824</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-07-23T21:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: command dd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-dd/m-p/4042119#M605825</link>
      <description>This is a good command to run a read-only test on the physical hard disk. If there is a bad block on the disk, the output will not complete and will give 'I/O error'. If you put a 'time' command before the dd, you can also test the I/O performance of that device with the different specified block sizes. A calculation of how many I/O or MB over the time it took to complete the command will give you the I/O performance of the disk in IO/sec or MB/sec.</description>
      <pubDate>Wed, 25 Jul 2007 01:34:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-dd/m-p/4042119#M605825</guid>
      <dc:creator>tkc</dc:creator>
      <dc:date>2007-07-25T01:34:11Z</dc:date>
    </item>
  </channel>
</rss>

