Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5001

Troubleshooting • Re: [Solved/explained] RPi 5 mounting error of portable SSD: Filesystem type f2fs not configured in kernel

$
0
0
Thanks! redvli for the hint, where to find the configuration file for the kernel: in the /boot map.

As in this map two kernel images are stored, also two config files can be found. Looking into these files,
they differ slightly, config-6.6.31+rpt-rpi-2712 with a page size of 16k, config-6.6.31+rpt-rpi-v8 of 4k.

But in respect to the F2FS_FS the configuration is identical!

Something, what the dmesg message already might imply: [ 21.335587] request_module fs-f2fs succeeded, but still no fs?

After further comparison of the different RPi set-ups, including the config.txt file, I found a link between mounting and not mounting of this filesystem: the chosen kernel in the config.txt file.

Initially, I had no explicit kernel image written in the config.txt, still the device booted, all seems to work well.
From https://www.raspberrypi.com/documentati ... tml#kernel:
The Raspberry Pi 5 firmware defaults to loading kernel_2712.img because this image contains optimisations specific to Raspberry Pi 5 (e.g. 16K page-size). If this file is not present, then the common 64-bit kernel (kernel8.img) will be loaded instead.

Though,
[all]
kernel=kernel_2712.img will not mount F2FS_FS, its page size: 16k

[all]
kernel=kernel8.img will mount F2FS_FS, its page size: 4k

Redvli, you mentioned it already:
Avoid kernels with 16k pages (the default with RPiOS on RPi5) as older/current F2FS has issues, I hope you know and know what you are doing.
No, I wasn't aware of it, but found a clear explanation: https://lwn.net/Articles/946318/
With the F2FS_FS the internal block size is/was linked to the page size of the system. Starting from Linux 6.7, F2FS will support a 16k page size on a Linux system with 16k pages, but still not a 16k system with a F2FS_FS with an internal block size of 4k.

This SSD has been formatted some time ago on an Ubuntu laptop. I guess, now, I have to move to another Flash-Friendly File-System for that portable SSD, any suggestions for a reasonable filesystem?
Purpose is to frequently exchange small, but also large files between different Linux systems: RPi's 3,4,5 and a laptop?

Statistics: Posted by accfR — Wed Aug 14, 2024 9:21 pm



Viewing all articles
Browse latest Browse all 5001

Trending Articles