-
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
ZVOL creation not showing up in /dev/<...> (RCA: active zfs version older than user expected) #7889
Comments
One crazy thing I'm just noticing ...
what
I am a bit confused to that (huh, I'm running Fedora27 but w/ a Fedora22 kernel?) ... could be related (though all the zfs filesystems are fully functional at this time ... worried to reboot the system now LoL) |
yes, something does seem to be wrong here, did you forget to update your grub after upgrading kernels, or forget to install the new ones into /boot? i would double check and reboot to make sure you are using the (whichever is) correct version you intend to be running. |
Well, after the reboot, the /dev/zvol got updated properly now
(confusingly this blockID changed from previous boot) -- Still though my kernel boot is screwed up, maybe it is to blame since it looks like I'm booting older kernal and older ZFS/SPL modules
|
No idea why grub-config doesn't rebuild BEFORE
Fixed that
AFTER
|
(of note, attempts to boot the newer kernel fail because Fedora seems to have not auto-build via dkms zfs/spl modules there ;/) - working on fixing that - but that's a different story/issue roughly: https://icesquare.com/wordpress/centosrhel-7-no-zfs-after-updating-the-kernel/ is to blame (I have the same issues on other RHEL-based systems) |
PS: I think its a reasonable conclusion to have closed this issue and mark it as "user error" (or whatever resolution status fits for this project) The disaster of Fedora27 still booting an older Fedora22 kernel which had super old zfs/spl versions likely meant that I was running a version older than when the fix for the bug I ran into was delivered (though I didn't verify this explicitly). Further, fwiw, I'm attempting to root cause and fully understand what's going on with Fedora's dumb kernel upgrade problem (which might be some dumb user error from long ago trickling forward), and how to manage dkms zfs/spl auto-build failures with Fedora. See https://ask.fedoraproject.org/en/question/126473/how-to-manage-kernel-versions-and-dkms-zfsspl-modules/. (pending moderation) |
@fermulator sadly the best answer to problems with DKMS is to use kmod packages, I'm maintaining my own repo with those just to avoid issues with kernel upgrades on Fedora. This is especially helpful when you are using ZFS as root storage. |
@mskarbek - any docs/refs for zfs+kmod solution? |
System information
Expectations
Normally, (and I've done this many times in the past), I create a ZVOL, and it shows up in /dev/
Example (from a long time ago):
Describe the problem you're observing
Today creation of a ZVOL is failing to show up in /dev/zvol/....
ZFS is fully functional otherwise (many other datasets and ZVOLs active...)
Here are the block devices and outputs
zd144 does not seem to match to any known ZVOL (it COULD be the one missing, which means the block device is there but udev isn't matching it?)
I tried the workaround in #599 ...
No affect.
I've also tried the "rename" trick and both sparse and non-sparse... to no avail
Hints/Notes
Recently I started taking daily snapshots ... could this have hit a bug?
Describe how to reproduce the problem
Simply creation of the ZVOL, and its not showing up in /dev. (sorry I do not have steps to repro from a greenfield system - hoping for help debug)
Include any warning/errors/backtraces from the system logs
There are no (relevant) logs in dmesg.
The text was updated successfully, but these errors were encountered: