Ben wrote:
Hi all,

I have a ZFS mirror of two 500GB disks, I'd like to up these to 1TB disks, how 
can I do this?  I must break the mirror as I don't have enough controller on my 
system board.  My current mirror looks like this:

[b]r...@beleg-ia:/share/media# zpool status share
pool: share
state: ONLINE
scrub: none requested
config:

NAME        STATE     READ WRITE CKSUM
share       ONLINE       0     0     0
mirror    ONLINE       0     0     0
c5d0s0  ONLINE       0     0     0
c5d1s0  ONLINE       0     0     0

errors: No known data errors[/b]

If I detach c5d1s0, add a 1TB drive, attach that, wait for it to resilver, then 
detach c5d0s0 and add another 1TB drive and attach that to the zpool, will that 
up the storage of the pool?

Thanks very much,
Ben

The following changes, which went into snv_116, change this behavior:

PSARC 2008/353 zpool autoexpand property
6475340 when lun expands, zfs should expand too
6563887 in-place replacement allows for smaller devices
6606879 should be able to grow pool without a reboot or export/import
6844090 zfs should be able to mirror to a smaller disk

With this change we introduced a new property ('autoexpand') which you must 
enable if you want devices to automatically grow (this includes replacing them 
with larger ones). You can alternatively use the '-e' (expand) option to 'zpool 
online' to grow individual drives even if 'autoexpand' is disabled. The reason 
we made this change was so that all device expansion would be managed in the 
same way. I'll try to blog about this soon but for now be aware that post 
snv_116 the typical method of growing pools by replacing devices will require 
at least one additional step.

Thanks,
George


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

Reply via email to