-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
NFS Kernel Freeze BUG: Dentry still in use ... (1) [unmount of zfs zfs] #5810
Comments
I'm willing to test if you can provide instructions how to compile and install the patched kernel modules. After the crash I downgraded zfs-dkms to v0.6.5.7, and the server hasn't crashed after 8 days. However, NFS load has not been very high. It's a difficult bug to reproduce, but I'm happy to compile and install your patched code on a less critical server for functionality testing, and later schedule a reboot of our primary NFS server for testing. Thanks for the quick response. The patch looks very promising! |
If you're using dkms, you should be able to find the zfs source in |
Thanks. I compiled and installed the patched zfs module on another Debian server (which doesn't run NFS) and have not hit any problems yet. I have to schedule downtime to test it on our main NFS server. I will update here after that is done. |
Our main NFS server is running zfsonlinux v0.6.5.9 with patch #5833. I'll update this issue after a couple weeks, or earlier if our server crashes. |
The patched ZFS doesn't allow mounting snapshots over NFS. From an NFS client I can |
@dbakken |
I don't know. We restarted the server and are now running zfs-dkms v0.6.5.9 without the patch. Snapshot directories are auto-mounting over NFS again. |
Can you help test it in a similar setting? |
I tested with another server, and was able to auto-mount snapshots. Maybe I should have restarted the NFS server or client the first time? Unfortunately I'm unable to test the patch on our primary server as it needs to be online now. |
Which versions of zfs on linux include this fix? Was it ever released in the 0.6.5.X branch? |
This fix was only applied to the 0.7 releases since it was a significant change in behavior and would have been disruptive. |
System information
Distribution Name | Debian
Distribution Version | Jessie 8.7
Linux Kernel | 3.16.0-4
Architecture | amd64
ZFS Version | 0.6.5.8
SPL Version | 0.6.5.8
Server: Supermicro SSG-2028R-ACR24L/X10DRH-iT, BIOS 2.0a
CPU: 2x Xeon E5-2695 v4 2.1GHz (18cores/36threads)
Memory: 512GB Registered ECC DDR4 2133MHz
Disks: 24x Samsung Enterprise SSD MZ7LM3T8 (4TB)
HBA: 3x LSI SAS3008 FWVersion(12.00.02.00), ChipRevision(0x02), BiosVersion(08.29.01.00)
Describe the problem you're observing
Our zfs-backed nfs server experiences kernel lockups under heavy load after upgrading to zfs-dkms 0.6.5.8 from Debian backports. The kernel freezes and the server must be power cycled.
The server was previously stable for months running zfs-dkms 0.6.5.7 from archive.zfsonlinux.org. We have reverted to 0.6.5.7 until this bug is resolved, since 0.6.5.8 is too unstable and crashes frequently.
Describe how to reproduce the problem
Export a zfs filesystem with the options "rw,async,no_subtree_check,no_root_squash,crossmnt" in /etc/exports. Access the filesystem and snapshot dir from multiple nfs clients. This behavior is similar to #3794 and #4716.
Include any warning/errors/backtraces from the system logs
Syslog excerpt:
Full syslog:
zfs_20170217.txt
The text was updated successfully, but these errors were encountered: