mikeizbicki / cmc-csci046

CMC's Data Structures and Algorithms Course Materials
55 stars 155 forks source link

Disk quota exceeded error when trying to delete files to clear up space #485

Closed ajholzer closed 1 year ago

ajholzer commented 1 year ago

When trying to delete files to free up allocated space on the lambda server (see Issue #475) with a command:

$ rm -rf <DIRECTORY> 

it throws the following error:

-bash: cannot create temp file for here-document: Disk quota exceeded

I am unsure how to proceed with deleting files to clear up space so I can continue working. I get the same error message when running all other commands. Using cd to enter directories works, but that operation throws the same message above. Operations like using the tab key to autocomplete a line do so as well.

giffiecode commented 1 year ago

fatal: could not create work tree dir 'lab-sorting': Disk quota exceeded -bash: cannot create temp file for here-document: Disk quota exceeded

i receive the same error message

mikeizbicki commented 1 year ago

The line

-bash: cannot create temp file for here-document: Disk quota exceeded

is just telling you you're out of disk space. The command you typed still took effect. You simply didn't delete enough data in your rm command to go back below your disk quota.