-
Notifications
You must be signed in to change notification settings - Fork 55
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
initramfs can't import any LUKS pools at boot on Debian Wheezy #93
Comments
I had the same problem (indeed there are 2 problems). First, /etc/mtab must be pressent. Second, zfs must be initialized then. You can fix this by the following initrd script (just run the commands below to create it): echo "ln -s -f /proc/mounts /etc/mtab" > /etc/initramfs-tools/scripts/init-premount/zfs-fix-mw |
The current initrd script already creates the mtab file before issuing any zpool command:
That part originates from Sep 12, 2013 so I'm going to assume that this problem is fixed for Debian GNU/Linux. Looking through the Ubuntu stable and snapshot tags, this is not fixed in Precise, Quantal, Raring and the Saucy tags. @dajhorn you might want to take a look at merging fixes from |
When various kernel debuging options are enabled this allocation may be larger than usual as shown by the following warning. It is in no way harmful so we suppress the warning. SPL: large kmem_alloc(40960, 0x80d0) at tsd_hash_table_init:358 (76495/76495) Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #93
Other forms of this issue went |
I've got my laptop running Debian Wheezy and ZFS. At boot time, "zpool import" will not find any pools to import and I need to manually run
touch /etc/mtab
(creates the file, empty) to make it work.I tried to add a
touch "$DESTDIR/etc/mtab"
to /usr/share/initramfs/hooks/zfs without success. I don't know what went wrong and I haven't done a whole lot of investigating into it.I don't think it's related but for completeness, my disk consists of a LUKS partition and a 100MiB unencrypted ext4 /boot at the end; ZFS lives within the LUKS partition.
The text was updated successfully, but these errors were encountered: