Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 572380

Summary: Dracut and system don't support mounting of file systems if fs type is zfs
Product: Gentoo Linux Reporter: John Covici <covici>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description John Covici 2016-01-19 19:37:58 UTC
If I have a pool which I want to use as my root file system, /usr and others, and use Dracut as the initrd, Dracut won't mount /usr or any other file systems except the root one.

Reproducible: Always

Steps to Reproduce:
create a pool (rpool was my name).1.
2.create root dataset and set mountpoint to legacy
3.set bootfs property of pool to root dataset.
4. Create usr, var, etc. and set mountpoint to legacy as well.
5. copy appropriate data.
6. Make sure /boot is on a regular file system.
6. Try to boot using zfs module of Dracut.

Actual Results:  
dropped to emergency shell because initrd-switch-root enters failed state.  Cannot find /sysroot/usr/lib/lib/system/systemd

Expected Results:  
system should use /etc/fstab to mount all the zfs datasets as well as others.
Comment 1 John Covici 2016-01-19 19:41:51 UTC
Created attachment 423386 [details]
emerge --info
Comment 2 Mike Gilbert gentoo-dev 2016-01-20 03:31:32 UTC
> 2.create root dataset and set mountpoint to legacy
> 3.set bootfs property of pool to root dataset.
> 4. Create usr, var, etc. and set mountpoint to legacy as well.

I have no idea what any of this means.

Please provide your fstab.