On 19.10.2010 09:03, Andrey V. Elsukov wrote:
>>      Mounting from (...) failed with error 19
>>
>> On boot.  The system is using pure ZFS setup.  It seems that 19 means
>> ENODEV but according to the dmesg the device do exist.
> 
> Yes, i have the same problem.

I fixed it with attached patch.

-- 
WBR, Andrey V. Elsukov
Index: vfs_mountroot.c
===================================================================
--- vfs_mountroot.c     (revision 214058)
+++ vfs_mountroot.c     (working copy)
@@ -713,7 +713,8 @@
                goto out;
        }
 
-       if (dev[0] != '\0' && !parse_mount_dev_present(dev)) {
+       if (strcmp(fs, "zfs") && dev[0] != '\0' &&
+           !parse_mount_dev_present(dev)) {
                printf("mountroot: waiting for device %s ...\n", dev);
                delay = hz / 10;
                timeout = root_mount_timeout * hz;

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to