On 2018/2/3 1:29, Piergiorgio Sartor wrote:
> Hi all,
> I'm planning to prepare a Linux installation
> on an USB flash drive.
> The idea is to have /boot (with ext, since grub2
> does not support f2fs yet) and / with f2fs.
> Both on the USB flash drive while /home will be
> somewhere else.
> Now, I've a backup tool exploiting lvm snapshots
> and I would like to use it.
> This means / will be on top of an LV.
> Does it make any sense to have f2fs over lvm?
> Will still be some benefits from f2fs in this
> setup?

I think it's OK to build f2fs image based on lvm, and IMO, there
will be no difference when building image on lvm partition or raw
partition, since f2fs won't be aware of lvm.

> How about snapshots? Could they cause problems?
> Usually the filesystem mounted from lvm snapshot
> has consistency issues, which are they usually
> solved by journal.
> I guess f2fs should be fine, but I would like to
> confirm with experts here.

f2fs supports fsfreeze and roll-forward recovery, so I think
it's fine to use lvm snapshot on f2fs image.

> Of course, one possibility would be to use f2fs
> on the raw partition, waiting for snapshot to
> be implemented.
> What's the plan about this?

It's in todo list, but it's not critical for us to implement
this feature as in usual android scenario there is no strong
demand to use this feature.


> Thanks a lot for any answers,
> bye,

Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Linux-f2fs-devel mailing list

Reply via email to