-
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
Kernel OOps when removing a device from the pool #16021
Comments
I think I'm seeing the same problem on one of my systems. The conditions for the oops are roughly the same: I'm trying to remove a vdev from a pool that contains an indirect vdev (two of them, technically), and upon
My system is similar to OPs: I'm guessing my only option besides waiting for a fix is to recreate the pool entirely to get rid of the indirect vdevs? |
My issue #16786 seems to be relevant/the same. |
System information
Describe the problem you're observing
removing a device leads to kernel Oops
BUG: kernel NULL pointer dereference, address: 0000000000000088
Describe how to reproduce the problem
zpool remove zfs-pool wwn-0x50014ee6052e6cf1
Include any warning/errors/backtraces from the system logs
i added a printk to find out phich pointer is zero
module/zfs/vdev_removal.c -> vdev_passivate()
and here is the output
[ 44.868315] rvd->vdev_child[0] ffff98197f054000
[ 44.868325] cvd->vdev_mg 0000000000000000
so this line is crashing
metaslab_class_t *mc = cvd->vdev_mg->mg_class;
i guess its a bug if indirect-0 exists in the pool ?
The text was updated successfully, but these errors were encountered: