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.
--S
Quoting Robert Millan, who wrote the following on Fri, 30 Jul 2010:
2010/7/30, Seth Goldberg <seth.goldb...@oracle.com>:
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
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel