On Sun, Dec 21, 2008 at 10:10 AM, iman habibi <iman.hab...@gmail.com> 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?

That's because your c0t8d0 disk has EFI label. with EFI label the
largest partiotion you can create is slightly smaller than the whole
disk (17 KB less to be exact). That causes the zpool attach command to
fail (you cannot mirror from a bigger disk to a smaller one). Another
thing is you probably do not want to EFI label on rpool devices
anyway, since you cannot boot from EFI  label today.
You may use format -e command to change the label from EFI to SMI.


> # format
> Searching for disks...done
>
> c0t11d0: configured with capacity of 34.18GB
>
>
> AVAILABLE DISK SELECTIONS:
>        0. c0t0d0 <SEAGATE-ST336704LC-0002 cyl 14087 alt 2 hd 12 sec 424>
>           /p...@1f,4000/s...@3/s...@0,0
>        1. c0t8d0 <SEAGATE-ST336704LC-0002-34.18GB>
>           /p...@1f,4000/s...@3/s...@8,0

See - the label on this disk hints that it is EFI rather than SMI.

>        2. c0t10d0 <drive type unknown>
>           /p...@1f,4000/s...@3/s...@a,0
>        3. c0t11d0 <SEAGATE-ST336704LC-0002 cyl 14087 alt 2 hd 12 sec 424>
>           /p...@1f,4000/s...@3/s...@b,0
>        4. c0t12d0 <SEAGATE-ST336704LC-0002 cyl 14087 alt 2 hd 12 sec 424>
>           /p...@1f,4000/s...@3/s...@c,0
>

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

Reply via email to