ValveSoftware / steam-for-linux

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

[BUG] Can't update without uninstalling and reinstalling; "disk write error" #10890

Open CaptainD54321 opened 3 months ago

CaptainD54321 commented 3 months ago

Describe the bug Whenever an update releases for SteamVR, I cannot update it without uninstalling completely and then reinstalling the new version; if I try to just update steam always gives a "Disk Write Error".

System Information (please complete the following information): Please use the latest Steam beta client and SteamVR beta for your bug reports!

kisak-valve commented 3 months ago

Hello @CaptainD54321, the download and update of game content including SteamVR is handled by the Steam client, not SteamVR, so I've transferred this issue report to the steam-for-linux issue tracker.

kisak-valve commented 3 months ago

From content_log.previous.txt:

[2024-05-13 19:58:41] AppID 250820 starting commit from "/media/desmond/SP PHD U3/Games/SteamLibrary/steamapps/downloading/250820" to "/home/desmond/.local/share/Steam/steamapps/common/SteamVR" : 46 updated, 0 moved, 2 deleted files
[2024-05-13 19:58:41] AppID 250820 update canceled : File commit failed: failed to move in file (Disk write failure) "/home/desmond/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/libnrfserlib.so"
[2024-05-13 19:58:41] AppID 250820 update changed : Running Update,Committing,Stopping,
[2024-05-13 19:58:41] AppID 250820 update changed : Running Update,Stopping,
[2024-05-13 19:58:41] AppID 250820 update changed : None
[2024-05-13 19:58:41] AppID 250820 state changed : Update Required,Fully Installed,Update Queued,Files Missing,Update Started, (Disk write failure)
[2024-05-13 19:58:41] AppID 250820 state changed : Update Required,Fully Installed,Files Missing,Update Paused,Update Started,
[2024-05-13 19:58:41] AppID 250820 scheduler finished : removed from schedule (result Disk write failure, state 0x626)

It looks like your issue is coming from /media/desmond/SP PHD U3/Games/SteamLibrary/. What filesystem are you using with that secondary Steam library folder and is the partition healthy?

CaptainD54321 commented 3 months ago

@kisak-valve SP PHD U3 is an external hard drive that I use for bulk storage, including of games I'm not currently playing but don't want to redownload (hence the secondary library folder); it looks like its an NTFS partition. It is a somewhat old drive, but as far as I know still working fine; regardless, it's not the drive that SteamVR is installed on (SteamVR is in the default install folder in ~/.local/share, since it doesn't even let you install it anywhere else) and is not my main library folder, so it seems weird that steam is apparently trying to cache download data there; maybe steam is doing that because my main drive is pretty full (I only have about 10 GB free rn), so it decides to use the drive with more free space for caching files?

Fairlightish commented 3 months ago

Same issue on BTRFS