<?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: NFS Copy problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-copy-problem/m-p/5090796#M442318</link>
    <description>Sorry for the late response, I didnt get notified of your post.  &lt;BR /&gt;&lt;BR /&gt;This is something that never worked, and I actually just found a work around, to use rcp instead of cp.  thanks for the replies.</description>
    <pubDate>Fri, 29 Feb 2008 15:46:16 GMT</pubDate>
    <dc:creator>Nick Lewers</dc:creator>
    <dc:date>2008-02-29T15:46:16Z</dc:date>
    <item>
      <title>NFS Copy problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-copy-problem/m-p/5090788#M442310</link>
      <description>HPUX 11i&lt;BR /&gt;&lt;BR /&gt;I have the following NFS mount:&lt;BR /&gt;172.16.20.5:/DB_Backup2 /dbbackup nfs rw,suid,vers=3,timeo=1200 0 0&lt;BR /&gt;&lt;BR /&gt;Trying to copy the following file to a adaptec snap server by cp -pf (file) (destination):&lt;BR /&gt;-rw-r--r--   1 root       sys        2147483647 Feb  1 04:51 ghsappl24.bk&lt;BR /&gt;&lt;BR /&gt;I can do it manually, but when I do it from a script it fails with the following error:&lt;BR /&gt;cp: bad copy to /dbbackup/hsbackup_copy/ghsappl24.bk: write: File too large&lt;BR /&gt;&lt;BR /&gt;The NFS server for the share is set to:&lt;BR /&gt;*(rw,insecure,async)&lt;BR /&gt;&lt;BR /&gt;Also, in my script I exported the ulimt and it is the same as mine when I do the command from the shell.  &lt;BR /&gt;&lt;BR /&gt;Any suggestions?</description>
      <pubDate>Fri, 01 Feb 2008 17:49:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-copy-problem/m-p/5090788#M442310</guid>
      <dc:creator>Nick Lewers</dc:creator>
      <dc:date>2008-02-01T17:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: NFS Copy problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-copy-problem/m-p/5090789#M442311</link>
      <description>Hi Nick,&lt;BR /&gt;&lt;BR /&gt;Sound like a mismatch in NFS versions or largefiles has not been enabled on the BFS server.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www12.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&amp;amp;docId=emr_na-c01003430-1" target="_blank"&gt;http://www12.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&amp;amp;docId=emr_na-c01003430-1&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Fri, 01 Feb 2008 18:09:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-copy-problem/m-p/5090789#M442311</guid>
      <dc:creator>Robert-Jan Goossens_1</dc:creator>
      <dc:date>2008-02-01T18:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: NFS Copy problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-copy-problem/m-p/5090790#M442312</link>
      <description>Thanks for the reply.&lt;BR /&gt;&lt;BR /&gt;Actually, the file isnt a large one (existed on the server prior to me enabling large files), so I do not belive that would be an issue.  The server is either V3 or 4, and I am forcing version 3 on the client.  &lt;BR /&gt;&lt;BR /&gt;If it was as you suggest, I would think that I wouldnt be able to complete the copy manually.  Its only when the copy is done via the script where it fails.  Ive commented everything out of the script so this is all that is left:&lt;BR /&gt;#!/usr/bin/ksh&lt;BR /&gt;log=/home/nlewers/hsbackup_copy.log&lt;BR /&gt;echo "HS Backup starting..." `date` &amp;gt; $log&lt;BR /&gt;ulimit &amp;gt;&amp;gt; $log&lt;BR /&gt;cp -pf /hsbu2/hsbu/glsappl24.bk /dbbackup/hsbackup_copy   &amp;gt;&amp;gt; $log  2&amp;gt;&amp;amp;1&lt;BR /&gt;echo "HS Backup complete..." `date` &amp;gt;&amp;gt; $log&lt;BR /&gt;&lt;BR /&gt;if I run it manually from the shell:&lt;BR /&gt;cp -pf /hsbu2/hsbu/glsappl24.bk /dbbackup/hsbackup_copy&lt;BR /&gt;I do not get the error.</description>
      <pubDate>Fri, 01 Feb 2008 18:31:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-copy-problem/m-p/5090790#M442312</guid>
      <dc:creator>Nick Lewers</dc:creator>
      <dc:date>2008-02-01T18:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: NFS Copy problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-copy-problem/m-p/5090791#M442313</link>
      <description>Thanks for the reply.&lt;BR /&gt;&lt;BR /&gt;Actually, the file isnt a large one (existed on the server prior to me enabling large files), so I do not belive that would be an issue.  The server is either V3 or 4, and I am forcing version 3 on the client.  &lt;BR /&gt;&lt;BR /&gt;If it was as you suggest, I would think that I wouldnt be able to complete the copy manually.  Its only when the copy is done via the script where it fails.  Ive commented everything out of the script so this is all that is left:&lt;BR /&gt;#!/usr/bin/ksh&lt;BR /&gt;log=/home/nlewers/hsbackup_copy.log&lt;BR /&gt;echo "HS Backup starting..." `date` &amp;gt; $log&lt;BR /&gt;ulimit &amp;gt;&amp;gt; $log&lt;BR /&gt;cp -pf /hsbu2/hsbu/glsappl24.bk /dbbackup/hsbackup_copy   &amp;gt;&amp;gt; $log  2&amp;gt;&amp;amp;1&lt;BR /&gt;echo "HS Backup complete..." `date` &amp;gt;&amp;gt; $log&lt;BR /&gt;&lt;BR /&gt;if I run it manually from the shell:&lt;BR /&gt;cp -pf /hsbu2/hsbu/glsappl24.bk /dbbackup/hsbackup_copy&lt;BR /&gt;I do not get the error.&lt;BR /&gt;&lt;BR /&gt;Thanks, Nick</description>
      <pubDate>Fri, 01 Feb 2008 18:31:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-copy-problem/m-p/5090791#M442313</guid>
      <dc:creator>Nick Lewers</dc:creator>
      <dc:date>2008-02-01T18:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: NFS Copy problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-copy-problem/m-p/5090792#M442314</link>
      <description>take a hard look at your ulimit output...&lt;BR /&gt;the script starts / runs in ksh, which has a builtin ulimit as opposed to /usr/bin/ulimit.  &lt;BR /&gt;&lt;BR /&gt;Also, what shell are you running when you do the "cp" manually?&lt;BR /&gt;&lt;BR /&gt;I'm betting that in the script, when it logs the output of ulimit, you are seeing something like "4194303" which is the number of 512 byte blocks that you're allowed to write.  At 2,147,482,136...that would be just smaller than the file size you want.&lt;BR /&gt;&lt;BR /&gt;That seems to be the most it will take.  I tried "ulimit 4200000" which didn't generate an error, but didn't appear to work either.&lt;BR /&gt;&lt;BR /&gt;what happens if you use a posix shell instead (/usr/bin/sh)?</description>
      <pubDate>Fri, 01 Feb 2008 18:51:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-copy-problem/m-p/5090792#M442314</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2008-02-01T18:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: NFS Copy problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-copy-problem/m-p/5090793#M442315</link>
      <description>Thanks for the reply.  here is what I did:&lt;BR /&gt;&lt;BR /&gt;changed shell to sh (#!/usr/bin/sh) in the script, output of the log:&lt;BR /&gt;$ cat hsbackup_copy.log&lt;BR /&gt;HS Backup starting... Fri Feb 1 13:14:19 CST 2008&lt;BR /&gt;4194303 (ulimit)&lt;BR /&gt;Copying file /hsbu2/hsbu/ghsappl24.bk...&lt;BR /&gt;cp: bad copy to /dbbackup/hsbackup_copy/ghsappl24.bk: write: File too large&lt;BR /&gt;HS Backup complete... Fri Feb 1 13:17:21 CST 2008&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;From the shell:&lt;BR /&gt;neo(root)#echo $SHELL&lt;BR /&gt;/usr/bin/ksh&lt;BR /&gt;neo(root)#ulimit&lt;BR /&gt;4194303&lt;BR /&gt;neo(root)#cp -pf /hsbu2/hsbu/ghsappl24.bk /dbbackup/hsbackup_copy&lt;BR /&gt;neo(root)#&lt;BR /&gt;&lt;BR /&gt;no errors.  When I look at the file, it looks correct after the manual copy.  &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Feb 2008 19:35:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-copy-problem/m-p/5090793#M442315</guid>
      <dc:creator>Nick Lewers</dc:creator>
      <dc:date>2008-02-01T19:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: NFS Copy problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-copy-problem/m-p/5090794#M442316</link>
      <description>Anyone else have any other suggestions?</description>
      <pubDate>Tue, 12 Feb 2008 18:11:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-copy-problem/m-p/5090794#M442316</guid>
      <dc:creator>Nick Lewers</dc:creator>
      <dc:date>2008-02-12T18:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: NFS Copy problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-copy-problem/m-p/5090795#M442317</link>
      <description>&lt;P&gt;Hi Nick,&lt;BR /&gt;&lt;BR /&gt;A couple thoughts...&lt;BR /&gt;&lt;BR /&gt;o Is this a brand new problem or something that has never worked? If it worked at one time and suddenly stopped working, what has changed?&lt;BR /&gt;&lt;BR /&gt;o Are other NFS clients able to run this script against this NFS server? Is this the only client that fails?&lt;BR /&gt;&lt;BR /&gt;o Does the problem only occur writing to that specific NFS server? Can you try using a different NFS server from the same NFS client and see if the problem occurs? You could even take your 11.11 system and export a local filesystem temporarily and mount the filesystem via a loopback NFS mount and run the same test to see if the problem exists when the 11.11 box is both the NFS client and server.&lt;BR /&gt;&lt;BR /&gt;o Are you running the latest patched version of ksh? I know there were problems back in the 11.0 days similar to this that were fixed in ksh patches. The latest 11.11 patch is PHCO_37283. Might be worth a try.&lt;BR /&gt;&lt;BR /&gt;o Since this problem also occurs with the Posix shell, I'd be interested in checking your libc patch too. I see there is an EFBIG fix in libc that could be related to your problem. The latest libc is PHCO_36184. That might be worth a try as well.&lt;BR /&gt;&lt;BR /&gt;o When you run the command in a shell, does the copy even begin and fail at the very end of the file or does the copy never even start and you get EFBIG returned immediately?&lt;BR /&gt;&lt;BR /&gt;Let me know if any of this helps. If not, I'll try to think of what to check next.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Dave&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 12:01:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-copy-problem/m-p/5090795#M442317</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2021-06-29T12:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: NFS Copy problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-copy-problem/m-p/5090796#M442318</link>
      <description>Sorry for the late response, I didnt get notified of your post.  &lt;BR /&gt;&lt;BR /&gt;This is something that never worked, and I actually just found a work around, to use rcp instead of cp.  thanks for the replies.</description>
      <pubDate>Fri, 29 Feb 2008 15:46:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-copy-problem/m-p/5090796#M442318</guid>
      <dc:creator>Nick Lewers</dc:creator>
      <dc:date>2008-02-29T15:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: NFS Copy problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-copy-problem/m-p/5090797#M442319</link>
      <description>see thread</description>
      <pubDate>Fri, 29 Feb 2008 19:24:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-copy-problem/m-p/5090797#M442319</guid>
      <dc:creator>Nick Lewers</dc:creator>
      <dc:date>2008-02-29T19:24:33Z</dc:date>
    </item>
  </channel>
</rss>

