svn commit: r216291 -
head/cddl/contrib/opensolaris/lib/libzfs/common
Pawel Jakub Dawidek
pjd at FreeBSD.org
Wed Dec 8 09:24:10 UTC 2010
On Wed, Dec 08, 2010 at 10:14:13AM +0100, Martin Matuska wrote:
> Here are some arguments:
>
> a) it was removed in OpenSolaris rev. 12865:08987220809a
> b) a root pool does not not have to be a boot pool
>
> So if we need a warning here, it should print only some general
> suggestion because
> user may attach any vdev (e.g. a file or a memory disk) to make a mirror
> from a root pool.
> And as this was removed upstream the warning should be put into perforce
> as well.
Hmm, I think I saw this warning on more recent ZFS.
All in all we currently print this when we upgrade root pool we print
the following:
If you boot from pool 'foo', don't forget to update boot code.
Assuming you use GPT partitioning and da0 is your boot disk
the following command will do it:
gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 da0
(Note, that bootfs property doesn't have to be set to boot from a pool.)
We should print similar information when:
- We set bootfs property.
- Add new vdev(s) to root pool.
- Attach new vdev(s) to root pool.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
pjd at FreeBSD.org http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20101208/e4828fb5/attachment.pgp
More information about the svn-src-all
mailing list