ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.24k stars 175 forks source link

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

Open dgibbs64 opened 7 years ago

dgibbs64 commented 7 years ago

Your system information

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
kisak-valve commented 7 years ago

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

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

cedarlug commented 7 years ago

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)
seanenck commented 7 years ago

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 commented 7 years ago

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:

ashkitten commented 6 years ago

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

BiohZn commented 6 years ago

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

TBK commented 6 years ago

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
kevinsnijder commented 5 years ago

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.

TBK commented 5 years ago

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.