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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南