Re: Expanding ZFS RAIDZ on the fly?

2013-01-12 Thread Gary Palmer
On Sat, Jan 12, 2013 at 04:11:18PM -0500, xenophon\+freebsd wrote:
> > -Original Message-
> > From: owner-freebsd-curr...@freebsd.org [mailto:owner-freebsd-
> > curr...@freebsd.org] On Behalf Of Gary Palmer
> > Sent: Friday, January 11, 2013 6:34 PM
> > 
> > BPR doesn't look likely, unfortunately.
> 
> I wonder how other SANs implement restriping.  The HP P4000/P4500 can
> restripe logical units, and it even maintains data redundancy in the
> process.

Probably more relevantly, NetApp can do it in WAFL, and WAFL uses a number
of concepts similar to ZFS in is design (witness the Sun/NetApp patent punch
up).  From what I understand of the NetApp method, they add the space to
the pool and as data is written to the volume, some of it is written to
the new disks.  Because WAFL is a COW storage system, like ZFS, even if
no new data is added, just modified in place, over time the storage is
balanced out among members of the aggregate (pool).  There is also a command
to forcibly rebalance the data from memory.

I don't know enough about ZFS to know why something similar can't be done

Gary
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


RE: Expanding ZFS RAIDZ on the fly?

2013-01-12 Thread xenophon\+freebsd
> -Original Message-
> From: owner-freebsd-curr...@freebsd.org [mailto:owner-freebsd-
> curr...@freebsd.org] On Behalf Of Gary Palmer
> Sent: Friday, January 11, 2013 6:34 PM
> 
> BPR doesn't look likely, unfortunately.

I wonder how other SANs implement restriping.  The HP P4000/P4500 can
restripe logical units, and it even maintains data redundancy in the
process.

-- 
I FIGHT FOR THE USERS

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Expanding ZFS RAIDZ on the fly?

2013-01-11 Thread Gary Palmer
On Fri, Jan 11, 2013 at 03:30:44PM -0500, Matthew X. Economou wrote:
> Speaking of ZFS restriping, is anyone (Oracle/FreeBSD/etc.) actively
> working on block pointer rewrite functionality for ZFS?

If Oracle does it, I wouldn't expect to see it released in source code
form for the rest of us to use.

Regarding non-Oracle entities developing the code

http://www.mail-archive.com/discuss@lists.illumos.org.hold.archive.listbox.com/msg2.html

BPR doesn't look likely, unfortunately.

Regards,

Gary
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


RE: Expanding ZFS RAIDZ on the fly?

2013-01-11 Thread Matthew X. Economou
Speaking of ZFS restriping, is anyone (Oracle/FreeBSD/etc.) actively
working on block pointer rewrite functionality for ZFS?

-- 
I FIGHT FOR THE USERS


___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Expanding ZFS RAIDZ on the fly?

2013-01-11 Thread Paul Schenkeveld
On Fri, Jan 11, 2013 at 10:39:10AM +, Tom Evans wrote:
> On Fri, Jan 11, 2013 at 7:10 AM, O. Hartmann
>  wrote:
> > My question may sound naiv, sorry.
> >
> > I have already set up a RAIDZ (on FreeBSD 10.0-CUR), comprised with
> > three 3 TB disks. I'd like to expand the array with an additional disk -
> > on the fly.
> >
> > oh
> >
> 
> It's not possible to expand by just 1 disk. Expanding with another 3
> disks is possible though, or "backup, destroy, create, restore".
> 
> Expanding or reducing the number of disks in a raidz is the mythical
> block pointer rewrite functionality, google will tell more.

Another growth path is replacing each of the existing disks by larger
ones and resilvering the data with 'zpool replace ...'. Having a spare
drive bay is really a help so if you wanted to add just a 4th drive
because you've only one bay left you should consider leaving that one
unoccupied so you can easily grow to bigger disks now or in the future.

HTH

Paul Schenkeveld
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Expanding ZFS RAIDZ on the fly?

2013-01-11 Thread Tom Evans
On Fri, Jan 11, 2013 at 7:10 AM, O. Hartmann
 wrote:
> My question may sound naiv, sorry.
>
> I have already set up a RAIDZ (on FreeBSD 10.0-CUR), comprised with
> three 3 TB disks. I'd like to expand the array with an additional disk -
> on the fly.
>
> oh
>

It's not possible to expand by just 1 disk. Expanding with another 3
disks is possible though, or "backup, destroy, create, restore".

Expanding or reducing the number of disks in a raidz is the mythical
block pointer rewrite functionality, google will tell more.

Cheers

Tom
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"