Skip to content
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

Dracut failed to install zpool_layout on Fedora15 #397

Closed
nishios opened this issue Sep 10, 2011 · 1 comment
Closed

Dracut failed to install zpool_layout on Fedora15 #397

nishios opened this issue Sep 10, 2011 · 1 comment
Milestone

Comments

@nishios
Copy link

nishios commented Sep 10, 2011

Rebuilding initramfs is failed by dracut. Because dracut can't find zpool_layout in /lib/udev.
The workaround was to patch the module-setup.sh. It may be a problem of how to use the dracut, leave reporting
OS Ver 2.6.40.4-5.fc15.x86_64, ZFS Ver zfs-0.6.0-rc5

$ diff /usr/share/dracut/modules.d/90zfs/module-setup.sh /usr/share/dracut/modules.d/90zfs/orig.module-setup.sh
39,41c39,41
< dracut_install /lib/udev/zpool_layout
< dracut_install /lib/udev/zpool_id
< dracut_install /lib/udev/zvol_id


dracut_install zpool_layout
dracut_install zpool_id
dracut_install zvol_id

@behlendorf
Copy link
Contributor

This should be handled in the master source by commit f0102d6 which ensures that module-setup.sh will reference the location the *_id scripts are installed in.

sdimitro pushed a commit to sdimitro/zfs that referenced this issue May 23, 2022
Signed-off-by: Paul Dagnelie <pcd@delphix.com>
sdimitro pushed a commit to sdimitro/zfs that referenced this issue May 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants