iman habibi wrote:
> Hello All
> i want to add second disk to existing rpool with one disk.
> but when i run this command it returns this error,,why?
>
> "device is too small?? "
> (all of my disks are simillar.)

The newly attaching disk (slice in this case, because it is an
rpool) must have the same number of blocks, or more.
Even though you may have two disks with the same vendor
label, they may have a different number of available blocks.
prtvtoc provides this info relatively easily as the "sector
count" column.  Compare:
    prtvtoc /dev/rdsk/c0t0d0s0
    prtvtoc /dev/rdsk/c0t8d0s0  (!!)
As Cyril notes, and the ZFS Administration Guide says,
you must use a slice for the rpool, not a whole disk.
 -- richard

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

Reply via email to