1. Welcome Guest! In order to create a new topic or reply to an existing one, you must register first. It is easy and free. Click here to sign up now!.
    Dismiss Notice

Robocopy job errorl with "The handle is invalid" on a large (161GB)file

Discussion in 'Windows Home Server' started by Mesan, Jul 7, 2008.

  1. Mesan

    Mesan Guest

    I'm trying to use robocopy to do a restartable-copy (/ZB) of a backup
    image from my server to a full-disk encrypted (truecrypt) hard drive.
    Whenever robocopy gets to 94.4% of the file though, it starts bombing
    out saying that "The handle is invalid." The whole message is...
    -----------------------------------------
    2008/07/07 14:25:20 ERROR 6 (0x00000006) Copying File \\server\share
    \file
    The handle is invalid.
    Waiting 30 seconds... Retrying...
    -----------------------------------------

    It just sits there and keeps retrying. If I kill the job and try to
    restart it, it starts over from the begining, the /ZB switch isn't
    working.

    Is there some size limit for robocopy? I could have sworn that I've
    copied files larger than this with no problem, but this one just won't
    take.

    For reference, I'm copying from sbs2003 SP2 to vista SP1.

    Any ideas???

    Thanks,

    Mesan
     
  2. Mesan

    Mesan Guest

    Re: Robocopy job errorl with "The handle is invalid" on a large(161GB) file

    On Jul 7, 2:45 pm, Mesan <935m...@gmail.com> wrote:<!--coloro:blue--><span style="color:blue <!--/coloro-->
    > I'm trying to use robocopy to do a restartable-copy (/ZB) of a backup
    > image from my server to a full-disk encrypted (truecrypt) hard drive.
    > Whenever robocopy gets to 94.4% of the file though, it starts bombing
    > out saying that "The handle is invalid."  The whole message is...
    > -----------------------------------------
    > 2008/07/07 14:25:20 ERROR 6 (0x00000006) Copying File \servershare
    > file
    > The handle is invalid.
    > Waiting 30 seconds... Retrying...
    > -----------------------------------------
    >
    > It just sits there and keeps retrying.  If I kill the job and try to
    > restart it, it starts over from the begining, the /ZB switch isn't
    > working.
    >
    > Is there some size limit for robocopy?  I could have sworn that I've
    > copied files larger than this with no problem, but this one just won't
    > take.
    >
    > For reference, I'm copying from sbs2003 SP2 to vista SP1.
    >
    > Any ideas???
    >
    > Thanks,
    >
    > Mesan<!--colorc--><!--/colorc-->

    Sorry - it turns out I was running out of space on the drive. I guess
    I could pass the blame on to a bogus error message (why didn't it say
    "insufficient space" instead of "handle is invalid"???) but in the end
    it's my fault.

    Have a great day.
     
  3. Robocopy job errorl with "The handle is invalid"

    I had the same problem and couldn't find the solution anywhere. So I started to add and get rid of flags. When I removed the /b flag (copy in backup operator mode), my backup ran fine. I hope this helps you.



    Mesan wrote:

    Robocopy job errorl with "The handle is invalid" on a large (161GB) file
    08-Jul-08

    I'm trying to use robocopy to do a restartable-copy (/ZB) of a backup
    image from my server to a full-disk encrypted (truecrypt) hard drive.
    Whenever robocopy gets to 94.4% of the file though, it starts bombing
    out saying that "The handle is invalid." The whole message is...
    -----------------------------------------
    2008/07/07 14:25:20 ERROR 6 (0x00000006) Copying File \\server\share
    \file
    The handle is invalid.
    Waiting 30 seconds... Retrying...
    -----------------------------------------

    It just sits there and keeps retrying. If I kill the job and try to
    restart it, it starts over from the begining, the /ZB switch isn't
    working.

    Is there some size limit for robocopy? I could have sworn that I've
    copied files larger than this with no problem, but this one just won't
    take.

    For reference, I'm copying from sbs2003 SP2 to vista SP1.

    Any ideas???

    Thanks,

    Mesan

    EggHeadCafe - Software Developer Portal of Choice
    WPF DataGrid Custom Paging and Sorting
     

Share This Page