On 20 May, 2009 - Sera sent me these 2,7K bytes:

> Hi,
> I'm new in this mail list and my english is very bad.
> 
> I installed opensolario 0811, and I created a pool_nas raidz1 with 3 discs:
> 
> zpool create -f pool_nas raidz1 c3d0 c3d1 c4d0
> 
> zpool status pool_nas
>   pool: pool_nas
>  state: ONLINE
>  scrub: none requested
> config:
> 
>         NAME        STATE     READ WRITE CKSUM
>         pool_nas    ONLINE       0     0     0
>           raidz1    ONLINE       0     0     0
>             c3d0    ONLINE       0     0     0
>             c3d1    ONLINE       0     0     0
>             c4d0    ONLINE       0     0     0
> 
> errors: No known data errors
> 
> 
> My question is that is possible add a new disc c4d1 to the exist raidz1
> pool, not at the pool only with no lose data.
> I think its not possible but i don't find any documentation about it.

Currently, no.

If you haven't filled the pool more than 1 disk worth, you can juggle
the data around..

* Create a new pool with just one disk, copy everything over (either via
  zfs send+recv  or just plain copy).
* Create a 4 disk raidz1 with one disk missing:
* mkfile -n 250g /tmp/blah (if the disks are 250g)
* zpool create pool_nas raidz1 c3d0 c3d1 c4d0 /tmp/blah
* fail the /tmp/blah device
* copy everything back
* destroy temporary 1-disk pool
* replace /tmp/blah with the single disk in the new pool

/Tomas
-- 
Tomas Ögren, st...@acc.umu.se, http://www.acc.umu.se/~stric/
|- Student at Computing Science, University of Umeå
`- Sysadmin at {cs,acc}.umu.se
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to