Do note, that though Frank is correct, you have to be a little careful around what might happen should you drop your original disk, and only the large mirror half is left... ;)

On 12/16/11 07:09 PM, Frank Cusack wrote:
You can just do fdisk to create a single large partition. The attached mirror doesn't have to be the same size as the first component.


On Thu, Dec 15, 2011 at 11:27 PM, Gregg Wonderly <gregg...@gmail.com <mailto:gregg...@gmail.com>> wrote:

    Cindy, will it ever be possible to just have attach mirror the
    surfaces, including the partition tables?  I spent an hour today
    trying to get a new mirror on my root pool.  There was a 250GB
    disk that failed.  I only had a 1.5TB handy as a replacement.
     prtvtoc ... | fmthard does not work in this case and so you have
    to do the partitioning by hand, which is just silly to fight with
    anyway.

    Gregg

    Sent from my iPhone

    On Dec 15, 2011, at 6:13 PM, Tim Cook <t...@cook.ms
    <mailto:t...@cook.ms>> wrote:

    Do you still need to do the grub install?

    On Dec 15, 2011 5:40 PM, "Cindy Swearingen"
    <cindy.swearin...@oracle.com
    <mailto:cindy.swearin...@oracle.com>> wrote:

        Hi Anon,

        The disk that you attach to the root pool will need an SMI label
        and a slice 0.

        The syntax to attach a disk to create a mirrored root pool
        is like this, for example:

        # zpool attach rpool c1t0d0s0 c1t1d0s0

        Thanks,

        Cindy

        On 12/15/11 16:20, Anonymous Remailer (austria) wrote:


            On Solaris 10 If I install using ZFS root on only one
            drive is there a way
            to add another drive as a mirror later? Sorry if this was
            discussed
            already. I searched the archives and couldn't find the
            answer. Thank you.
            _______________________________________________
            zfs-discuss mailing list
            zfs-discuss@opensolaris.org
            <mailto:zfs-discuss@opensolaris.org>
            http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

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

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

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



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

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

Reply via email to