Bug 922966

Summary: mount: unknown filesystem type 'f2fs'
Product: [Fedora] Fedora Reporter: Maxim Prohorenko <maxim.prohorenko>
Component: util-linuxAssignee: Karel Zak <kzak>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: darkhado, gansalmon, itamar, jonathan, kernel-maint, kzak, madhu.chinakonda, mluscon
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-15 09:26:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Maxim Prohorenko 2013-03-18 21:32:19 UTC
Description of problem: f2fs filesystem cannot be mounted.


Version-Release number of selected component (if applicable):

util-linux-2.22.2-6.fc18.x86_64
f2fs-tools-1.0.0-3.fc18.x86_64

How reproducible:
Format f2fs partition


Steps to Reproduce:
1. Format f2fs partition
mkfs.f2fs /dev/sdc1

2. Try mount it
mount -t f2fs /dev/sdc1 /mnt/
  
Actual results:
1. Format - ok
Info: sector size = 512
Info: total sectors = 131134063 (in 512bytes)
Info: zone aligned segment0 blkaddr: 256
Info: This device doesn't support TRIM
Info: format successful

2. Mount - error
mount: unknown filesystem type 'f2fs'

Expected results:
mount: without errors

Additional info:

Comment 1 Karel Zak 2013-03-21 07:36:54 UTC
Are you really sure that the kernel supports f2fs?

 grep F2FS /boot/config-3.8.3-203.fc18.x86_64
 # CONFIG_F2FS_FS is not set

You have to convince fedora kernel maintainers to enable the filesystem :-) Reassigning...

Comment 2 Maxim Prohorenko 2013-03-21 07:46:48 UTC
I build and install kernel module f2fs.ko.
But it does not solve my problem too.
Mount know about f2fs but can't mount disk formatted by mkfs.f2fs

Comment 3 Josh Boyer 2013-03-21 14:09:52 UTC
Yeah, we don't build this.  If you're building it yourself, that's fine but this isn't a fedora kernel problem.

You'll want to show the output of lsmod and /proc/filesystems after you load your driver.

Karel, I'm passing it back to you for now.  If you don't think this is an issue in util-linux then please just close it as NOTABUG or WONTFIX given the fedora kernel doesn't build this filesystem.

Comment 4 Karel Zak 2013-04-15 09:26:47 UTC
Note that libblkid is able to detect f2fs since util-linux 2.23.