gpt4 book ai didi

Linux 中的 Git clone fsync 输入/输出错误

转载 作者:太空狗 更新时间:2023-10-29 14:29:08 25 4
gpt4 key购买 nike

我正在尝试克隆 tensorflow/models 存储库。我使用 ssh 连接到远程机器。我尝试了很多解决问题的建议,但没有一个对我有用。

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 位置克隆 repo,然后将文件夹移动到所需的 nfs 位置。

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

关于Linux 中的 Git clone fsync 输入/输出错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40849596/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com