AIX

AIX

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


#Power
#Power
 View Only
  • 1.  Very slow cp from cio jfs2 to antoher jfs2

    Posted Fri March 12, 2010 11:02 AM

    Originally posted by: Phil86


    Hi,

    I installed a fresh AIX 5.3.0.10 on a lpar.

    I want to copy few files (total : 2,6Go) from one jfs2 to another one::

    the src is mounted with cio,rw option
    the dst is mounted with rbrw,rw option

    cp /src/* /dst takes 4m43s !!!

    If I umount the src, and remove the cio option,

    cp time is now 20s

    Does someone can help me ?

    I need cio as the src folder is for oracle dbf files (according several notes, it has to be cio mounted)

    Regards

    Philippe
    #AIX-Forum


  • 2.  Re: Very slow cp from cio jfs2 to antoher jfs2

    Posted Sat March 13, 2010 03:55 PM

    Originally posted by: Phil86


    Hi

    It seems the cp (as well backup command) have serious trouble when the cio mount option is used.

    I used rbrw as mount option and setup in oracle ilesystemio_options=setall

    Oracle is working fast enough and my savevg is fast as it should be
    #AIX-Forum


  • 3.  Re: Very slow cp from cio jfs2 to antoher jfs2

    Posted Sat March 13, 2010 03:56 PM

    Originally posted by: Phil86


    I found answer digging in this forum and few other :)
    #AIX-Forum


  • 4.  Re: Very slow cp from cio jfs2 to antoher jfs2

    Posted Fri April 02, 2010 09:00 AM

    Originally posted by: cd3lgado


    Hi

    Try using another options for cp command. I use the scp command. Or the tar script you can use for copying purposes:

    tar cf - * | ( cd /target; tar xfp -)

    Depending on your tar version you might need to use the pax command instead of the tar one. Installaing tha tar version that comes with the Linux for AIX toolbox is another option.

    Hope this helps
    #AIX-Forum