mikeizbicki / cmc-csci046

CMC's Data Structures and Algorithms Course Materials
53 stars 153 forks source link

Disk Quota exceeded error #308

Closed kingeddy11 closed 3 years ago

kingeddy11 commented 3 years ago

Hi Mike,

I hope you are doing well! I'm having some trouble cloning the risk repo. After forking your risk repo I ran the usual clone command git clone https://github.com/kingeddy11/risk and it gave me this error:

Cloning into 'risk'...
remote: Enumerating objects: 483, done.
remote: Counting objects: 100% (16/16), done.
remote: Compressing objects: 100% (10/10), done.
fatal: write error: Disk quota exceeded2 MiB | 25.92 MiB/s
fatal: index-pack failed

I tried running the du -hd1 command and ls -la command and deleting some large files, but I noticed that most of the large files came from my ./. local directory and did not want to accidentally delete any of these files. Please let me know how I can fix this issue and which files I should prioritize deleting and thank you so much.

Best, Edward

kingeddy11 commented 3 years ago

Hi Mike, I tried figuring out which files to delete and am confused why I'm still running into the disk quota exceeded error even though I've only used 134 MB of space. Additionally, I may have accidentally deleted some incorrect files as when I login to my Lambda account on the "home page" there is no more color ie: the initial home message isn't colored and my directories are not highlighted blue anymore. Please let me know how I can fix these issues as I am not able to clone the risk repo. Thank you so much!

Edward

mikeizbicki commented 3 years ago

You're only allocated 200MB of disk space on the lambda server, and the risk repo consumes ~70MB. So that's why "only" consumin 134 MB of space is too much. You need to delete more files in order to free up more space. The du -hd1 and the ls -l commands will help you find which files are consuming the most space.

mikeizbicki commented 3 years ago

I've read your first post a bit more carefully now, and I see that you've narrowed down the problem to the .local folder. This contains python libraries that you've downloaded, and it is safe to delete this folder. You'll just have to redownload any libraries that are needed for the risk assignment afterward.

kingeddy11 commented 3 years ago

I see, I was able to free up 88 MB after deleting the local folder which is huge. Thanks for all your help Mike!