<div dir="ltr"><div>hi,<br><br></div><div>my rpool has now 1 160Gib disk:<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> c4t13d1s0 ONLINE 0 0 0<br></div><div><br># format <br><br>AVAILABLE DISK SELECTIONS:<br> 0. c4t12d1 <ATA-KINGSTON SV300S3-BBF1-111.79GB><br>
/pci@0,0/pci1022,9603@2/pci1014,3b1@0/sd@c,1<br> 1. c4t13d1 <ATA-WDCWD1600BJKT-7-1A11 cyl 19454 alt 2 hd 255 sec 63><br> /pci@0,0/pci1022,9603@2/pci1014,3b1@0/sd@d,1<br> 2. c4t14d1 <ATA-WDCWD2500BPVT-0-1A01 cyl 30398 alt 2 hd 255 sec 63><br>
/pci@0,0/pci1022,9603@2/pci1014,3b1@0/sd@e,1<br> 3. c6t0d0 <ATA-WDC WD30EFRX-68A-0A80-2.73TB><br> /pci@0,0/pci103c,1609@11/disk@0,0<br> 4. c6t1d0 <ATA-WDC WD30EFRX-68A-0A80-2.73TB><br>
/pci@0,0/pci103c,1609@11/disk@1,0<br> 5. c6t2d0 <ATA-WDC WD30EFRX-68A-0A80-2.73TB><br> /pci@0,0/pci103c,1609@11/disk@2,0<br> 6. c6t3d0 <ATA-WDC WD30EFRX-68A-0A80-2.73TB><br> /pci@0,0/pci103c,1609@11/disk@3,0<br>
<br>I want to add disk 2 to the rpool, so following the instructions on <a href="http://omnios.omniti.com/wiki.php/GeneralAdministration">http://omnios.omniti.com/wiki.php/GeneralAdministration</a>:<br><br># fdisk -B c4t14d1p0<br>
<br># prtvtoc /dev/rdsk/c4t13d1s2 | fmthard -s - /dev/rdsk/c4t14d1s2 <br>fmthard: Partition 2 specifies the full disk and is not equal<br>full size of disk. The full disk capacity is 488343870 sectors.<br>fmthard: New volume table of contents now in place<br>
<br></div>but:<br><br># zpool attach -f rpool c4t13d1s0 c4t14d1s0<br>cannot attach c4t14d1s0 to c4t13d1s0: devices have different sector alignment<br clear="all"><div><div><br></div><div>Any ideas? Yes, I am aware of the fact both disks are different in size, but provided I am formatting the 2nd one and copying the disklabel from the smaller one it should be ok, shouldn't it?<br>
<br></div><div>TIA.<br><br></div><div>Regards,<br></div><div>--<br>Groeten,<br>natxo</div>
</div></div>