-
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
Hang importing pool in 0.6.4-1 with zvol present #3330
Comments
Forgot to mention. This seems specific to zvols. An empty pool imports fine. So does a pool with a single dataset. A pool with a single zvol hangs every time for me. |
Okay, I figured out how to send magic sysrq, but backtrace shows nothing. I did send a crash and it dutifully rebooted. Any ideas? |
I did manage to capture a backtrace where it was doing spa_import. Now what? |
#9 [ffff88013fc03b78] __handle_sysrq at ffffffff813c71a2 |
No comment in 2 days? On a 100% reproduceable hang? Seriously? |
@dswartz can you include the kernel version. I'm not able to reproduce this using your reproducer and this is the first report we've seen. |
It was 3.14.36 with scst patches applied. Dev (Marc Smith) says he |
I've seen the same on a brand new Gentoo installed VM. I've tried to debug this to, but to no avail. It just hangs for me. The kernel seems to be up (at least the network works - I get a ping back), but any login via ssh or console doesn't work. The consoles are "dead". My kernel was a standard Gentoo kernel and almost-latlest GIT masters. Strange thing is that it used to work. It worked for almost a day and then all of a sudden, no changes in packages or anything, blammo!. ONLY a whole bunch of imports and exports back and forth (I was debugging the init scripts in my PR). |
This issue was addressed in 0.6.5.6 with the asynchronous zvol changes. |
Discovered this while testing zfs support in ESOS (run from usb block storage appliance). The developer says he just built from source using the vanilla 0.6.4 tarball. Anyway, here is the reproducer: in a vsphere VM, create two vdisks, one 8GB (for OS) and one 16GB (for zpool). Install ESOS on the 8GB vdisk using the documented install script. Boot ESOS. Login, and do this:
zpool create -f test sdb
zfs create -V 12G test/foo
zpool export test
zpool import test
virtual machine hangs. no keyboard input, nothing. as this is a vsphere VM (I don't have a physical host to try with ATM), i have no idea how to send any magic sysrq to get a trace (if possible.)
The text was updated successfully, but these errors were encountered: