Getting “disk write error” on games btrfs partition, windows can access and write to the drive

So I have dual boot setup with windows on my rog ally, it’s been a pain to install mostly with windows related issues and I accidentally deleted my original 3tb game partition. My goal was to install the games in windows and be able to run them from the ally, just to make organizing easier between games that don’t run on Linux. My first issue is I can’t get steam to locate the steam library folder windows created when I click on add drive and point to the folder it just goes back to var/mnt/games 🙄, figured whatever I’ll just install steam stuff from bazzite. I was able to add a non steam game and run it off this drive, I went to install metro from steam os and got a write error ( pictured below ) Anyways windows with a driver from GitHub is able to write to my 3tb btrfs game partition but steam is giving me disk write errors Any help would be appreciated, I have been trying to get this to work for 16 hours now. as a windows person my whole life I’m getting tired of nothing I try to do working lol
No description
No description
No description
No description
Solution:
sudo chown -R $(id -u):$(id -g) /mnt/games/SteamLibrary start with this...
Jump to solution
52 Replies
ialsofuckedyourdadelzincho
I have noticed I cannot make a folder on the drive either
No description
termdisc
termdisc2mo ago
post your /etc/fstab
ialsofuckedyourdadelzincho
I tried?
No description
termdisc
termdisc2mo ago
just open it in a text editor and paste its contents here it's a text file not an executable cat /etc/fstab or nano /etc/fstab
ialsofuckedyourdadelzincho
Ohhhh gotcha sorry I’m new at this Should mention I tried giving permissions on that drive by running sudo chmod ugo+rwx /var/mnt/games I can now make folders on the drive. I’ll do what you said now I did that before I saw your comment sorry
ialsofuckedyourdadelzincho
Is that what you needed? /etc/fstab Created by anaconda on Sat Nov 9 18:18:35 2024 Accessible filesystems, by reference, are maintained under '/dev/disk/'. See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. After editing this file, run 'systemctl daemon-reload' to update systemd units generated from this file. UUID=a69ad0f6-e15d-4025-a0f8-e7e3a6e57af2 / btrfs subvol=00,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0 UUID=651b1519-b444-4e46-ae45-accdd4002365 /boot ext4 defaults 1 2 UUID=651A-E847 /boot/efi vfat umask=0077,shortname=winnt 0 2 UUID=a69ad0f6-e15d-4025-a0f8-e7e3a6e57af2 /var btrfs subvol=01,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0 UUID=a69ad0f6-e15d-4025-a0f8-e7e3a6e57af2 /var/home btrfs subvol=02,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0 /dev/nvme0n1p6 /var/mnt/games btrfs lazytime,commit=120,discard=async,compress-force=zstd:3,space_cache=v2,rw,exec,noatime,nofail 0 0
Chris
Chris2mo ago
try pasting the contents using like this`
termdisc
termdisc2mo ago
but 3 of ` before and after to capture the whole block
ialsofuckedyourdadelzincho
Ok, I’ll install discord on the ally then I copied that to fbmessenger then pasted from an iPhone
termdisc
termdisc2mo ago
the ` character is annoying to enter on an iPhone, so I made a keyboard shortcut to replace ,,, with ```
ialsofuckedyourdadelzincho
i just installed dischord on the ally one sec "Josh@bazzite:~$ cat /etc/fstab /etc/fstab Created by anaconda on Sat Nov 9 18:18:35 2024 Accessible filesystems, by reference, are maintained under '/dev/disk/'. See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. After editing this file, run 'systemctl daemon-reload' to update systemd units generated from this file. UUID=a69ad0f6-e15d-4025-a0f8-e7e3a6e57af2 / btrfs subvol=00,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0 UUID=651b1519-b444-4e46-ae45-accdd4002365 /boot ext4 defaults 1 2 UUID=651A-E847 /boot/efi vfat umask=0077,shortname=winnt 0 2 UUID=a69ad0f6-e15d-4025-a0f8-e7e3a6e57af2 /var btrfs subvol=01,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0 UUID=a69ad0f6-e15d-4025-a0f8-e7e3a6e57af2 /var/home btrfs subvol=02,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0 /dev/nvme0n1p6 /var/mnt/games btrfs lazytime,commit=120,discard=async,compress-force=zstd:3,space_cache=v2,rw,exec,noatime,nofail 0 0 Josh@bazzite:~$ 'Josh@bazzite:~$ cat /etc/fstab /etc/fstab Created by anaconda on Sat Nov 9 18:18:35 2024 Accessible filesystems, by reference, are maintained under '/dev/disk/'. See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. After editing this file, run 'systemctl daemon-reload' to update systemd units generated from this file. UUID=a69ad0f6-e15d-4025-a0f8-e7e3a6e57af2 / btrfs subvol=00,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0 UUID=651b1519-b444-4e46-ae45-accdd4002365 /boot ext4 defaults 1 2 UUID=651A-E847 /boot/efi vfat umask=0077,shortname=winnt 0 2 UUID=a69ad0f6-e15d-4025-a0f8-e7e3a6e57af2 /var btrfs subvol=01,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0 UUID=a69ad0f6-e15d-4025-a0f8-e7e3a6e57af2 /var/home btrfs subvol=02,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0 /dev/nvme0n1p6 /var/mnt/games btrfs lazytime,commit=120,discard=async,compress-force=zstd:3,space_cache=v2,rw,exec,noatime,nofail 0 0 Josh@bazzite:~$ Josh@bazzite:~$ cat /etc/fstab # # /etc/fstab # Created by anaconda on Sat Nov 9 18:18:35 2024 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=a69ad0f6-e15d-4025-a0f8-e7e3a6e57af2 / btrfs subvol=00,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0 UUID=651b1519-b444-4e46-ae45-accdd4002365 /boot ext4 defaults 1 2 UUID=651A-E847 /boot/efi vfat umask=0077,shortname=winnt 0 2 UUID=a69ad0f6-e15d-4025-a0f8-e7e3a6e57af2 /var btrfs subvol=01,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0 UUID=a69ad0f6-e15d-4025-a0f8-e7e3a6e57af2 /var/home btrfs subvol=02,noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2 0 0 /dev/nvme0n1p6 /var/mnt/games btrfs lazytime,commit=120,discard=async,compress-force=zstd:3,space_cache=v2,rw,exec,noatime,nofail 0 0 Josh@bazzite:~$ finally got it 😅
ialsofuckedyourdadelzincho
My giving the drive permissions thing didn’t work 🙄
No description
termdisc
termdisc2mo ago
under /mnt/games/steamapps/ delete the contents of the downloading and temp folders and maybe restart
ialsofuckedyourdadelzincho
I don’t have those folders
termdisc
termdisc2mo ago
wherever the games would be installed on /mnt/games/ then
termdisc
termdisc2mo ago
.../SteamLibrary/steamapps/
ialsofuckedyourdadelzincho
Only files here are ones windows created, do you mean the library on the os drive?
termdisc
termdisc2mo ago
on whatever drive this is sent to
ialsofuckedyourdadelzincho
Deleted and restarting
ialsofuckedyourdadelzincho
Same thing
No description
ialsofuckedyourdadelzincho
I tried deleting and adding the drive again and got a new error
ialsofuckedyourdadelzincho
How do I make a folder executable?
termdisc
termdisc2mo ago
chmod +x but before that can you run ll /mnt/games and ll /mnt/games/SteamLibrary?
termdisc
termdisc2mo ago
first line, missing a space. second line, folders are case sensitive
ialsofuckedyourdadelzincho
Fixed, had to add the spaces you mentioned and var
termdisc
termdisc2mo ago
you don't need /var looks like all of those folders are owned by nfsnobody
termdisc
termdisc2mo ago
folders are still case sensitive
ialsofuckedyourdadelzincho
So… I’m new to Linux, how are folders owned? I don’t get it My bad
termdisc
termdisc2mo ago
No description
termdisc
termdisc2mo ago
SteamLibrary != steamlibrary
termdisc
termdisc2mo ago
I have no idea why they are being owned by nfsnobody, but let's change that good chance that's your issue
ialsofuckedyourdadelzincho
Ok, how do I do that? Is it the” sudo chmod +x /mnt/games “ ?
Solution
termdisc
termdisc2mo ago
sudo chown -R $(id -u):$(id -g) /mnt/games/SteamLibrary start with this
termdisc
termdisc2mo ago
this will set just your Steam library folder to be owned by you, the user I think nfsnobody is a byproduct of the win btrfs driver now that I think about it not quite. your folders already have the x flag
ialsofuckedyourdadelzincho
Sounds good I ran that command I’ll try steam again Dude that you so much It just detected my windows library
termdisc
termdisc2mo ago
you might need to repeat this later on the non-steam or roms folders but play that by ear good on you as well for sticking with it
ialsofuckedyourdadelzincho
thanks! honestly the amount of issues i have been haviung with microsoft software has been pushing me away so im trying my best to not use windows
termdisc
termdisc2mo ago
been there. soon you'll lessen your drive to play those games the require windows my stance is that if a dev doesn't want me to play their game, I won't
ialsofuckedyourdadelzincho
Yea, Ill keep windows around right now for call of duty but I think that driver was causing the issues because I can’t write to it from windows anymore. Oh well not too upset about that
HikariKnight
HikariKnight2mo ago
You need to correctly setup the user permission mapping for btrfs in windows to avoid this issue again. You have the wrong mappings so windows will keep messing up the permissions until you fix it. When you add the user and group mappings you want the dword value to be decimal 1000 for both
ialsofuckedyourdadelzincho
I just clicked a driver and it messed it up idk, I just decided to not mess with this drive in windows. I have 500gb set aside for windows stuff which so far is just call of duty so I’m not to stressed about it Also I have no idea how to alter the driver to not do that, I just double clicked a thing and the driver installed without any gui
HikariKnight
HikariKnight2mo ago
https://github.com/maharmstone/btrfs?tab=readme-ov-file#mappings explained here in the hmmm readme under "Mappings"
GitHub
GitHub - maharmstone/btrfs: WinBtrfs - an open-source btrfs driver ...
WinBtrfs - an open-source btrfs driver for Windows - maharmstone/btrfs
HikariKnight
HikariKnight2mo ago
because it is a manual job they cant automate with that driver install because everyones permission setup is different for the drives
Want results from more Discord servers?
Add your server