f2fs on top ov LV
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?
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.
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?
Thanks a lot for any answers,
bye,
Signature · 5 lines
piergiorgio ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Hi,
Quoted 10 lines · Piergiorgio Sartor
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.
Quoted 8 lines
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.
Quoted 7 lines
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.
Quoted 5 lines
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,
Quoted 5 lines
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