-
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
Unable to specify the topmost dataset as rootfs #9107
Comments
Judging by two threads on the mailing list (1, 2) a configuration like that is indeed discouraged. Luckily, I can still redo the new pool without much problem. If this configuration is really discouraged, what would be a good place to add a note about it, to prevent people from following down that path? :) |
Could you run the command |
This is on a system booted from
|
(Without Bpool) someone complained on the mailinglist that a root filesystem on a root dataset broke after #8052. I wrote #8356 (merged May 6) to correct that situation. It is possible your version doesn't have this fix. adding zfsdebug=1 to your kernel parameters might give some output that will help us track down the issue. |
@ghfields yup, I don't have that patch yet. All right, I'll lay out my new pool better, happy to see that even the edge cases are addressed :) Thanks for the explanations! |
Certainly in any howto regarding ZFS, since using the root dataset of a pool for anything but as a container to inherit properties into child datasets is likely to give problems later. |
System information
Describe the problem you're observing
I have a working Debian system with rootfs on ZFS. I'm trying to move
/
to a separate pool right now.Old pool:
and it boots with
root=ZFS=lcl/sys/root
as kernel parameter.New pool:
lilith
is the boot pool,magi
is the root pool. As you can see, I went with top-most dataset being the filesystem in question (/boot
and/
respectively). This in turn makes the rootfs specification tricky; neitherroot=ZFS=magi
norroot=ZFS=magi/
works. I'd rather not rely onroot=zfs:AUTO
to control which pool is being booted, andbootfs
has the same problem.Is this configuration even supported? Or is there a (silent?) assumption that rootfs will not be the top-most dataset?
I do apologise for the horrible puns in the paths/names :D
The text was updated successfully, but these errors were encountered: