<?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: dd command question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-command-question/m-p/5000720#M777699</link>
    <description>Hi (again) Galen:&lt;BR /&gt;&lt;BR /&gt;Disregard the fact that '/etc/fstab' has a 'largefiles' setting for the filesystem.  This only says that there it is acceptable to mount the filesystem if there are 'largefiles' in it.  &lt;BR /&gt;&lt;BR /&gt;The fact that the filesystem reports 'nolargefiles' signals that is does *not* support them, although the value of &amp;lt;16&amp;gt; for the 'f_flag' is consistent with a filesystem that does.&lt;BR /&gt;&lt;BR /&gt;As for attempting to convert to 'largefiles", use the *raw* device file associated with the mountpoint.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Fri, 01 Sep 2006 12:58:01 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2006-09-01T12:58:01Z</dc:date>
    <item>
      <title>dd command question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-command-question/m-p/5000710#M777689</link>
      <description>Good Day Everyone,&lt;BR /&gt;&lt;BR /&gt;I'm trying to copy large files (over 2gb) from an mount point on my VA7100 to our SAN and when using the dd command, I simply get a message saying I/O Error.&lt;BR /&gt;&lt;BR /&gt;We're running HPUX 11.0 &amp;amp; the command I'm using is dd if=/d05/exports/wdsa/060829.dmp.Z of=/newd05/exports/wdsa/060829.dmp.Z bs=1024&lt;BR /&gt;&lt;BR /&gt;Our SAN vendor suggested that it may be the version of dd installed that is causing the problem, but I don't know how to find out &lt;BR /&gt;1.  What version of dd we're running?&lt;BR /&gt;2.  If necessary, how to upgrade this version to a version that will support files larger then 2gb.&lt;BR /&gt;&lt;BR /&gt;Any help would be appreciated &amp;amp; as I'm leaving for the day, I can't check responses till tomorrow.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;Galen</description>
      <pubDate>Thu, 31 Aug 2006 17:25:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-command-question/m-p/5000710#M777689</guid>
      <dc:creator>Galen Benson</dc:creator>
      <dc:date>2006-08-31T17:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: dd command question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-command-question/m-p/5000711#M777690</link>
      <description>Hi Galen:&lt;BR /&gt;&lt;BR /&gt;The first thing to verify is do you have 'largefiles' enabled on the destination filesystem.  Do:&lt;BR /&gt;&lt;BR /&gt;# mkfs -F vxfs -m /dev/dsk/cXtYdZ&lt;BR /&gt;&lt;BR /&gt;...this output will show 'largefiles' or 'nolargeilfes' along with other attributes of the filesystem mounted on the device.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF... &lt;BR /&gt;</description>
      <pubDate>Thu, 31 Aug 2006 17:43:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-command-question/m-p/5000711#M777690</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-08-31T17:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: dd command question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-command-question/m-p/5000712#M777691</link>
      <description>It's more likely that the filesystem does does support largefiles. You may need to run fsadm to enable largefiles (ie those larger than 2GiB). Although I don't think it will be necessary you can modify your dd to output to stdout and "outbushwhack" the 2GiB application limit (if it exists -- which I doubt). I'll all but sure it's the filesystem (although don't overlook ulimit and/or quotas).&lt;BR /&gt;&lt;BR /&gt;if=/d05/exports/wdsa/060829.dmp.Z bs=256k &amp;gt; /newd05/exports/wdsa/060829.dmp.Z &lt;BR /&gt;&lt;BR /&gt;Note that I changed your 1024 (bytes) to 256KiB -- that will make a huge performance difference.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 31 Aug 2006 18:59:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-command-question/m-p/5000712#M777691</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-08-31T18:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: dd command question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-command-question/m-p/5000713#M777692</link>
      <description>Hi Galen,&lt;BR /&gt;&lt;BR /&gt;You need to check it first on the mount point on the SAN whether the file system can accept the large files :&lt;BR /&gt;&lt;BR /&gt;To check if large files have been activated, please enter the following command:&lt;BR /&gt;&lt;BR /&gt;# fstyp -v /dev/vgxx/lvolyy|grep f_flag&lt;BR /&gt;&lt;BR /&gt;If the output shows:&lt;BR /&gt;  f_flag: 16 = largefiles&lt;BR /&gt;large files are activated.&lt;BR /&gt;&lt;BR /&gt;If the output shows:&lt;BR /&gt;  f_flag: 0 = no largefiles&lt;BR /&gt;large files are inactive.&lt;BR /&gt;&lt;BR /&gt;To activate the large files, use 'fsadm' as per ACS's info. Below is the format :&lt;BR /&gt;&lt;BR /&gt;# usr/sbin/fsadm -F FSType -o largefiles /dev/vgxx/lvolyy&lt;BR /&gt;&lt;BR /&gt;Hope this information can help.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;AW</description>
      <pubDate>Fri, 01 Sep 2006 02:01:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-command-question/m-p/5000713#M777692</guid>
      <dc:creator>Adisuria Wangsadinata_1</dc:creator>
      <dc:date>2006-09-01T02:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: dd command question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-command-question/m-p/5000714#M777693</link>
      <description>Thanks all,&lt;BR /&gt;&lt;BR /&gt;I thought the largefiles might be the problem too but in the /etc/fstab, the entry reads as follows:&lt;BR /&gt;&lt;BR /&gt;/dev/svm/dsk/Amsys3_d05 /newd05 vxfs rw,suid,largefiles,delaylog,datainlog 0 2&lt;BR /&gt;&lt;BR /&gt;Shouldn't this have setup the largefiles option?&lt;BR /&gt;&lt;BR /&gt;The output I get when using James' suggestion is:&lt;BR /&gt;&lt;BR /&gt;mkfs -F vxfs -o iinode=unlimited,bsize=2048,version=3,inosize=256,logsize=1024,nolargefiles /dev/svm/dsk/Amsys3_d05 10485760&lt;BR /&gt;&lt;BR /&gt;and when checking with the fstyp command, it shows: f_flag: 16&lt;BR /&gt;&lt;BR /&gt;So it does appear to be a filesystem problem, but here's what happens when using the following command to set large files:&lt;BR /&gt;&lt;BR /&gt;fsadm -F vxfs -o largefiles /dev/svm/dsk/Amsys3_d05&lt;BR /&gt;&lt;BR /&gt;vxfs fsadm: /dev/svm/dsk/Amsys3_d05 is not the root inode of a vxfs file sytem&lt;BR /&gt;&lt;BR /&gt;Is there something I'm doing wrong here?&lt;BR /&gt;Thanks again,&lt;BR /&gt;Galen&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Sep 2006 12:26:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-command-question/m-p/5000714#M777693</guid>
      <dc:creator>Galen Benson</dc:creator>
      <dc:date>2006-09-01T12:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: dd command question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-command-question/m-p/5000715#M777694</link>
      <description>Is it already mounted. what bdf output  shows for this filesystem. don't rely on /etc/fstab and there might be typo's also. &lt;BR /&gt;&lt;BR /&gt;I don't think "dsk" should exist on /dev/svm volume group. just check it out.&lt;BR /&gt;&lt;BR /&gt;Once you confirm actual logical volume name and it's volume group then run fsadm command to enable largefiles option.</description>
      <pubDate>Fri, 01 Sep 2006 12:34:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-command-question/m-p/5000715#M777694</guid>
      <dc:creator>IT_2007</dc:creator>
      <dc:date>2006-09-01T12:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: dd command question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-command-question/m-p/5000716#M777695</link>
      <description>Hello galen.&lt;BR /&gt;&lt;BR /&gt;I dont know if this is related but I once had similar problem.&lt;BR /&gt;&lt;BR /&gt;There was a file in .tar format that was being generated and every time this file was bigger than 2 GB it would fail.&lt;BR /&gt;&lt;BR /&gt;The thing is, this problem was patch related, I installed a patch and my problem was solved</description>
      <pubDate>Fri, 01 Sep 2006 12:35:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-command-question/m-p/5000716#M777695</guid>
      <dc:creator>Fabian Briseño</dc:creator>
      <dc:date>2006-09-01T12:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: dd command question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-command-question/m-p/5000717#M777696</link>
      <description>Use the mountpoint:&lt;BR /&gt;&lt;BR /&gt;Rather than:&lt;BR /&gt;fsadm -F vxfs -o largefiles /dev/svm/dsk/Amsys3_d05 &lt;BR /&gt;Use:&lt;BR /&gt;fsadm -F vxfs -o largefiles /newd05&lt;BR /&gt;&lt;BR /&gt;By the way, the largefiles/nolargefile vxfs mount options tell you absolutely nothing about the filesystem's largefile capability.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Sep 2006 12:42:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-command-question/m-p/5000717#M777696</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-09-01T12:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: dd command question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-command-question/m-p/5000718#M777697</link>
      <description>Thanks ACS, that fixed it.  Thanks all for your quick responses!</description>
      <pubDate>Fri, 01 Sep 2006 12:55:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-command-question/m-p/5000718#M777697</guid>
      <dc:creator>Galen Benson</dc:creator>
      <dc:date>2006-09-01T12:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: dd command question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-command-question/m-p/5000719#M777698</link>
      <description>Thanks all</description>
      <pubDate>Fri, 01 Sep 2006 12:57:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-command-question/m-p/5000719#M777698</guid>
      <dc:creator>Galen Benson</dc:creator>
      <dc:date>2006-09-01T12:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: dd command question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-command-question/m-p/5000720#M777699</link>
      <description>Hi (again) Galen:&lt;BR /&gt;&lt;BR /&gt;Disregard the fact that '/etc/fstab' has a 'largefiles' setting for the filesystem.  This only says that there it is acceptable to mount the filesystem if there are 'largefiles' in it.  &lt;BR /&gt;&lt;BR /&gt;The fact that the filesystem reports 'nolargefiles' signals that is does *not* support them, although the value of &amp;lt;16&amp;gt; for the 'f_flag' is consistent with a filesystem that does.&lt;BR /&gt;&lt;BR /&gt;As for attempting to convert to 'largefiles", use the *raw* device file associated with the mountpoint.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 01 Sep 2006 12:58:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-command-question/m-p/5000720#M777699</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-09-01T12:58:01Z</dc:date>
    </item>
  </channel>
</rss>

