-
Notifications
You must be signed in to change notification settings - Fork 275
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
ZFS File System - Fatal Error: Steamcmd needs 250MB of free disk space to update. #275
Comments
If the error is being thrown by Steam and you're sure it is because of the filesystem there's literally nothing we can do then. I just tested on a local system and had no issues so doesn't seem to be a general ZFS incompatibility. Was hoping I could reproduce your error to test the quota workaround.
And it sees the data available to the FS inside the container.
But this is on a Fedora Server with ZFS manually installed, not a QNAP appliance. |
This is what it looks like within the container. (Yep that's 56TB available) root@6f88325b9567:/# df -h I have one more QNAP server that doesn't use ZFS and I am going to try the exact same config to get a second confirmation one way or the other. The path within the NAS looks very different to the ones seen by applications running on it and what's seen within container station. Container station shows the volumes as : On File manager it tells me the two volumes are located here. I'll get back to you by tomorrow with a test on my final QNAP device. Thanks for your help. |
I found some time today and did the test. Worked first time with same config file on a Non-ZFS based QNAP device. |
Were you able to test what that Google search suggested? Create a valheim ZFS and put like a 10G quota on it.
So I guess if your zfs is called In addition you could also try |
I'll give it a go. There isn't an obvious |
I use ZFS, using a privileged LXC container with host mounts so it's nice and exposed by the time it gets to docker. Can you do a touch to the files? Just to make sure you're getting the right permissions there? |
I can't speak English, so I'll use a translator. |
@diablotf were you able to find a solution? |
Unfortunately not. I've rebooted, and reinstalled container station on the QNAP. No joy. Works immediately on the non-ZFS one. I can't mess around with too much more as it's a production device. Appreciate all the help. |
@diablotf I see. I am extending the README with the information you were able to find. Could you do one last test? What happens if you don't mount |
Added the workaround to the README. Closing this issue as there's nothing more we can do from the container side. If anyone finds new information please open a new issue so we can help others when they encounter this problem. |
My first ever issue reported on Github.
Using Container Station on QNAP with a ZFS file system I get the error below.
A second Container Station on QNAP works perfectly with the exact same config file. Literally copy and pasting it.
Only difference between the two is the filesystem.
/config and /opt/valheim are created without issues. Even the /tmp/dump files are created. There are no space restrictions on the container.
Error Messages:
Mar 27 00:30:01 /supervisord: valheim-updater [----] Verifying installation...
Mar 27 00:30:01 /supervisord: valheim-updater [ 0%] Downloading update...
Mar 27 00:30:01 /supervisord: valheim-updater statvfs64: ret -1 errno 75
Mar 27 00:30:01 /supervisord: valheim-updater f_bsize : 0
Mar 27 00:30:01 /supervisord: valheim-updater f_frsize: 0
Mar 27 00:30:01 /supervisord: valheim-updater f_blocks: 0
Mar 27 00:30:01 /supervisord: valheim-updater f_bfree : 0
Mar 27 00:30:01 /supervisord: valheim-updater f_bavail: 0
Mar 27 00:30:01 /supervisord: valheim-updater src/tier1/fileio.cpp (3785) : Assertion Failed: statvfs64 failed for ., errno 75
Mar 27 00:30:01 /supervisord: valheim-updater Execute: /root/.steam/root/ubuntu12_64/disk-free . >/tmp/disk-free.nfiLRn
Mar 27 00:30:02 crash_20210327003001_4.dmp[243]: Finished uploading minidump (out-of-process): success = yes
Mar 27 00:30:02 crash_20210327003001_4.dmp[243]: response: Discarded=1
Mar 27 00:30:02 crash_20210327003001_4.dmp[243]: file ''/tmp/dumps/crash_20210327003001_4.dmp'', upload yes: ''Discarded=1''
2021-03-27 00:30:02,876 INFO reaped unknown pid 243 (exit status 0)
Mar 27 00:30:02 /supervisord: valheim-updater src/tier1/fileio.cpp (3815) : Assertion Failed: disk-free command failed
Mar 27 00:30:02 /supervisord: valheim-updater
Mar 27 00:30:02 /supervisord: valheim-updater [ 0%] !!! Fatal Error: Steamcmd needs 250MB of free disk space to update.
Mar 27 00:30:02 /supervisord: valheim-updater src/tier0/threadtools.cpp (3553) : Assertion Failed: Illegal termination of worker thread 'Thread(0x0x58a1d8f0/0x0xf7780b'
Mar 27 00:30:02 /supervisord: valheim-updater ERROR - Failed to download Valheim server from Steam - retrying later - check your networking and volume access permissions
Config File
version: '3'
services:
valheim:
image: lloesche/valheim-server
cap_add:
volumes:
ports:
environment:
restart: always
stop_grace_period: 2m
volumes:
valheim_config:
valheim_opt:
Been searching around but not come across any fixes short of someone installing Docker in another fashion on another device.
Thanks for any help.
The text was updated successfully, but these errors were encountered: