Johan Hartzenberg wrote:
>
>
> On Sun, Dec 21, 2008 at 8:00 PM, dick hoogendijk <d...@nagual.nl 
> <mailto:d...@nagual.nl>> wrote:
>
>     On Sun, 21 Dec 2008 07:36:07 PST
>     Uwe Dippel <udip...@gmail.com <mailto:udip...@gmail.com>> wrote:
>
>     > [i]If you want to add the entire Solaris partition to the zfs
>     pool as
>     > a mirror, use zpool attach -f rpool c1d0s0 c2d0s2[/i]
>     >
>     > So my mistake in the first place (see first post), in short, was
>     only
>     > the last digit: I ought to have used the complete drive (slice 2),
>     > instead of *thinking* that it is untouchable, and zfs/zpool
>     would set
>     > up s0 properly to be used?
>     >
>     > Dick, it seems we have to get used to the idea, that slice 2 is
>     > touchable, after all.
>
>     That may be, but all my mirror disks are like c0d0s0 c0d1s0. s0 taking
>     up the whole disk. On some there is a s2 on some there isn't.
>     Also, SUN
>     itself mentions s0 in explaining zfs root as bootable. There is no
>     mention of s2. As far as I'm concerned bootable ZFS is on s0;
>     non-bootable drives have an EFI label ;-)
>
>
> I believe there are some bugs at present pertaining to booting form 
> ZFS which, in that special case, requires you to use slices.

You can't boot from an EFI labeled disk with UFS root either.  It is a
BIOS+GRUB+Solaris condition.  I hate to point the finger elsewhere,
but I don't follow the install group's activities very closely, and
CR 6489977 is just a tracking bugid, dependent on the install group
getting a grub or grub-like solution to handle EFI labels.
http://bugs.opensolaris.org/view_bug.do?bug_id=6489977

A search may turn up:
https://pl.opensolaris.org/jive/thread.jspa?threadID=82132&tstart=75

>
> Where I gave examples for adding p0 or s2 to a pool, I was not 
> thinking about bootable pools.  The ZFS admin guide has got examples 
> on how to add a mirror to a pool and explains the gotchas / 
> workarounds for these issues, but from memory you have to read the 
> whole guide to get all the information.  I have not looked recently to 
> see whether it got updated / re-organized.

The whole section on boot with ZFS was added and enhanced for the
Solaris 10u6 release.
 -- richard

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to