never mind I did figure it out, I did play around with my settings and spare
disk and it seems like its working
# zpool create -f testroot c1t0d0s0
Nov 6 20:02:10 adas ufs: NOTICE: mount: not a UFS magic number (0x0)
# zfs list
NAME USED AVAIL REFER MOUNTPOINT
rootpool 29.4G 37.6G 21.5K /rootpool
rootpool/ROOT 17.4G 37.6G 18K /rootpool/ROOT
rootpool/ROOT/zfsBE 17.4G 37.6G 17.4G /
rootpool/dump 4.02G 37.6G 4.02G -
rootpool/swap 8.00G 44.4G 1.13G -
testroot 89.5K 9.78G 1K /testroot
# zpool attach testroot c1t0d0s0 c1t0d0s1
# zpool list
NAME SIZE USED AVAIL CAP HEALTH ALTROOT
rootpool 68G 22.6G 45.4G 33% ONLINE -
testroot 9.94G 112K 9.94G 0% ONLINE -
# zpool status
pool: rootpool
state: ONLINE
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
rootpool ONLINE 0 0 0
c1t1d0s0 ONLINE 0 0 0
errors: No known data errors
pool: testroot
state: ONLINE
scrub: resilver completed after 0h0m with 0 errors on Thu Nov 6 20:03:01 2008
config:
NAME STATE READ WRITE CKSUM
testroot ONLINE 0 0 0
mirror ONLINE 0 0 0
c1t0d0s0 ONLINE 0 0 0
c1t0d0s1 ONLINE 0 0 0
errors: No known data errors
#
On Thu, 6 Nov 2008, Krzys wrote:
>
> Currently I have the following:
>
> # zpool status
> pool: rootpool
> state: ONLINE
> scrub: none requested
> config:
>
> NAME STATE READ WRITE CKSUM
> rootpool ONLINE 0 0 0
> c1t1d0s0 ONLINE 0 0 0
>
> errors: No known data errors
> #
>
> I would like to put c1t0d0s0 disk in and setup mirroring for my root disk.
I am
> just addraid that if I do add my disk that instead of creating mirror I
will add
> it to a pool to have it concat/stripe rather than mirror. How can I add
disk to
> this pool and have mirroring instead of striping it?
>
> Regards,
>
> Chris
>
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
>
>
> !DSPAM:122,491393cf9027197925582!
>