ZFS pool restructuring and emergency repair

Xin Li delphij at delphij.net
Tue Jun 23 00:40:16 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 06/22/15 17:04, kpneal at pobox.com wrote:
> On Mon, Jun 22, 2015 at 06:13:27PM -0500, Bob Friesenhahn wrote:
>> On Mon, 22 Jun 2015, Quartz wrote:
>> 
>>>> Although in one of Matt Ahrens talks at BSDCan he spoke of
>>>> plans to change this.  Essentially you'ld be able to offline
>>>> a vdev, and a background process (like scrub) would copy all
>>>> the data blocks from that device to elsewhere in the pool.
>>>> Once finished, the devices making up the vdev could be
>>>> physically removed.
>>> 
>>> Oh, that would be nice. Was there a timeline guesstimate for
>>> when that would be implemented, or was it more a "maybe
>>> someday" thing?
>> 
>> This has been planned for perhaps 8 years already.  Still in the
>>  original status.
> 
> Is this via "block pointer rewrite"?

Actually the vdev removal feature is implemented back in last December
(bcc'ed Matt in case he want to chime in) by Delphix.  If I remember
correctly, it's almost finished at the time we had OpenZFS developer
summit last year.

The initial changeset is about 5000 or 5500 lines of changes and is
not integrated into Illumos repository yet.

==

The block pointer rewrite is something that would complicate the ZFS
code quite a lot (and possibly also break many layering design) so
don't expect it happening anytime soon.

Cheers,
- -- 
Xin LI <delphij at delphij.net>    https://www.delphij.net/
FreeBSD - The Power to Serve!           Live free or die
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.1.5 (FreeBSD)

iQIcBAEBCgAGBQJViKrtAAoJEJW2GBstM+nspCYP/RSXZT9Ni/Asc17hkuro/0jR
lwDrkQkDrGin8/ACZ8MKNnVpdRIysuMvPD9fsi5pq7N9/nnGFf1Xq0EF7dYDn+bl
UpxnXJ678lnpwTls0NXo93RoPxzsBEzAbMjmJ4YWEWOe0iKnwj+hL4d7WoHYu0tM
mqFWpBM4kefd0QDjMLOMK58z20qdNqIPFxTMP+pTiVycl4x8lb284hLEWmi6u1g/
1u57PowRwCOWPxISuunUgeKpkz2c05YTG4vQzm2p9kzhjV2lrqNiNLSxPMv4FEfI
NTKSoscyfznm6GAOT+yV9HfepzZiWDQaG2l8epRA9hn+KhzMUsium3kX/3JHwL97
ybFqvPj46QzkVjnaTgAw2rsYqaYlDcBmJ6xKU/J+u+aq55VKnyN2sLYLYxD576QS
IgN7LYgMCp+6YCU+oOGhmwzcAlF4kykjeW//om3Kjr4VY7Fk7jEBC20vMn5bBobj
jtluxyDk2t3ccjbdNzAjHsgmzDSwQodgfsMjj7U35pTI6YkWG3Ywc/D7oLoc9C6K
oVZSJsh11tjCO0D6XZx2Nv3hy1Y3Lr8AAZ7SJnpm4zEBKx3HYyPWCtwjA3quSPxx
OSW3I7AlUUYaDfYrTIM3mrm4XOd5IBxGKfAbgdF/hQDTRQZUQXchqMxzfC6rEtv/
Djz/XVE1Ad9RgST3gzA+
=e4aP
-----END PGP SIGNATURE-----


More information about the freebsd-fs mailing list