[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Enable `grub-probe -t device' resolution on ZFS

From: Seth Goldberg
Subject: Re: [PATCH] Enable `grub-probe -t device' resolution on ZFS
Date: Fri, 30 Jul 2010 14:02:38 -0700 (PDT)
User-agent: Alpine 2.00 (GSO 1167 2008-08-23)

You need to ensure that the deivce given isn't degraded. It's certainly possible to boot with a mirrored root with one device degraded. If you choose that device for grub-setup, you may fail to write to it or you may succeed, but something else may prevent it from being accessible on boot.


Quoting Robert Millan, who wrote the following on Fri, 30 Jul 2010:

2010/7/30, Seth Goldberg <address@hidden>:
Don't forget to check the state of the device also.

Can you be more specific?  I notice a "state" integer variable associated
with the pool (none associated with the device), which has a zero-value in
my case (I assume this indicates no error).

What kind of errors can it indicate?  Should we care even?  Keep in mind
this routine is, given a pool that is known to be mounted, merely determining
its underlying devices, not asserting anything about its well-being.

Grub-devel mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]