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.

asked 9 months ago513 views
1 Answer
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
EXPERT
Steve_M
answered 9 months ago
profile picture
EXPERT
reviewed 24 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions