Linux中的Git克隆fsync输入/输出错误 [英] Git clone fsync input/output error in linux

查看:234
本文介绍了Linux中的Git克隆fsync输入/输出错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试克隆tensorflow/models回购.我已通过ssh连接到远程计算机.我尝试了许多解决该问题的建议,但没有一个对我有用.

I am trying to clone the tensorflow/models repo. I am connected to the remote machine with ssh. I tried many suggestions out there for fixing the issue but none worked for me.

git clone --recursive https://github.com/tensorflow/models.git
Cloning into 'models'...
remote: Counting objects: 1670, done.
remote: Compressing objects: 100% (28/28), done.
remote: Total 1670 (delta 10), reused 0 (delta 0), pack-reused 1642
Receiving objects: 100% (1670/1670), 49.23 MiB | 8.44 MiB/s, done.
Resolving deltas: 100% (670/670), done.
fatal: fsync error on '/home/OFFICE/utk/projects/syntaxnet/models/.git/objects/pack/tmp_pack_2w67RB': Input/output error
fatal: index-pack failed

推荐答案

问题是我试图在nfs文件系统中进行克隆. 解决方案是在非nfs位置克隆存储库,然后将文件夹移动到所需的nfs位置.

The problem was that I was trying to clone in the nfs file system. The solution is to clone the repo in non-nfs location, and then move the folder to the desired nfs location.

cd /tmp   (non nfs location)
git clone blablabla.git
mv blablabla ~

这篇关于Linux中的Git克隆fsync输入/输出错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆