Ian,

You might consider converting this pool to a mirrored pool, which is
currently more flexible than a raidz pool and provide good performance.

Its easy too. See the example below.

Cindy

A non-redundant pool of one disk (33 GB).

# zpool status tank
  pool: tank
 state: ONLINE
 scrub: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        tank        ONLINE       0     0     0
          c0t0d0    ONLINE       0     0     0

errors: No known data errors

Attach another disk to create a mirrored pool of two disks.
Total space is still 33 GB.

# zpool attach tank c0t0d0 c1t8d0
# zpool status tank
  pool: tank
 state: ONLINE
scrub: resilver completed after 0h0m with 0 errors on Fri Mar 12 08:20:30 2010
config:

        NAME        STATE     READ WRITE CKSUM
        tank        ONLINE       0     0     0
          mirror-0  ONLINE       0     0     0
            c0t0d0  ONLINE       0     0     0
            c1t8d0  ONLINE       0     0     0  73.5K resilvered

errors: No known data errors
# zpool list
NAME   SIZE   USED  AVAIL    CAP  HEALTH  ALTROOT
tank  33.8G  76.5K  33.7G     0%  ONLINE  -

Expand the pool by adding another two-disk mirror. Total space is
now 67.5 GB.

# zpool add tank mirror c1t9d0 c1t10d0
# zpool status tank
  pool: tank
 state: ONLINE
scrub: resilver completed after 0h0m with 0 errors on Fri Mar 12 08:20:30 2010
config:

        NAME         STATE     READ WRITE CKSUM
        tank         ONLINE       0     0     0
          mirror-0   ONLINE       0     0     0
            c0t0d0   ONLINE       0     0     0
            c1t8d0   ONLINE       0     0     0  73.5K resilvered
          mirror-1   ONLINE       0     0     0
            c1t9d0   ONLINE       0     0     0
            c1t10d0  ONLINE       0     0     0

errors: No known data errors
# zpool list tank
NAME   SIZE   USED  AVAIL    CAP  HEALTH  ALTROOT
tank  67.5G   100K  67.5G     0%  ONLINE  -




On 03/12/10 04:49, Ian Garbutt wrote:
Thats fair enough, pity there isn't a simpler way.

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

Reply via email to