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
52 Replies
I have noticed I cannot make a folder on the drive either
post your
/etc/fstab
I tried?
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
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
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
try pasting the contents using
like this`but 3 of ` before and after to capture the whole block
Ok, I’ll install discord on the ally then I copied that to fbmessenger then pasted from an iPhone
the ` character is annoying to enter on an iPhone, so I made a keyboard shortcut to replace ,,, with ```
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 😅My giving the drive permissions thing didn’t work 🙄
under
/mnt/games/steamapps/
delete the contents of the downloading
and temp
folders
and maybe restartI don’t have those folders
wherever the games would be installed on
/mnt/games/
then.../SteamLibrary/steamapps/
Only files here are ones windows created, do you mean the library on the os drive?
on whatever drive this is sent to
Deleted and restarting
Same thing
I tried deleting and adding the drive again and got a new error
How do I make a folder executable?
chmod +x
but before that can you run ll /mnt/games
and ll /mnt/games/SteamLibrary
?first line, missing a space. second line, folders are case sensitive
Fixed, had to add the spaces you mentioned and var
you don't need
/var
looks like all of those folders are owned by nfsnobody
folders are still case sensitive
So… I’m new to Linux, how are folders owned? I don’t get it
My bad
SteamLibrary
!= steamlibrary
I have no idea why they are being owned by
nfsnobody
, but let's change that
good chance that's your issueOk, how do I do that?
Is it the” sudo chmod +x /mnt/games “ ?
Solution
sudo chown -R $(id -u):$(id -g) /mnt/games/SteamLibrary
start with thisthis 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
flagSounds good I ran that command
I’ll try steam again
Dude that you so much
It just detected my windows library
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
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
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
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
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
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
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
because it is a manual job they cant automate with that driver install because everyones permission setup is different for the drives