# [OmniOS-discuss] trouble mirroring the zpool rpool

Lauri Tirkkonen lotheac at iki.fi
Tue May 7 18:07:54 EDT 2013

- Previous message: [OmniOS-discuss] trouble mirroring the zpool rpool
- Next message: [OmniOS-discuss] omnios stable r151006
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    On Mon, May 06 2013 20:36:33 +0200, Natxo Asenjo wrote:
    > But when I try the procedure in the openindiana wiki I get this:
    >
    > # fdisk -B c15t0d0p0
    > # prtvtoc /dev/rdsk/c14t0d0s2 | fmthard -s - /dev/rdsk/c15t0d0s2
    > fmthard: Partition 2 specifies the full disk and is not equal
    > full size of disk.  The full disk capacity is 61705665 sectors.
    > fmthard: Partition 2 specified as 61737795 sectors starting at 0
    >         does not fit. The full disk contains 61705665 sectors.
    > fmthard:  New volume table of contents now in place.
    > # zpool attach rpool c14t0d0s0 c15t0d0s0
    > invalid vdev specification
    > use '-f' to override the following errors:
    > /dev/dsk/c15t0d0s0 overlaps with /dev/dsk/c15t0d0s2

    Those devices refer to disk slices (hence the 's' at the end), and slice
    number two refers to the entire disk by convention (but not necessarily;
    for more information see
    http://docs.oracle.com/cd/E19082-01/819-2723/disksconcepts-20068/index.html),
    so it will overlap any other slice.

    zpool is correct in warning you about this, but in many cases you might
    just want to use the entire disk ('c15t0d0' should work). I'm not sure
    whether you can do that with rpool disks though, since they need to boot
    from somewhere.

    --
    Lauri Tirkkonen | +358 50 5341376 | lotheac @ IRCnet

- Previous message: [OmniOS-discuss] trouble mirroring the zpool rpool
- Next message: [OmniOS-discuss] omnios stable r151006
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

More information about the OmniOS-discuss mailing list