Comments on Which file systems support file cloning

Be civil and read the entire article first. This is not a support forum. Comments from new contributors are moderated. English only.

Leave a comment

Required. Optional. E.g. your homepage, Twitter. or Email required unless anonymous. Not published or shared. Reuse to be recognized as the same commenter.
Plain-text only. Begin lines with a > character to quote.

Louis

Android uses EXT4 and seems to have everything in place to support cloned extents. However, the syscalls always return EPERM suggesting that the file descriptor is immutable.

Benjamin

Why would you write that about OpenZFS? It's available as a kernel module for linux. Embrace of OpenZFS only continues to increase on linux.

What you try to hide is that OpenZFS doesn't need special handling for "cloning": it happens by default, at the filesystem level, as a symptom of using filesystem clones.

Unlike btrfs, it has not been intentionally deprecated by major distributions due to lack of data safety.

Benjamin, what I’ve written about OpenZFS is true. It’s not available as part of the Linux Kernel nor managed by the Kernel project. In practice, this means that the Kernel occasionally makes changes that break the OpenZFS module. This has happen on several occasions already.

I think you have misunderstood the premise of the article. I’ve written about file cloning and not file system cloning. It’s a different use case using the same underlying technology. OpenZFS does not support file cloning.

BtrFS is maintained by the Kernel and it sees ongoing work and contributions from major companies all the time. It has not been deprecated.