Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How do you do snapshots on ext4? Don't large datasets take forever?


I don't think ext4 has native snapshots. You can use lvm-thin for snapshots. Note that lvm-thin is different from regular lvm snapshots, which are known to be inefficient. RHEL has decent support for this feature, and will even let you set it up in the GUI during installation.


That snapshots the entire volume, though, right? I don't want to waste time on snapshotting my movies when all I want is my family photos...

It seems that the GP's point that the fs should just store files is rather debunked, as snapshots are an extremely useful feature for a filesystem.


Yes snapshots are for volumes. There's also a yum plugin which will do before and after snapshots. Rhel and suse have this feature which works with lvm-thin as well as btrfs.


lvm-thin snapshots the entire volume but in a more Copy-on-Write like way.

https://access.redhat.com/documentation/en-US/Red_Hat_Enterp...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: