[Bug 43644] New: Disk free space incorrect on file systems with more than 2TB free
https://bugs.winehq.org/show_bug.cgi?id=43644 Bug ID: 43644 Summary: Disk free space incorrect on file systems with more than 2TB free Product: Wine Version: 2.0.2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs(a)winehq.org Reporter: mikeonthecomputer(a)gmail.com Distribution: --- Created attachment 59070 --> https://bugs.winehq.org/attachment.cgi?id=59070 cmd.exe from Windows 7 and Wine facing a large volume Wine reports an absurdly inaccurate free space count on file systems with more than 2TB free on them (possibly an overflow issue?), and certain applications such as Steam believe there is insufficient space for them to update or install. Windows 7 at least is OK with these large volumes and Steam operates correctly on them. Wine should match behavior. Attaching screenshots of the Windows and Wine consoles. In the Wine example, I made a ZFS file system and first set the quota to 2048G (this is the maximum size reported on Unix for the FS), and then to 2049G. In this example, 2049G free made Wine report over 4EB! On an unquota'd file system, I have around 3TB free and Wine reports 17EB instead. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43644 Alex Henrie <alexhenrie24(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alexhenrie24(a)gmail.com --- Comment #1 from Alex Henrie <alexhenrie24(a)gmail.com> --- Created attachment 59170 --> https://bugs.winehq.org/attachment.cgi?id=59170 statvfs hack Does this patch help? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43644 --- Comment #2 from Mike Swanson <mikeonthecomputer(a)gmail.com> --- hey, sorry it took me so long to get back, but no, the patch doesn't help. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43644 tokktokk <fdsfgs(a)krutt.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs(a)krutt.org -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43644 Mike Swanson <mikeonthecomputer(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Mike Swanson <mikeonthecomputer(a)gmail.com> --- This bug is old and no longer valid. Wine 4.x does not have issue with >2TB free space. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43644 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|kernel32 |-unknown CC| |focht(a)gmx.net --- Comment #4 from Anastasius Focht <focht(a)gmx.net> --- Hello Mike, you most likely had a broken Linux distro at the time of the bug report = upstream. I can't reproduce this problem with Wine 2.0.2 (version from this ticket) or even much older ones on my Fedora 28 system. ZFS pool on 8TB disk: --- snip --- $ zfs list NAME USED AVAIL REFER MOUNTPOINT testdata 524K 7.04T 100K /testdata testdata/fs1 100K 7.04T 100K /testdata/fs1 --- snip --- Wine 2.0.2: --- snip --- $ (export PATH=~/projects/wine/mainline-install-2.0.2-x86_64/bin/:$PATH && export WINEPREFIX=~/test && rm -rf $WINEPREFIX && wineboot && ln -sf /testdata/fs1/ "$WINEPREFIX/dosdevices/d:" && wine cmd.exe /c dir "d:") wine: created the configuration directory '/home/focht/test' wine: configuration in '/home/focht/test' has been updated. Volume in drive d has no label. Volume Serial Number is 0000-0000 Directory of d: 12/9/2019 9:55 AM 0 testfile 1 file 0 bytes 0 directories 7,738,993,410,048 bytes free --- snip --- Wine 1.4: --- snip --- $ (export PATH=~/projects/wine/mainline-install-1.4-x86_64/bin/:$PATH && export WINEPREFIX=~/test && rm -rf $WINEPREFIX && wineboot && ln -sf /testdata/fs1/ "$WINEPREFIX/dosdevices/d:" && wine cmd.exe /c dir "d:") wine: created the configuration directory '/home/focht/test' wine: configuration in '/home/focht/test' has been updated. Volume in drive D has no label. Volume Serial Number is 0000-0000 Directory of D: 12/9/2019 9:55 AM 0 testfile 1 file 0 bytes 0 directories 7,738,993,410,048 bytes free --- snip --- Wine 1.6.2: --- snip --- $ (export PATH=~/projects/wine/mainline-install-1.6.2-x86_64/bin/:$PATH && export WINEPREFIX=~/test && rm -rf $WINEPREFIX && wineboot && ln -sf /testdata/fs1/ "$WINEPREFIX/dosdevices/d:" && wine cmd.exe /c dir "d:") wine: created the configuration directory '/home/focht/test' wine: configuration in '/home/focht/test' has been updated. Volume in drive D has no label. Volume Serial Number is 0000-0000 Directory of D: 12/9/2019 9:55 AM 0 testfile 1 file 0 bytes 0 directories 7,738,993,410,048 bytes free --- snip --- Maybe you could fill the distro field and provide the exact distro release/kernel version if you remember these details to remedy this a bit. --- snip --- $ uname -a Linux n550 5.0.16-100.fc28.x86_64 #1 SMP Tue May 14 18:22:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux --- snip --- Regards -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43644 --- Comment #5 from Mike Swanson <mikeonthecomputer(a)gmail.com> ---
Maybe you could fill the distro field and provide the exact distro release/kernel version if you remember these details to remedy this a bit.
It was Arch Linux at the time (and remains so as I marked it solved). Distro release doesn't exist with it, at least. Kernel was likely 4.13.x at that time. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43644 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #6 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 5.0-rc1. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla