protonscr

SteamCMD Fedora 25 Failed to determine free disk space for ., error 75

steamopen SteamCMD
ValveSoftware/steam-for-linux#5180 · opened 2017-09-23 by dgibbs64 · updated 2019-07-24 · 9 comments · github
Ddgibbs64 2017-09-23 github

Your system information

  • Steam client version (build number or date): SteamCMD
  • Distribution (e.g. Ubuntu): Fedora 25
  • Opted into Steam client beta?: No
  • Have you checked for system updates?: Yes

Please describe your issue in as much detail as possible:

Unable to install SteamCMD on fedora 25. It looks like SteamCMD is unable to get the disk usage for the server. Maybe its using a command that isn't there in Fedora 25 or a new dependency needs to be installed that I am unaware of.

../tier1/fileio.cpp (3279) : Assertion Failed: Failed to determine free disk space for ., error 75
[----] Verifying installation...
[----] !!! Fatal Error: Steamcmd needs 250MB of free disk space to update.

Steps for reproducing this issue:

  1. Install SteamCMD on Fedora 25
Kkisak-valve maintainer 2017-09-23 github

Hello @dgibbs64, what filesystem is steamcmd being run from?

There's a decent chance this is the same issue being tracked at #4824.

Ccedarlug 2017-09-23 github

This happens when the storage is NFS (version 3) (which is @dgibbs64's situation).

An strace from the steamcmd.sh run from an nfs-mounted directory can be found here

The crux of the issue that shares a commonality with #4824 is at line 742:

[pid 17461] getcwd("/home/gadmin/data", 16384) = 18
[pid 17461] statfs64(".", 84, 0xf728356c) = -1 EOVERFLOW (Value too large for defined data type)
?ghost 2017-10-11 github

I could not do an strace at the time but I had similar issues on ZFS (same initial ../tier1/fileio.cpp (3279) : Assertion Failed: Failed to determine free disk space for ., error 75 message)

?ghost 2017-10-25 github

I have a ZFS volume mounted via NFS under an EXT4 filesystem for my SteamLibrary and get the 0 MB free problem.

From comments in #4982 and the post above from @cedarlug about setting disk quota, I found the quota needs to be 4T or less. This can be checked without restarting Steam.

On fileserver, set large quota:
sudo zfs set quota=5T storage/uploads

On Steam desktop when attempting game install:
../tier1/fileio.cpp (3279) : Assertion Failed: Failed to determine free disk space for /storage/uploads/Games/SteamLibrary, error 75

Set a 4T quota instead and disk space is determined correctly. Unfortunately my Steam library is pushing 4T, so will need to make an additional SteamLibrary volume or stop buying games... :astonished:

Aashkitten 2018-02-14 github

Just want to mention that I had to set a 2TB quota instead of 4TB :thinking:

BBiohZn 2018-08-10 github

I've got the same exact problem with Ubuntu 18.04 running zfs. Setting the quota to 2T solved it though.

TTBK 2018-10-21 github

I had error 75 with steamcms in a Docker container where the volumes are stored on a ZFS partition with no quota.

Setting a quota of 2TiB solved it.

sudo zfs set quota=2T zpool1/docker
Kkevinsnijder 2019-07-24 github

I know this is very old, but setting a quota of 2T is not really a fix, right? You should be able to have a larger quota. I have a 4T ZFS pool and I want to be able to use it all.

TTBK 2019-07-24 github

I know this is very old, but setting a quota of 2T is not really a fix, right? You should be able to have a larger quota. I have a 4T ZFS pool and I want to be able to use it all.

You are right, it is a work around.

Luckily there is an alternative to steamcmd - DepotDownloader from the SteamRE team. I have dropped steamcmd completely.

Nothing extracted yet.