Hi Daniel,

No conversion from a mirrored to RAIDZ configuration is available yet.

Mirrored pools are more flexible and generally provide good performance.

You can easily create a mirrored pool of two disks and then add two
more disks later. You can also replace each disk with larger disks
if needed. See the example below.

If you consider that disks are relatively inexpensive, then a mirrored
configuration is a very good option.

Thanks,

Cindy

# zpool create mpool mirror c2t6d0 c2t7d0
# zpool list mpool
NAME    SIZE  ALLOC   FREE    CAP  DEDUP  HEALTH  ALTROOT
mpool   136G  78.5K   136G     0%  1.00x  ONLINE  -
# zpool status mpool
  pool: mpool
 state: ONLINE
 scan: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        mpool       ONLINE       0     0     0
          mirror-0  ONLINE       0     0     0
            c2t6d0  ONLINE       0     0     0
            c2t7d0  ONLINE       0     0     0

errors: No known data errors
# zpool add mpool mirror c2t8d0 c2t10d0
# zpool list mpool
NAME    SIZE  ALLOC   FREE    CAP  DEDUP  HEALTH  ALTROOT
mpool   272G   138K   272G     0%  1.00x  ONLINE  -
# zpool status mpool
  pool: mpool
 state: ONLINE
 scan: none requested
config:

        NAME         STATE     READ WRITE CKSUM
        mpool        ONLINE       0     0     0
          mirror-0   ONLINE       0     0     0
            c2t6d0   ONLINE       0     0     0
            c2t7d0   ONLINE       0     0     0
          mirror-1   ONLINE       0     0     0
            c2t8d0   ONLINE       0     0     0
            c2t10d0  ONLINE       0     0     0

errors: No known data errors


On 07/14/10 13:58, Daniel Taylor wrote:
Hello,

I'm about the build a opensolaris NAS system, currently we have two drives and 
are planning on adding two more at a later date (2TB enterprise level HDD are a 
bit expensive!).

Whats the best configuration for setting up these drives bearing in mind I want 
to expand in the future?

I was thinking of mirroring the drives and then converting to raidz some how?

It will only be a max of 4 drives, the second two of which will be bought later.

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

Reply via email to