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달 전542회 조회
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
전문가
검토됨 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인