git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: reg. fatal: The remote end hung up unexpectedly on NFS

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Apr 6, 2018, 18:46 UTC
Message-ID
<87woxkyxz6.fsf@evledraar.gmail.com>
In-Reply-To
<CAJZK4X4-AZ6uEoVbAtQ9ErdJ2guKj9puXcpdX_3igBNPdQNp5A@mail.gmail.com>
On Fri, Apr 06 2018, Satya Prakash wrote:
Show 17 quoted lines
> Hi,
>
> We have a distributed filesystem with NFS access. On the NFS mount, I
> was doing a git-clone and if NFS server crashed and came back up while
> the clone is going on, clone fails with the below message:
>
> git clone https://satgs@github.com/fs/private-qa.git
>
> remote: Counting objects: 139419, done.
> remote: Compressing objects: 100% (504/504), done.
> Receiving objects:   7% (9760/139419), 5.32 MiB | 5.27 MiB/s
> error: RPC failed; result=18, HTTP code = 200 MiB | 96.00 KiB/s
> fatal: The remote end hung up unexpectedly
> fatal: early EOF
> fatal: index-pack failed
>[...]
> Please advise on how to debug this further.

I don't know what this could be, but have you tried turning on the various GIT_TRACE env variables document in "man git"? Some of those might hold a clue to what's going on here.

Have you tried to do other git-independent tests to see if in general the NFS failover isn't resulting in data being written as applications expect? E.g. doing a recursive wget of some data with known SHA1-sums, or doing a stess test of some sort on a filesystem that uses checksums (such as btrfs), which could be loop-mounted to a file stored on NFS.

Previous: Satya Prakash GSNext: Jeff King
Message 2 of 4 in “reg. fatal: The remote end hung up unexpectedly on NFS”
  1. Satya Prakash GSApr 6, 2018
  2. Ævar Arnfjörð BjarmasonApr 6, 2018
  3. Jeff KingApr 6, 2018
  4. Satya Prakash GSApr 8, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.