-
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
hung tasks (umount) after accessing snaphost #1091
Comments
Strange, it's not at all clear why the umount process is hung on that mutex. Do you have any other stacks which show what process might be holding it? |
No, that's all I got. The above showed 5 times in the log (same stacks). I waited two more hours the I rebooted the system. |
I am also having the same problem and it is very reproducible I am running Scientific Linux 6.3 with kernel 3.6.11 and spl/zfs rc-13 (git wont compile due to missing symbol cv_wait_io) I have created a zfs pool using loop back devices for testing, 4x50GB disk image files in RAIDZ2, 2x5GB disk image files for mirrored ZIL (on SSD) and 20GB disk image file for cache (on SSD) I am able to mount the ZFS pool without and issuse and create/modify delete files as needed, unmounting at this point does not cause an issue, however, if I access the .zfs folder (not visible) and browse the snapshot folder, I am no longer able to unmount the filesystem. I get the following error umount: /storage/zfsmount: device is busy. after about 30 seconds I get a kernel bug dump |
@gunnarbeutner I'd suggest you try the latest master, it will build cleanly if you update both the spl and zfs. There were several snapshot related fixes which went in, however we are still resolving a few regression which snuck in with |
Thanks Behlendorf for the suggestion I have built the spl and zfs from the latest git. I am now able to browse the .zfs folder and unmount the pool without any issues. |
@bziller Can you still reproduce issues with the latest master? I'm unable to recrease this issue under RHEL6.3 and after all the .zfs snapshot fixes I'm inclined to think we got the root cause. |
I'm tentative closing this we can easily reopen it if needed. |
Something similar may have just happened to me. It appears to also be tied to some other zvol access? I noticed the umount had hung, and went in to troubleshoot. There were a bunch of zvol processes waiting for IO, so I stopped the processes using the zvols (they are backing VMs; I suspended the VMs). When I checked again, umount was done and loadavg was heading back down.
|
After accessing a snapshot the umount hangs. This is on rc12.
The text was updated successfully, but these errors were encountered: