linux-f2fs-devel.lists.sourceforge.net archive mirror
 help / color / mirror / Atom feed
* f2fs on top ov LV
@ 2018-02-02 17:29 Piergiorgio Sartor
  2018-02-04 14:54 ` Chao Yu
  0 siblings, 1 reply; 2+ messages in thread
From: Piergiorgio Sartor @ 2018-02-02 17:29 UTC (permalink / raw)
  To: linux-f2fs-devel

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,

-- 

piergiorgio

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: f2fs on top ov LV
  2018-02-02 17:29 f2fs on top ov LV Piergiorgio Sartor
@ 2018-02-04 14:54 ` Chao Yu
  0 siblings, 0 replies; 2+ messages in thread
From: Chao Yu @ 2018-02-04 14:54 UTC (permalink / raw)
  To: Piergiorgio Sartor, linux-f2fs-devel

Hi,

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,

> 
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-02-04 14:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-02 17:29 f2fs on top ov LV Piergiorgio Sartor
2018-02-04 14:54 ` Chao Yu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).