public inbox for [email protected]
help / color / mirror / Atom feedFrom: Marcel Menzel <[email protected]>
To: [email protected]
Subject: pg_upgrade reflink support on OpenZFS
Date: Fri, 14 Nov 2025 19:16:16 +0100
Message-ID: <[email protected]> (raw)
Hello List,
For the PostgreSQL upgrade to version 18, I took the opportunity to test
the reflink support in pg_upgrade (with --clone) on OpenZFS 2.3.4 /
Linux 6.15.11 and it worked flawlessly, being a huge time saver here.
I've looked into the documentation for pg_upgrade and it's only
mentioning btrfs and XFS on Linux and not FreeBSD at all, so I thought
It'd be an interesting heads-up to report that Linux gained a 3rd FS and
also I think FreeBSD in general the ability for doing reflink copies.
OpenZFS has been supporting this since 2.2 but has had it disabled due
to data corruption bugs, now since 2.3 the sysctl (zfs_bclone_enabled on
Linux, vfs.zfs.bclone_enabled on FreeBSD) has been enabled by default so
only the zpool feature "block_cloning" has to be enabled, which might be
the case when running "zpool upgrade".
I haven't had the possibility to check this on FreeBSD yet, but I don't
see why this should not work as I also can't spot anything in the
OpenZFS docs regarding reflink / block cloning limitations on FreeBSD.
Also I saw one of the OpenZFS devs writing on Reddit about block cloning
being supported on FreeBSD v14.
Regards,
Marcel
view thread (2+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: pg_upgrade reflink support on OpenZFS
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox