-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Steam on Linux can not validate data on ZFS filesystem #2533
Comments
I tried moving Steam library to an ext4 filesystem, then revalidation worked; I moved it back, and the erroneous behaviour reinstated. Apart from this manual revalidation issue Steam works fine on ZFS, except that maybe Steam beta updates itself too often, but I switched back to stable and do not have conclusive evidence. By "move" I mean |
When it did work for you on ext4, was that using a symlink for ~/.local/share/Steam? |
Yes, the command above moved from ZFS home to ext4 root and symlinked it back. (However, Steam client resolves the symlink, so that in Settings > Downloads > Steam Library Folders it then said "/Steam". To move from ext4 to the second ZFS partition I had to do P.S. I am on beta channel and Steam client does not download updates more often than they come out. So the problem only affects manual verification of game data. |
Same for me. Manual verification of Cave Story failed for all files, steam re-downloads them. Using ZFS on all hard drives and partitions. |
This may be related, I have the same symptoms mounting an ntfs partition(using ntfs-3g in /etc/fstab). A symbolic link to ext3/4 verifies the files properly, but when on ntfs, all files are invalidated and re-downloaded. I used World of Goo to test with, but this also seemed to interfere with the installation of X3: Albion Prelude, which uses many of the same files of X3:Terran Conflict, and would invalidate them prior to installing X3AP on top of X3TC. I mounted the partition with ntfs-3g as instructed in the knowledgebase article, I tested it with the exact options specified. (https://support.steampowered.com/kb_article.php?ref=7611-FHLZ-4319) |
Damn still not fixed?, I'm having the same issue but with SteamCMD |
I just hit this bug as well. Reverted the files from snapshots and all worked again.
|
what do you mean you reverted? Just so you didn't have to redownload them? |
Yup restored from snapshot so i didn't have to download again |
Well, looks like o_direct may get into ZoL in 0.6.5 now and hopefully 'soon'. This seems to be the source of the problem. |
looks like O_DIRECT has been bumped to the zfsonlinux 0.70 milestone on 2015-07-17 openzfs/zfs#2872 (comment) FYI, I just tested this with Papers, Please on ZFS v0.6.5.2 - all files failed to validate and were re-downloaded. I'd hate to have that happen with 40+GB of Middle Earth: Shadow of Mordor. is there any movement on this issue on the Steam side? A "quick and dirty fix" would be to check if O_DIRECT is supported and disable validation (or at least pop up a warning and confirmation dialog box) if it isn't. |
Don't use O_DIRECT. It does NOT have a performance advantage. |
Same as #2515, the latest Steam client beta should fix this. |
Looks fine to me. After following directions on https://wiki.ubuntu.com/Kernel/Reference/ZFS on my Ubuntu 15.10 laptop (same system as over here), I've made a ZFS pool and filesystem with a 8GB USB stick that was already empty. Moved the files on to ZFS and symlinked Much like #2515, I'm feeling that this is a closed case. |
cool, tested here, verified all my games steam package version 1452297105 |
Sweet as feel free to close this
|
Thanks, closing. |
When Steam library directory is stored on a ZFS filesystem (mounted with zfsonlinux in-kernel drivers), revalidating game data (Game properties -> Local files -> Verify integrity of game cache) immediately declares all files invalid without checking and proceeds to redownload them again.
The text was updated successfully, but these errors were encountered: