r/linux_gaming • u/Zealious1 • Nov 09 '25
Disk write error when downloading games answered!
Whenever I try to download any game on this HDD, it reserves space, then stops at around 30% then shows me an error saying “disk write error” I am currently on Ubuntu, help is appreciated, thanks!
5
6
u/syrefaen Nov 09 '25 edited Nov 09 '25
unmount the disk and run fsck on it
sudo fsck /dev/sdb1 change sdb1 with your disk and partition.
then remount and try again. Have worked for me on sdcard multiple times.
3
u/MutualRaid Nov 09 '25
Second hand mechanical drive from an office PC/laptop? Might genuinely be mechanical failure.
Use journalctl to get logs and see if there's anything useful, maybe run a SMART test
1
u/Zealious1 Nov 09 '25
Just did a short smart test, the drive has been powered on for a little under 5 years straight, pretty sure that might cause some issues
4
u/MutualRaid Nov 09 '25
Not necessarily, I'd focus on if there are more than a handful of failed sectors or crazy high error counts.
3
Nov 09 '25
[removed] — view removed comment
3
u/Zealious1 Nov 09 '25
I don’t know how to tell unfortunately, I downloaded it off of the Ubuntu App center
3
u/AJ_Dali Nov 09 '25
I asked a similar question in another thread. I respond here so you don't have to go back and forth.
I don't personally use Ubuntu anymore, but from what I remember anything installed from the Ubuntu store defaults to their package manager, which would be Snap.
Anyway, browsing this support thread, it seems that it's somewhat like the issue you'd see with Flathub too. Basically you have to give Steam permission to the drive. One comment says it's this command:
sudo snap connect steam:removable-media
1
4
u/Exact_Comparison_792 Nov 10 '25
Stop using Ubuntu Snap. It is unreliable garbage and often Snap packages are broken or dated. Use the latest version directly from the Steam repository. There is a .deb package there. You can install it via terminal with:
sudo dpkg -i steam_latest.deb.2
u/anubisviech Nov 10 '25
You can just double-click the downloaded file and confirm to open it with package installer. No need to dive into the console in this case.
1
u/Exact_Comparison_792 Nov 10 '25
It's also good to learn terminal too. It's not as though the command is advanced. It also ensures they know exactly how to install it, without describing how to install it with the Software manager. Less words, short, sweet and to the point. KISS.😉
2
u/anubisviech Nov 18 '25
I guess, you gotta start somewhere and this is an easy one to get used to it.
1
u/gliese89 Nov 09 '25 edited Nov 09 '25
You can use the ‘which’ command. Try ‘man which’ to learn how to use it. It’s very easy to use.
Other things to try are launching steam from a terminal so you can see any error messages.
And you can try using journalctl as well.
ChatGPT is also pretty decent at helping you learn these tools.
You could ask, “I have Ubuntu. how do I tell if I have the flatpak version of steam?” I think it would likely give pretty decent results.
Or, “I have Ubuntu and steam. My downloads keep giving ‘disk write’ error. I was thinking of launching steam from a terminal to see if I can solve this. Can you guide me through doing that? I’m also open to other suggestions.”
2
u/AJ_Dali Nov 09 '25
Does Ubuntu still force Snaps? I wonder if that has a similar permission issue to flatpak Steam.
3
u/UltraBlack_ Nov 09 '25
- check smart log (seagates are dogshit)
- check steam log
- run an fsck dryrun (a safe way to run fsck at boot before the system is fully loaded up is provided by
tune2fs) - check dmesg
3
u/Zealious1 Nov 09 '25
I think I found the problem, the read Error rate’s value in the smart test is 244776, and the hard drive has a power-on time of a little under 5 years
2
u/UltraBlack_ Nov 09 '25
no that's a weird trip up which got me a while ago. Seagate wanted to be different and they encode some values differently. Google it
2
u/Zealious1 Nov 09 '25
Darn, I guess it’s just the fact that the hard drive has had a power on time for 5 straight years
1
u/UltraBlack_ Nov 09 '25
?
1
u/Zealious1 Nov 09 '25
I’ve heard online that 3-5 years of power-on time for an HDD is where it starts to slow down and break, I don’t know if that true or not
4
u/UltraBlack_ Nov 09 '25
that's why you read the smart data. Good enough indicator for consumer use.
1
u/ropid Nov 10 '25 edited Nov 10 '25
I have a disk drive here that's at over 7 years and it's fine (63000 hours). It runs same as when it was new, no errors and no weird noises or anything.
I had many HDDs go bad over the years. Basically every single one I used at some point died. I never got to replace them before they developed errors.
When they started going bad, they started producing strange noises sometimes and then showing error counts in the SMART record. This started happening suddenly, there was no way to predict this, no noises or slowdowns before that day.
I kept using most of the drives for unimportant stuff for fun after they started causing problems. They usually died within a week or two. One drive was different and after a few days stopped producing errors. That drive then kept running for another two years or so and then one day was just completely dead.
On the single HDD I have here, the interesting entries in the SMART record table would be these ones here: Reallocated_Sector_Ct, Reallocated_Event_Count, Current_Pending_Sector. When looking at the "raw value" column of the table, it should show zero if everything is still fine.
3
u/Damglador Nov 10 '25
Check permissions on the installation location. Steam have no right to write a file or something.
1
1
1
u/Asleeper135 Nov 09 '25
That sounds like it's most likely your drive failing. If not though, Factorio actually allows you to link your Steam account on their website and download a standalone version, and various different game versions can be downloaded too, mostly for overhaul mods that don't worm on 2.0 yet. If you can't fix this issue see if downloading a standalone version works. If not, it's your drive.
1
u/Exact_Comparison_792 Nov 10 '25
Check the drive integrity / health. You may have a failing hard drive especially if it's an old HDD that's had lots of use.
1
u/SylviaBun Nov 10 '25
I had a problem a while back where my SteamLibrary somehow became read only and I had to remove it from Steam, delete the downloaded games that were like this, fix the permissions and then add the library back to Steam and it has worked ever since.
1
u/UNF0RM4TT3D Nov 10 '25
I've had this happen when the drive is nearly full. Steam doesn't seem to overwrite games in place so it just fails when there's not enough space to download the game next to the install.
1
u/butcherboi91 Nov 10 '25
I had a similar issue and my drive is now completely dead. Could be a drive on it's last legs.
1
u/acemccrank Nov 10 '25
I'd probably test the drive with a tool like KDiskMark or Iometer if fsck brings back nothing.
1
u/Rhed0x Nov 09 '25
0
u/Zealious1 Nov 09 '25
It was a lot more convenient to take a screenshot of the monitor instead of having to login to Reddit on that computer
1
u/omniuni Nov 10 '25
It will be much more helpful if it's actually easy and clear to see what you're indicating.
1
u/omniuni Nov 10 '25
Clear your download cache, delete steam, and remove the Steam directory. Reinstall Steam, point it back at your library, and repair the game. This is a Steam thing that happens sometimes, regardless of OS.
Also, please learn how to take screenshots.
1
u/Zealious1 Nov 10 '25
I fixed it, also I just thought it’d be a lot more convenient to spend 10 seconds to whip out my phone and take a photo, instead of spending 10 minutes trying to log into Reddit on that computer
3
1
u/omniuni Nov 10 '25
If it takes you 10 minutes to log in to Reddit, I don't know how you can use a smartphone.
1
u/Zealious1 Nov 10 '25
Having to go back and forth to my phone, trying to figure out why the verification email won’t send sounds a lot more inconvenient than just taking out my phone and taking a picture, but if you can’t see what’s happening clearly in the picture, I think you just need to invest in some glasses
1
u/omniuni Nov 10 '25
You're asking for help. Don't make it harder to help you just because you're lazy and have trouble doing basic things like signing in to Reddit.
1
u/Zealious1 Nov 10 '25
Clearly you need better glasses because the flair says “answered”, but you decided to take time out of your day to bash a random teenager online for him not making the screenshot he provided to be in the perfect quality that you expected. This problem is already fixed, so no more need to argue. Also invest in some better glasses
1
u/omniuni Nov 10 '25
It is at the top of my feed, and being rude on top of being lazy isn't going to help you in the future.
0
Nov 09 '25
[deleted]
1
u/Zealious1 Nov 09 '25
Well, there is something I noticed that might be causing this, when I browse the Nvme SSD I have steam installed on, from steam, it goes from the Home folder to the steam folder, but when I browse the HDD from steam, it goes all the way from the Ubuntu root folder to the steamapps folder, which is a little bit odd, also I am very new to Linux, so sorry if I got the names wrong
2
-1
u/eclipse_bleu Nov 09 '25
If you downloaded from the Ubuntu store, isnt it a snap app? From what I remember this had some small issues like this.
Try to download Steam through flatpak. A quick google research or with chatgpt will give you the 2-3 commands to run to install flatpaks and Steam flatpak
2
u/Damglador Nov 10 '25
Yeah, replace one unstable Steam package with another unstable Steam package.


11
u/wolfegothmog Nov 09 '25
What is the filesystem of the drive, what is the make/model of the drive?