Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Apr 2018 21:14:56 +0000
From:      James Lodge <James@Lodge.me.uk>
To:        "freebsd-git@freebsd.org" <freebsd-git@freebsd.org>
Subject:   Git Pull into mount SMB Share issue
Message-ID:  <DB6PR0601MB2600A1A99D4E9D44192DCE2AF98A0@DB6PR0601MB2600.eurprd06.prod.outlook.com>

next in thread | raw e-mail | index | archive | help
Hi All,


Sorry if this is not the right mailing list, but I assume someone may have =
seen the issue I'm experiencing.


I've have load of issues with git clone in a jail to a nullfs mounted from =
a SMB share mounted in the host, but ignore that I've moved in to the host =
to simplify thing.


When I clone a repo to a SMB share mounted under /mnt i have no issues. Whe=
n I come to pull changed from the repo it hangs on Updating... <HASH>....<H=
ASH>


Running GIT_TRACE=3D1 git pull I get the following where is sits indefinite=
ly


22:02:43.856765 git.c:344               trace: built-in: git 'pull'
22:02:43.903591 run-command.c:627       trace: run_command: 'fetch' '--upda=
te-head-ok'
22:02:43.921134 git.c:344               trace: built-in: git 'fetch' '--upd=
ate-head-ok'
22:02:43.980529 run-command.c:627       trace: run_command: 'git-remote-htt=
ps' 'origin' 'https://<hostname>/repo.git'
22:02:44.112297 run-command.c:627       trace: run_command: 'git credential=
-cache get'
22:02:44.121756 git.c:576               trace: exec: 'git-credential-cache'=
 'get'
22:02:44.121989 run-command.c:627       trace: run_command: 'git-credential=
-cache' 'get'
Username for 'https://<hostname>':
Password for 'https://username@<hostname>':
22:02:50.339622 run-command.c:627       trace: run_command: 'git credential=
-cache store'
22:02:50.355888 git.c:576               trace: exec: 'git-credential-cache'=
 'store'
22:02:50.356128 run-command.c:627       trace: run_command: 'git-credential=
-cache' 'store'
22:02:50.358279 run-command.c:627       trace: run_command: 'git-credential=
-cache--daemon' '/root/.cache/git/credential/socket'
22:02:50.369480 run-command.c:627       trace: run_command: 'rev-list' '--o=
bjects' '--stdin' '--not' '--all' '--quiet'
22:02:50.431217 run-command.c:627       trace: run_command: 'rev-list' '--o=
bjects' '--stdin' '--not' '--all' '--quiet'
22:02:50.440719 git.c:344               trace: built-in: git 'rev-list' '--=
objects' '--stdin' '--not' '--all' '--quiet'
22:02:50.508506 run-command.c:1470      run_processes_parallel: preparing t=
o run up to 1 tasks
22:02:50.508544 run-command.c:1502      run_processes_parallel: done
22:02:50.509186 run-command.c:627       trace: run_command: 'gc' '--auto'
22:02:50.519102 git.c:344               trace: built-in: git 'gc' '--auto'
22:02:50.534006 run-command.c:627       trace: run_command: 'merge' 'FETCH_=
HEAD'
22:02:50.543686 git.c:344               trace: built-in: git 'merge' 'FETCH=
_HEAD'
Updating 5fb2edf..0a3b08c
22:02:51.193862 run-command.c:627       trace: run_command: 'git-lfs filter=
-process'
22:02:51.210272 trace git-lfs: exec: git 'version'
22:02:51.224591 trace git-lfs: exec: git 'config' '-l'
22:02:51.239722 trace git-lfs: Install hook: pre-push, force=3Dfalse, path=
=3D/mnt/software/repo/.git/hooks/pre-push, upgrading...
22:02:51.245303 trace git-lfs: Install hook: post-checkout, force=3Dfalse, =
path=3D/mnt/software/repo/.git/hooks/post-checkout, upgrading...
22:02:51.250915 trace git-lfs: Install hook: post-commit, force=3Dfalse, pa=
th=3D/mnt/software/repo/.git/hooks/post-commit, upgrading...
22:02:51.256337 trace git-lfs: Install hook: post-merge, force=3Dfalse, pat=
h=3D/mnt/software/repo/.git/hooks/post-merge, upgrading...
22:02:51.261012 trace git-lfs: Initialize filter-process
22:02:51.261277 trace git-lfs: exec: git '-c' 'filter.lfs.smudge=3D' '-c' '=
filter.lfs.clean=3D' '-c' 'filter.lfs.process=3D' '-c' 'filter.lfs.required=
=3Dfalse' 'rev-parse' 'HEAD' '--symbolic-full-name' 'HEAD'
22:02:53.320267 trace git-lfs: tq: running as batched queue, batch size of =
100

If I clone the same repo to a local file system and pull the changes, every=
thing works correctly, so its related to the SMB share mount.

If anyone can suggest how I further diagnose this or suggest a different ma=
iling list I'd much appreciated it.

James

.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DB6PR0601MB2600A1A99D4E9D44192DCE2AF98A0>