ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.22k stars 174 forks source link

Not enough disk space for user check os disk quota settings #7731

Open IngoVals opened 3 years ago

IngoVals commented 3 years ago

Your system information

Please describe your issue in as much detail as possible:

When trying to auto update a game on my secondary library folder ( at /steam ) steam complains about disk space. not enough disk space for user check os disk quota settings There is plenty of space, settings for library folders also shows plenty of free space. I''ve not used a quota for any user. I tried to look into that and seems it is set at 0 meaning no limit. I've even tried changing it to a large limit with no success. I'm assuming that the active user is used, or is there a specific STEAM user?

     Filesystem   space   quota   limit   grace   files   quota   limit   grace
      /dev/sda5  60080M    103G    118G           37428       0       0        
score100 commented 3 years ago

I have the same issue here :(

IngoVals commented 3 years ago

Mine seems to have resolved, but no idea how.

One theory I had was that I actually needed space for the full install instead of just the update. So if you have a 30gb game with 5gb update you would need 30gb of free space instead of just the 5gb.

score100 commented 3 years ago

I think you are right with your theory. My disk space wasn't particularly high at the time!

score100 commented 3 years ago

One thing I noticed that it is often not clear how much disk space is needed for an update, as it can consist of several files from small to huge but it will already stop at a small file. E.g. the update may be 10gb big in total but split into a 2 mb File and one of 9998 mb. However the client may then only show you to refuse the download of a 2 MB file combined with the confusing message mentioned above.

jamzy118 commented 2 years ago

I see this when trying to install 5 GB update on a HDD having 120 GB free. it's arch linux, no quota enabled.

Saroumane commented 1 year ago

I just reproduced the issue while trying to re-install "ARK: Survival Evolved" on an empty 3TB HDD. (the steamapps/common folder is on this drive). I don't use quota. The game package to download is about 43 GB. The game itself needs about 130 GB of disk when installed.

My steamapps/downloading folder is symlinked on a smaller SSD drive with only 100 GB free space.

So for my case: it seems that Steam clients ~erroneously~ checks for 130GB free space on the drive that holds steamapps/downloading folder, instead of checking the drive that holds the destination folder ( steampapps/common ).

If I remove the symlink and let the download happen on the empty 3TB drive, the problem disappear.

Edit : it seems Steam client really needs 130GB free space in the steamapps/downloading folder, as it uncompress data "on the fly" ?

testnetprotonmail commented 1 year ago

seconded

testnetprotonmail commented 1 year ago

sudo mv ~/.local/share/Steam /second-disk somehow solved it for me, don't know why but it downloads normally now