DEV Community

BtrFS, ZFS, and More

Roy Keene on July 03, 2019

Butter Filesystem. Hold the toast. I've started experimenting with BtrFS which aims to provide an "advanced and modern filesystem" (hea...
Collapse
 
jebotz profile image
Jürgen Botz

For Task 8: Rollback a snapshot, you say "not sure" for btrfs. The answer is that snapshots are completely equivalent to subvolumes, so you just start using (and mounting, if appropriate) the snapshot instead of the "original" subvolume (and delete that one if you want).

Collapse
 
jebotz profile image
Jürgen Botz

Oh, and you can put a swapfile on a btrfs filesystem nowadays, as well as any kind of other file that is meant to serve as storage for a block device (such as VM images, etc.). The key is to set the NoCOW attribute on the subvolume or directory those files live in; that done, today's btrfs is no worse for this usecase than any other filesystem.

Collapse
 
jebotz profile image
Jürgen Botz • Edited

I'm really curious what you mean by CLI integration... the footnote doesn't help. Please explain your "subjective" understanding of this.

Collapse
 
petteyg profile image
Gordon

GRUB2 has been able to boot to LVM for a long time.