AIX

AIX

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


#Power
 View Only
  • 1.  Copy data from p6 machine to NetApp

    Posted Tue June 07, 2011 03:35 AM

    Originally posted by: SystemAdmin


    I have a backup folder which contains three folders of total size of 231 GB. I have mounted NetApp device at P6 machine running AIX 5.1 with folloiwng command:-
    mount netapp:/vol/aix/aix-backup /NetApp

    Now I want to copy my 3 folders (total size of all folders = 231 GB) to this mounted device at /NetApp. what command will be used for this purpose? Is I need to copy each folder one by one and how many times it will consume to complete this Task.
    #AIX-Forum


  • 2.  Re: Copy data from p6 machine to NetApp

    Posted Wed June 08, 2011 07:38 PM

    Originally posted by: ColombianJoker


    cd /parentof/first/directory ; tar -cpf - first | (cd /NetApp ; tar -xpvf - )
    cd /parentof/second/directory ; tar -cpf - second | (cd /NetApp ; tar -xpvf - )
    cd /parentof/third/directory ; tar -cpf - third | (cd /NetApp ; tar -xpvf - )

    These will create /NetApp/first, /NetApp/second, /NetApp/third directories
    #AIX-Forum


  • 3.  Re: Copy data from p6 machine to NetApp

    Posted Thu June 09, 2011 08:22 AM

    Originally posted by: SystemAdmin


    Dear Colombianjoker

    Thanks for your reply. Actually due to late reply received from this forum, i have used following command:-

    cp -rp /backup/PROD/first-directory /NetApp

    first directory is successfully copied but when i tried to copy second directory with same command, It has completed 80% but gives following error:-

    "A file cannot be larger than the value set by ulimit".

    What is this, please help whether this is related to any data size problem or any restrictions in AIX operating system. How can it be be resolved.
    #AIX-Forum


  • 4.  Re: Copy data from p6 machine to NetApp

    Posted Thu June 09, 2011 10:25 AM

    Originally posted by: ColombianJoker


    Each and every user in AIX have file limits -even root user-. These limits top the users to create files up to 1GB only. You must lift the limits of the user
    chuser fsize=-1 fsize_hard=-1 root
    and then open a new session. In that you can try the copy.
    #AIX-Forum


  • 5.  Re: Copy data from p6 machine to NetApp

    Posted Fri June 10, 2011 09:47 AM

    Originally posted by: SystemAdmin


    Dear Colombianjoker

    Thanks for your great help. I have applied your instructions and start the copy again. Let see what it will show the result.

    However, during previous copy activity, another error was also coming which i describe as below:-

    "cp: not all requested changes were made to /NetApp1/oradb/PROD/10.2.0/bin/nmb"

    what is this error? . I said whether this can effect on copied data?
    #AIX-Forum


  • 6.  Re: Copy data from p6 machine to NetApp

    Posted Sat June 11, 2011 12:48 AM

    Originally posted by: SystemAdmin


    Dear Colombianjoker

    I have used command "chuser fsize=-1 fsize_hard=-1 root" and keep this session open and open another session and start "cp -rp /backup/PROD/oraapps /NetApp1" command in that session but still it gave me error of ulimit i.e "A file cannot be larger than the value set by ulimit".

    Please help us on urgent basis. Also reply of previous error i.e " cp: not all requested changes were made to /NetApp1/oradb/PROD/10.2.0/bin/nmb".

    I am waiting your helpfull guidance and really appreciate it.
    #AIX-Forum


  • 7.  Re: Copy data from p6 machine to NetApp

    Posted Mon June 13, 2011 12:34 PM

    Originally posted by: ColombianJoker


    Are you using root user in the "copy command" window?
    Show me your "ulimit" command output (in the copy command session), please
    #AIX-Forum


  • 8.  Re: Copy data from p6 machine to NetApp

    Posted Mon June 13, 2011 12:38 PM

    Originally posted by: ColombianJoker


    Show me the output of
    lsuser root | sed 's/ /\
    /g' | grep size

    (That's
    lsuser root OPTIONAL_SPACE PIPE OPTIONAL_SPACE sed STRAIGHT_QUOTE s SLASH SPACE SLASH BACKSLASH ENTER (cursor goes to next line) SLASH g STRAIGHT_QUOTE OPTIONAL_SPACE PIPE grep size)
    #AIX-Forum


  • 9.  Re: Copy data from p6 machine to NetApp

    Posted Tue June 14, 2011 12:35 AM

    Originally posted by: SystemAdmin


    Here is the output of commands:-

    1. ulimit
    unlimited
    1. lsuser root | sed 's/ /\
    > /g' | grep size
    histsize=0
    fsize=-1
    fsize_hard=-1
    #AIX-Forum