On 29/4/23 19:45, Frank Steinmetzger wrote:
Am Sat, Apr 29, 2023 at 01:20:52PM +0800 schrieb William Kenworthy:
Filesystem choice is very much to do with your particular use case.
I am not a fan of ext4 - lost too much data too many times. I ve found
btrfs and xfs much tougher, and the online tools much more convenient.
I’ve been using ext4 possibly (don’t know for sure) since it was available
in standard Gentoo land. I cannot remember ever having suffered data loss.
These days I like to experiment with more flash-friendly systems like f2fs,
which I use on the MicroSD card of my raspberry and the 400 GB data MicroSD
in my Surface Go tablet. I also test-drive it on my mini desktop PC (all
Arch linux) because, like all my machines, it has an SSD.
That
said btrfs has its less than stellar moments. I still have systems that use
ext4 and they "seem" reliable for light duty but I make sure I have backups
and do not trust them with anything important - been bitten too many times!
In what kind of situations did you encounter these problems?
It was particularly bad when used with Dirvish for backups (lose ALL
your backups at once) :( - not a problem with btrfs. Also a fixed number
of nodes on creation (annoying and sometimes disastrous when it runs out
- think lots of small files like mail storage), power outages cause what
seems like silent corruption that builds up. I will admit ext4 does
seem better these days but I am not a fan.
I am using btrfs on loopback container file systems (data for mail, web,
dav servers etc.) and that's not always successful with crashes - is
there a better one for this use case.
How do you find f2fs? - I lose (wear out I guess) SD cards on raspberry
pi and Odroid systems on a regular basis with any of the mainstream
filesystems - using them as a boot drive only extends their life, but
that's not always possible.
BillK