logoalt Hacker News

gucci-on-fleektoday at 9:14 AM2 repliesview on HN

With btrfs, you can freely create subvolumes and snapshots anywhere (including nested inside of each other), you can have thousands of them without any noticeable performance impact, and you can easily convert a snapshot to a writable subvolume. I don't have much experience with ZFS, but from reading another post [0], my impression is that this isn't really doable with ZFS. And based off of rift's Readme, I think that these features are required for it to work. But I'm not an expert, so I may be mistaken about something here.

[0]: https://news.ycombinator.com/item?id=45077119


Replies

_fluxtoday at 9:45 AM

How about cp --reflink? Supported by btrfs, bcachefs and zfs. It's quite not as fast as subvolumes in btrfs, but it should be plenty fast.

This should actually be a feature for git itself, if it's not already.

show 1 reply
andomatoday at 9:46 AM

Also you can create and destroy (assuming the 'user_subvol_rm_allowed' mount option) BTRFS subvolumes without being root.