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.

posta 9 mesi fa543 visualizzazioni
1 Risposta
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
ESPERTO
Steve_M
con risposta 9 mesi fa
profile picture
ESPERTO
verificato un mese fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande