AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
Expand all | Collapse all

cp: Requested a write of 4096 bytes, but wrote only 3584.

  • 1.  cp: Requested a write of 4096 bytes, but wrote only 3584.

    Posted Tue January 13, 2009 12:41 PM

    Originally posted by: SystemAdmin


    Getting this error when running a script as root, but not when running the individual copy from the command line.

    The file is ~3Gb in size. I'm copying it from one filesystem to another.

    The error suggests ulimits but root has values of:

    time(seconds) unlimited
    file(blocks) unlimited
    data(kbytes) unlimited
    stack(kbytes) 32768
    memory(kbytes) 32768
    coredump(blocks) 2097151
    nofiles(descriptors) 2000

    and does not explain why I can do it on the command line but not through the script.

    Any suggestions warmly appreciated.
    #AIX-Forum


  • 2.  Re: cp: Requested a write of 4096 bytes, but wrote only 3584.

    Posted Tue January 13, 2009 02:33 PM

    Originally posted by: grukrz1


    I have simulated something similiar:

    1. cp 3GB /testtest
    cp : 0653-447 Requested a write of 4096 bytes, but wrote only 4095.

    The destination fs was a jfs type which has 2GB file size limit.
    #AIX-Forum