file write error: no space left on device

0

I am getting file write error: no space left on device while pull the code from git to aws, even my account having enough space in aws.

  • Can you please elaborate little bit, what are you trying to do and where is that error coming.

已提问 9 个月前539 查看次数
1 回答
0

The wording of the error message suggests you're running this on a Linux EC2 instance, would that be right?

If so then what is the output of running df -h . this will show how full the filesystem is that you are trying to do the git pull into. Also worth checking pwd to ensure you're in the directory that you think you are in, and if that's right then df -hl will show the free space available in all other local filesystems.

Let's assume all of the above checks out okay, and you have just run out of diskspace. Your options here are to delete things, provision a new instance with a bigger disk, or stick with the current instance and add a second disk. Here's how to do that https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-attaching-volume.html and here's how to make it available as a new mountpoint under Linux https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-using-volumes.html

If any assumptions above are not right please can you point them out, and advise what you are actually running & trying to do here.

profile picture
专家
Steve_M
已回答 9 个月前
profile picture
专家
已审核 1 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则