OpenSolaris

Printable Version Enter a New Search
Bug ID 6770866
Synopsis GRUB/ZFS should require physical path or devid, but not both
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:zfs
Keywords
Responsible Engineer Lin Ling
Reported Against snv_104
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_105
Fixed In snv_105
Release Fixed solaris_nevada(snv_105) , solaris_10u8(s10u8_01) (Bug ID:2176247)
Related Bugs 6769487 , 6771999 , 6779334 , 6779771 , 6795637 , 6819531
Submit Date 12-November-2008
Last Update Date 22-April-2009
Description
In CR# 6769487, GRUB failed because there is no devid value in zfs vdev label.
ZFS kernel module needs either the device physpath or devid from GRUB to
do zfs_mountroot().  GRUB can relax the checking by only requiring to find
one of physpath or devid instead of both.

fsys_zfs.c:

        if (strcmp(type, VDEV_TYPE_DISK) == 0) {
                if (vdev_validate(nv) != 0 ||
                    (nvlist_lookup_value(nv, ZPOOL_CONFIG_PHYS_PATH,
                    bootpath, DATA_TYPE_STRING, NULL) != 0) ||
                    (nvlist_lookup_value(nv, ZPOOL_CONFIG_DEVID,
                    devid, DATA_TYPE_STRING, NULL) != 0))
                        return (ERR_NO_BOOTPATH);
Work Around
N/A
Comments
N/A