Re: [zfs-discuss] questions about replacing a raidz2 vdev disk with a larger one

2008-10-11 Thread Jeff Bonwick
Actually, you can replace them all at once, as long as you don't unplug the old ones first. Let's say you have a raidz2 setup like this: mypool raidz2 a b c d and you say this: # zpool replace mypool a A # zpool replace myp

Re: [zfs-discuss] questions about replacing a raidz2 vdev disk with a larger one

2008-10-11 Thread Erik Trimble
Jeff Bonwick wrote: > One suggestion: replace as many disks as you intend to at the same time, > so that ZFS only has to do one resilver operation. It's faster that way. > > Jeff > Just to be more clear on this: Assuming you have data you care about on the current raidz2 zpool, you should re

Re: [zfs-discuss] questions about replacing a raidz2 vdev disk with a larger one

2008-10-11 Thread Vizzini Sampere
> No, until you've replaced all disks, it will still be 500G*N. ah, thank you very much! -v -- This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Re: [zfs-discuss] questions about replacing a raidz2 vdev disk with a larger one

2008-10-11 Thread Jeff Bonwick
ZFS will allow the replacement. The available size is, however, be determined by the smallest of the lot. Once you've replaced *all* 500GB disks with 1TB disks, the available space will double. One suggestion: replace as many disks as you intend to at the same time, so that ZFS only has to do on

Re: [zfs-discuss] questions about replacing a raidz2 vdev disk with a larger one

2008-10-11 Thread Tomas Ögren
On 11 October, 2008 - Vizzini Sampere sent me these 1,4K bytes: > I'd like to replace/upgrade two 500GB disks in RaidZ2 vdev with 1TB > disks, but I have some preliminary questions/concerns before trying > 'zfs replace dpool ???' > > Will ZFS permit this replacement? Yes. > Will ZFS use the ext

[zfs-discuss] questions about replacing a raidz2 vdev disk with a larger one

2008-10-11 Thread Vizzini Sampere
I'd like to replace/upgrade two 500GB disks in RaidZ2 vdev with 1TB disks, but I have some preliminary questions/concerns before trying 'zfs replace dpool …' Will ZFS permit this replacement? Will ZFS use the extra space in a heterogeneous RaidZ2 vdev, or is the size limited by the smallest dis