Skip to content

Wrong available disk space displayed #3881

Open

Description

@MightyCreak

Hi!

I've moved my SteamApps directory to another place on my SSD drive, and then created a symbolic link to this directory, like this:

cd ~/.local/share/Steam && ln -s /fastdrive/SteamApps

But now in Steam, when I want to install a new game, the available disk space is wrong. It shows the available disk space of ~/.local/share/Steam instead of ~/.local/share/Steam/SteamApps.

Here is the output of df -h for each directory:

$ df -h ~/.local/share/Steam/
Filesystem      Size  Used Avail Use% Mounted on
/dev/sdb5       827G  501G  284G  64% /home

$ df -h ~/.local/share/Steam/SteamApps 
Filesystem                    Size  Used Avail Use% Mounted on
/dev/mapper/fedora-fastdrive  172G   83G   81G  51% /fastdrive

I tried to chose a different directory in the dropdown list, but it says I don't have the rights, which is weird since the directory has more rights than ~/.local/share/Steam (755 vs 705). But well, that's another story.

Activity

  1. jurf commented on Oct 1, 2018

    @jurf

    Yeah, encountered this too, Steam should really df inside steamapps, not the parent directory, when installing games.

  2. nanonyme commented on Oct 1, 2018

    @nanonyme

    Just checking: so you did actually --filesystem=/fastdrive/SteamApps and link it inside the Flatpak container, right? (imo it's to be honest better idea to add it as a Steam library through client than to add symlinks)

  3. jurf commented on Oct 1, 2018

    @jurf

    In my case there were no symlinks involved, but it’s the same issue, symlink or not.

  4. DDoctorzeus commented on May 3, 2023

    @DDoctorzeus

    For me I have 100GB less than is available (not sure if this is an intentional safety mechinism. No symlinks other than the default created one for $HOME/.steam/steam -> $HOME/.local/share/Steam . Not sure if this is an intentional "feature"..

  5. har7an commented on Dec 8, 2024

    @har7an

    Can we please have an option to entirely disable or ignore this up-front free space check? I deliberately chose to mount steamapps/common and steamapps/downloading from a separate drive, because that uses another FS than my main host with different mount options set. I do not want the other subfolders from steamapps/ on that same disk though, because I'd like to snapshot these along with my hosts rootfs so I don't lose savegames any more (stored in steamapps/compatdata, for example) because in the past the cloud sync has deleted a bunch of files I held very dear in fact.

    Given the amount of modern file systems out there (XFS, Btrfs, ZFS, you name it...), I feel like the assumptions you're making about free space being available don't hold any more. If df tells me there are x GB available, there may well be more space in reality due to compression or reflinks (for example).

    I think it'd be fair if you warned users that their storage may be insufficient, but outright disabling installation in that case is too harsh IMO.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions