Questions tagged [f2fs]

F2FS (Flash-Friendly File System) is a flash file system initially developed by Samsung Electronics for the Linux kernel.

F2FS (Flash-Friendly File System) is a flash file system initially developed by Samsung Electronics for the Linux kernel.

Source: https://en.wikipedia.org/wiki/F2FS

23 questions
8
votes
2 answers

How to change the filesystem label and UUID of a F2FS filesystem?

How to change the filesystem label and UUID of a F2FS filesystem? For EXT filesystems tune2fs from e2fsprogs has the -L new_label and -U uuid command-line options, but none of the utilities installed by f2fs-tools 1.13.0 (latest version at the…
jotik
  • 183
  • 5
8
votes
2 answers

How To F2FS Filesystem Encryption?

I read that the f2fs format is good for SSD storage so I formatted one of my drives with it. I also read in some kernel notes that encryption was added for it but there's no documentation to speak of. I typically prefer whole disk encryption. I'm…
xendi
  • 603
  • 7
  • 21
6
votes
1 answer

Wrong inode: corrupted f2fs, fsck.f2fs cannot repair

A f2fs partition on my Android phone has recently become corrupted. It will still mount fine; however, I completely lost access to one directory (/data/media/0), which now shows as empty. Yet the disk space hasn't changed at all. When running…
Léo Lam
  • 113
  • 1
  • 2
  • 11
4
votes
2 answers

F2FS feature-list

In the man page of mkfs.f2fs, I see the option: -O feature-list Specify a feature list in order f2fs filesystem will supports. e.g "encrypt" and so on I'd like to know how can I get the full list of the optional features of f2fs and whether it is…
user252842
3
votes
0 answers

In f2fs (Flash-Friendly Filesystem) what is heap-based allocation?

When creating a new Flash-Friendly Filesystem (f2fs) with mkfs.f2fs, there is a switch to turn on or off what is described as "heap-based allocation". The man page describes the switch as: -a heap-based-allocation Specify 1 or 0 to enable/disable…
Kurt Fitzner
  • 197
  • 7
3
votes
1 answer

How can I enable transparent compression on exisitng f2fs partition?

As far as I know it is possible to enable on new partition. Is there any way to enable compression on existing f2fs partition? I don't want to wipe and create a new partition to enable this feature.
Arun_005
  • 31
  • 1
3
votes
0 answers

tune2fs for f2fs

Is there a tool for editing (and viewing) the file system features for f2fs just like tune2fs for ext234? For instance you can get summarized info about the corresponding extX partition: # tune2fs -l /dev/path/to/disk To enable checksums on an…
user252842
3
votes
1 answer

Repairing or Recovering files from a Corrupted F2FS partition?

I have a f2fs partition with missing Superblock. I made a disk image so I would not destroy the original partition trying to fix. sd-repair# fsck.f2fs sd128.img Info: Segments per section = 1 Info: Sections per zone = 1 Info: sector size =…
Jcfunk
  • 101
  • 2
  • 5
3
votes
2 answers

How to encrypt a file or a folder on f2fs?

f2fs supports per-file encryption, however I can't find any resources about it. I know about eCryptFS, LUKS and encfs, that's not the same.
OneOfOne
  • 1,375
  • 9
  • 16
2
votes
1 answer

Unable to mount F2FS partitions

I installed the f2fs-tools package in my Fedora system. I created a f2fs partition using mkfs.f2fs on my sdcard, but now I'm unable to use it. The system is unable to mount automatically nor manually the partition. Does anyone have some insight in…
NotFromBrooklyn
  • 504
  • 2
  • 6
  • 17
1
vote
1 answer

What linux distro support SMR HDD by file system?

According to this Seagate presentation there are some ongoing (?) efforts targeted toward modification of ext4 file system introducing SMRFS -EXT4 - support of hmHDD. The goal is to provide layer that will hide specifics of ZAC commands from…
Vlad
  • 113
  • 8
1
vote
1 answer

How to I find F2FS compression ratio

I have f2fs partition formatted with -O extra_attrs,compression. I've applied chattr +c to / before installing Archlinux. du shows 6.4G used and df shows 6.5G used. Compression algorithm is set in the fstab. How do I check that files are compressed…
1
vote
2 answers

Can VFS read/write operations be performed on an unformatted storage device in Linux?

As per my understanding, READ/WRITE etc are file system operations in linux. The file systems registers callbacks with the Kernel (VFS) and are in turn called by it when the particular FS is detected during a READ/WRITE operation. For…
1
vote
1 answer

Does F2FS support permissions and symlinks?

Just wondering before I do the migration from EXT4 to F2FS for my Raspberry Pi setup. Does F2FS support permissions and symlinks? https://github.com/Fourdee/DietPi/issues/606#issuecomment-260327177
1
vote
1 answer

Creating F2FS volume with specified size on Android

My smartphone is booted to the TWRP recovery and I'm running the ADB Shell as root on Windows. I have fully unmounted /data with the following command: umount /dev/block/mmcblk0p36 Then checked it's size: fsck.f2fs…
Marc.2377
  • 1,072
  • 1
  • 17
  • 41
1
2