Hello all.  I was hoping to get some advice on how to do this without moving or 
losing my data.  I have 6 drives in two raidz1 vdevs in a pool.  I have 2 new 
1TB drives that I would like to add to that pool and replace 3 of the smaller 
drives.  I'd like to end up with 5 1TB drives in a single raidz1 vdev in the 
same pool.  I realize that copying the data somewhere else and then simply 
rebuilding the pool in the proper config would be the simplest method, but I 
have no place to put that data.  Any ideas / tricks / or even 'you shouldn't 
configure it that way' would be appreciated.

Current pool:
# zpool status -v
  pool: mp
 state: ONLINE
 scrub: resilver completed after 0h0m with 0 errors on Fri Oct  3 09:09:37 2008
config:

        NAME        STATE     READ WRITE CKSUM
        mp          ONLINE       0     0     0
          raidz1    ONLINE       0     0     0
            c7t2d0  ONLINE       0     0     0
            c7t0d0  ONLINE       0     0     0
            c7t1d0  ONLINE       0     0     0
          raidz1    ONLINE       0     0     0
            c4d0    ONLINE       0     0     0
            c5d0    ONLINE       0     0     0
            c6d0    ONLINE       0     0     0

errors: No known data errors

All the drives on c7 are 1TB drives.  The drives on c4, c5 and c6, are 320G, 
400G and 400G respectively.  I have 2 new 1TB drives I'd ideally like to add to 
the first vdev (although from everything I've read that is not possible).  So, 
here is where I'd like to end up:

zpool status -v
  pool: mp
        NAME        STATE     READ WRITE CKSUM
        mp          ONLINE       0     0     0
          raidz1    ONLINE       0     0     0
            c7t2d0  ONLINE       0     0     0
            c7t0d0  ONLINE       0     0     0
            c7t1d0  ONLINE       0     0     0
            c7t3d0  ONLINE       0     0     0
            c7t4d0  ONLINE       0     0     0

With all of those drives at 1TB, that would effectively give 4TB of storage 
with one drive used for parity (or so I assume).
-- 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to