You are not logged in.

#1 2013-09-11 17:29:54

dragonn
Member
Registered: 2012-05-04
Posts: 65

[SOLVED][F2FS] Safe to use or not?

The performance of F2FS looks really good against ext4, but F2FS still don't have working fsck hmm. So the question is - any one have corrupted his f2fs file system? Sometime ago I have used btrfs and I was a small step from loosing my data hmm.

Last edited by dragonn (2013-09-11 21:20:01)

Offline

#2 2013-09-11 17:55:54

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED][F2FS] Safe to use or not?

Backups?

Offline

#3 2013-09-11 18:08:28

dragonn
Member
Registered: 2012-05-04
Posts: 65

Re: [SOLVED][F2FS] Safe to use or not?

Backups are good wink, but I don't do it everyday (I only have a 500GB USB drive for backups). After the issue with btrfs I do as often as possible backups tongue, but this isn't an answer for my question.

Offline

#4 2013-09-11 18:30:43

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [SOLVED][F2FS] Safe to use or not?

I've been using f2fs in a usb flash drive and so far so good, I haven't been forced to do any unclean shutdowns yet though (that I an remember). I do make (when I remember) weekly backups of the full flash drive so I'm not very worried about filesystem corruption.

One things I've noticed is that f2fs doesn't yet support capabilities, this makes some stuff not work as intended, one example that I remember is wireshark, it will complain when installing that it cant set the proper capabilities and aftereard it will only work as root, so take that in consideration before making the jump.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#5 2013-09-11 18:34:04

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED][F2FS] Safe to use or not?

The answers you may get here are not meaningful, because the number of people is too small. AFAIK corruption may occur, so if you're worried, stay with ext4. It's a risk-reward play until they create f2fs fsck that can fix stuff.
Are you using f2fs for an HDD? How big is the drive you plan to use f2fs for?

Offline

#6 2013-09-11 20:01:15

andy123
Member
Registered: 2011-11-04
Posts: 169
Website

Re: [SOLVED][F2FS] Safe to use or not?

I used it for the root partition on a arch install to a usb stick and did lots of unclean shutdowns. This managed to corrupt the filesystem, but it was probably over a mont ago and is most likely fixed now.

R00KIE wrote:

One things I've noticed is that f2fs doesn't yet support capabilities, this makes some stuff not work as intended, one example that I remember is wireshark, it will complain when installing that it cant set the proper capabilities and aftereard it will only work as root, so take that in consideration before making the jump.

Wasn't that introduced in 3.11?

Plus, there is a fsck tool. The easiest way to install it is from aur/f2fs-tools-git.


i'm sorry for my poor english wirting skills…

Offline

#7 2013-09-11 20:15:55

dragonn
Member
Registered: 2012-05-04
Posts: 65

Re: [SOLVED][F2FS] Safe to use or not?

The fsck tool for now only shows errors in the file system but it can not repair a broken file system (as I know for the last commit in the git). andy123 how did you fix the corrupt filesystem?

Offline

#8 2013-09-11 20:49:18

andy123
Member
Registered: 2011-11-04
Posts: 169
Website

Re: [SOLVED][F2FS] Safe to use or not?

dragonn wrote:

The fsck tool for now only shows errors in the file system but it can not repair a broken file system (as I know for the last commit in the git). andy123 how did you fix the corrupt filesystem?

I though it did some repair stuff, but I checked and it seems like you are right.
I didn't fix the currupt fs, because it wasn't important/I had other things to do. I didn't find the time to report it, but I assume the errors causing it are fixed now anyways.
As other said, keep backups and if it's critical don't use it, because you'll be a tester.


i'm sorry for my poor english wirting skills…

Offline

#9 2013-09-11 20:51:23

dragonn
Member
Registered: 2012-05-04
Posts: 65

Re: [SOLVED][F2FS] Safe to use or not?

Ok, thanks all for the answers wink. I think I will move to f2fs only on / and left /home on ext4.

Offline

#10 2013-09-12 10:07:15

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [SOLVED][F2FS] Safe to use or not?

andy123 wrote:
R00KIE wrote:

One things I've noticed is that f2fs doesn't yet support capabilities, this makes some stuff not work as intended, one example that I remember is wireshark, it will complain when installing that it cant set the proper capabilities and aftereard it will only work as root, so take that in consideration before making the jump.

Wasn't that introduced in 3.11?

I'm not sure, if the correct name for capabilities is xattr security labels then yes [1]. I'm still using the 3.10 kernel and I haven't tested 3.11 yet but once the stable 3.11 comes down the interpipes I'll try and see if it works.

[1] http://lkml.indiana.edu/hypermail/linux … 00630.html

Edit:
Having now tested linux 3.11 I can confirm that xattr security labels do indeed work, (re)installing wireshark or any other package that makes use of setcap does not throw any errors.

Last edited by R00KIE (2013-09-17 14:17:15)


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

Board footer

Powered by FluxBB