Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 572380 - Dracut and system don't support mounting of file systems if fs type is zfs
Summary: Dracut and system don't support mounting of file systems if fs type is zfs
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-19 19:37 UTC by John Covici
Modified: 2016-02-04 03:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (temp.txt,16.27 KB, text/plain)
2016-01-19 19:41 UTC, John Covici
Details

Note You need to log in before you can comment on or make changes to this bug.
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.