hi,<br><br>I have installed omnios with a 32GiB usb stick as the rpool. I have two of those sticks, so I would like to mirror them.<br><br>rmformat tells me this about the usb sticks:<br><br># rmformat <br>Looking for devices...<br>
     1. Logical Node: /dev/rdsk/c14t0d0p0<br>        Physical Node: /pci@0,0/pci103c,1609@12,2/storage@3/disk@0,0<br>        Connected Device:          Patriot Memory   PMAP<br>        Device Type: Removable<br>        Bus: USB<br>
        Size: 30.2 GB<br>        Label: <None><br>        Access permissions: Medium is not write protected.<br>     2. Logical Node: /dev/rdsk/c15t0d0p0<br>        Physical Node: /pci@0,0/pci103c,1609@12,2/storage@4/disk@0,0<br>
        Connected Device:          Patriot Memory   PMAP<br>        Device Type: Removable<br>        Bus: USB<br>        Size: 30.2 GB<br>        Label: <None><br>        Access permissions: Medium is not write protected.<br>
<br>The sticks are exactly the same brand and model, so they should be exactly equal.<br><br>In order to mirror the rpool I followed the instructions in <a href="http://wiki.openindiana.org/oi/2.1+Post-installation">http://wiki.openindiana.org/oi/2.1+Post-installation</a><br>
<br>This is rpool now:<br><br># zpool status rpool<br>  pool: rpool<br> state: ONLINE<br>  scan: none requested<br>config:<br><br>        NAME         STATE     READ WRITE CKSUM<br>        rpool        ONLINE       0     0     0<br>
          c14t0d0s0  ONLINE       0     0     0<br><br>errors: No known data errors<br><br>But when I try the procedure in the openindiana wiki I get this:<br><br># fdisk -B c15t0d0p0<br># prtvtoc /dev/rdsk/c14t0d0s2 | fmthard -s - /dev/rdsk/c15t0d0s2<br>
fmthard: Partition 2 specifies the full disk and is not equal<br>full size of disk.  The full disk capacity is 61705665 sectors.<br>fmthard: Partition 2 specified as 61737795 sectors starting at 0<br>        does not fit. The full disk contains 61705665 sectors.<br>
fmthard:  New volume table of contents now in place.<br># zpool attach rpool c14t0d0s0 c15t0d0s0<br>invalid vdev specification<br>use '-f' to override the following errors:<br>/dev/dsk/c15t0d0s0 overlaps with /dev/dsk/c15t0d0s2<br>
<br>So apparently the 2 sticks are not exactly the same. Now I got brave (haha) and used the -f swith and it works:<br><br># zpool attach -f rpool c14t0d0s0 c15t0d0s0<br>Make sure to wait until resilver is done before rebooting.<br>
<br># zpool status<br>  pool: rpool<br> state: ONLINE<br>status: One or more devices is currently being resilvered.  The pool will<br>        continue to function, possibly in a degraded state.<br>action: Wait for the resilver to complete.<br>
  scan: resilver in progress since Mon May  6 20:33:17 2013<br>    53.2M scanned out of 7.13G at 1.06M/s, 1h53m to go<br>    51.0M resilvered, 0.73% done<br>config: <br><br>        NAME           STATE     READ WRITE CKSUM<br>
        rpool          ONLINE       0     0     0<br>          mirror-0     ONLINE       0     0     0<br>            c14t0d0s0  ONLINE       0     0     0<br>            c15t0d0s0  ONLINE       0     0     0  (resilvering)<br>
<br>errors: No known data errors<br><br>Is this expected behaviour? <br clear="all"><div>--<br>Groeten,<br>natxo</div>