Matt Harrison schrieb: > James C. McPherson wrote: > >> Matt Harrison wrote: >> .... >> >>> I seem to have overlooked the first part of your reply, I can just >>> replace the disks one at a time, and of course the pool would rebuild >>> itself onto the new disk. Would this automatically extend the size of >>> the pool once all 3 disks are replaced? >>> >> Yes - once the resilvering has finished on the final >> disk replacement. I used exactly this process to increase >> my poolsize from 2x200G to 2x320G disks last year. It >> was easy - so easy that I wondered what I had forgotten >> to do ... but nope, nothing - It Just Works(tm). >> > > I've just done this procedure on a test server, just so I know what I'm > playing with when the time comes. > > I've replaced all 3 disks in a raid1z set and waited for all the > resilvering...the only problem is, my pool capacity is still exactly the > same. > > Moving from 3x8Gb disks in raid1z giving ~16Gb space to 3x20Gb disks, > and I still have ~16Gb usable space. > > I used the following commands to do the changes: > > zpool replace tank c1t1d0 c2t0d0 > zpool replace tank c1t2d0 c2t1d0 > zpool replace tank c1t3d0 c2t2d0 > > Where c1x are the old 8Gb disks and c2x are the new 20Gb disks. > > A time ago a zpool needed a export/import to get to the new capacity (or a reboot). I don't know if this still holds true but it is worth a try.
Arne _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss