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
stderr":"xfs_growfs: XFS_IOC_FSGROWFSDATA xfsctl failed: No space left on device\n" #349
Comments
I mean, its there and mounted ok
Though it just looks like the csi driver tries to run xfsgrow on it and fails |
Filesystem grow operations are attempted by democratic-csi every time a volume is 'staged' on a node. Was that an intermittent issue? Seems pretty odd.. |
Unfortunately it is occurring every time, but only to certain nodes, and only certain pods on those certain nodes. I'm currently working around it by switching to ext4 since I don't see those grow operations in https://github.com/democratic-csi/democratic-csi/blob/master/src/utils/filesystem.js#L728 and things are ok. I will say between my homelab and colo cluster, the nodes that have been affected have admittedly been through forceful power operations. |
I tried checking if this was related by manually moving files to /tmp and back and restarting the pod, but to no success https://xfs.org/index.php/XFS_FAQ#Q:_Why_do_I_receive_No_space_left_on_device_after_xfs_growfs.3F |
Hmm, was there an unclean shutdown or something? As any FYI ext4 also resizes upon mount, that code simply does the same thing for ext3, 4, and 4dev. |
Unclean, yes. Though the files are still there so there was no data corruption as far as I can tell. |
Can you do a |
This has also happened on arch on kernel kernel 6.5.8-arch1-1 and 6.1.54-1-lts |
Agh my photoprism pods have the same issue as of late. I did not force restart. This node had to go through a few clean restarts to get an amd graphics driver working for rocm.
So the issue now triggers with |
Any update on this? I'm migrating to etcd so far with success. Seems to be some issue with the xfs growfs. It's broken multiple clusters of mine. |
Hello, Got the exact same issue. It happens with brand new volumes. I run K3S on raspberry pies with the latest democratic-csi (v1.8.4):
I also take the opportunity to thank you for the democratic-csi driver. It's really like I have my own datacenter at home and I have quiet some fun. |
Does this help at all: https://superuser.com/questions/816627/xfs-incorrect-statement-of-no-space-left-on-device As an FYI, ext4 also does a grow operation each mount as well. |
I experimented a bit more. Now xfs_grow does not complain anymore. Not sure to understand exactly what it changed... |
To be clear that would only impact new volumes, did you delete and recreate the volume for testing? |
Yes it's what I did. I changed the extentBlocksize setting and then I deleted and recreated the volume again. |
Not sure how exactly this is happening or what the source of the issue is, but kubelet is reporting no space left on devic when trying to mount this zfs iscsi pod against a truenas scale pool. Plently of space in the pool, zvol and node. Not sure what's going on here.
The text was updated successfully, but these errors were encountered: