Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Support F2FS filesystem for root partition #471

Open
jimis opened this issue Nov 22, 2020 · 6 comments
Open

Feature request: Support F2FS filesystem for root partition #471

jimis opened this issue Nov 22, 2020 · 6 comments

Comments

@jimis
Copy link

jimis commented Nov 22, 2020

I guess this is more appropriate project to report this feature request. Copying verbatim from raspberrypi/noobs#596 :

F2FS has been designed on the basis of log-structured filesystems, with the goal of performing optimally on managed flash media like SD cards, minimizing writes and extending their lifetime. It has seen some usage on Android phones, and it's constantly being improved with features that Raspberry Pi would very much like to have, like online compression.

Currently Raspberry Pi OS root partition can be converted to F2FS using a time-consuming process:

  • Mount SD card with Linux PC
  • Back up root partition
  • Make F2FS filesystem on the SD card
  • Restore backup to the new partition
  • Update fstab and boot command line on the SD card

This is a dangerous and write-intensive process. In order to avoid it, it would be nice if installation could be done directly on a F2FS root partition.

@XECDesign
Copy link
Member

Just waiting for some evidence that F2FS fixes more issues than it causes. At the very least, right now runs fsck on every single boot and I'm not sure that it can recover if it finds an issue, since it's running on a mounted partition. I suspect it will need initramfs to work properly.

https://www.raspberrypi.org/forums/viewtopic.php?t=273490

@rekcodocker
Copy link

If you want evidence, it would be nice to create an image which runs on F2FS. Call it 'experimental' and collect evidence.
Right now there are 3 options if someone wants to use F2FS:

  • there is an older Rasbian image (I believe 2020);
  • there is a conversion script ( cv2f2fs ). Very nice but cumbersome. Requires an extra USB disk. Does not support compression.
    Not for the average user.
  • DIY - also not for the average user.

It'd be nice to add a smoother more accessable option. No need to throw out EXT4; just to gather evidence.

@XECDesign
Copy link
Member

There'a already a link to an experimental image.

@rekcodocker
Copy link

Indeed there is!
Apologies for my thankless attitude, however, that particular image is over a year and a half old now.

@trosenkranz
Copy link

Hello everybody,

Is there any update on this issue?

Thanks Tobias

@TipsyTheCat
Copy link

It's been 4 years, F2FS has had many improvements and i think it's time this gets more attention

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants