I've built & tested the new machine I was planning in 2022
& am at the point of designing the partitions.
For many years, I've used Reiserfs, but it is now obsolescent,
so I need to choose an alternative. Reiserfs seemed appropriate
for a system with a large number of small files.
Ext4 seems to be used by well-known binary distros.
What would others recommend ?
I've built & tested the new machine I was planning in 2022
& am at the point of designing the partitions.
For many years, I've used Reiserfs, but it is now obsolescent,
so I need to choose an alternative. Reiserfs seemed appropriate
for a system with a large number of small files.
Ext4 seems to be used by well-known binary distros.
What would others recommend ?
Ext4 seems to be used by well-known binary distros.
What would others recommend ?
On Thu, 2023-04-27 at 08:23 -0400, Philip Webb wrote:
Ext4 seems to be used by well-known binary distros.
There's a reason for this. It can fulfill all but the most niche or intensive roles, is robustly supported, well-tested both in
development and through wide use in the field, and generally "just
works".
It is a great general purpose file system, for general purpose
computing. Standard LAMP stack, desktop, laptop, HTPC, etc. are all satisfied by ext4
Since it is so broadly used and supported, you are guaranteed to find documentation for whatever feature or issue you discover.
What would others recommend ?
For general purpose computing/serving, in a non-scaling, non- performance-critical, non-experimental scenario, ext4
Unless[1] you are specifically:
* learning/exploring/experimenting
* storing billions of tiny files
* storing 1TB+ individual files
* not using any kind of backups[2]
--
[1] I'm certain that there are other use cases for which ext4 is not
an optimal choice, but I don't have first-hand experience with them.
[2] I'm aware that zfs and others can do snapshots for recovery and
"roll back" but there is no replacement for versioned hard copy
backups
On Thu, 2023-04-27 at 15:54 +0200, tastytea wrote:
btrfs and zfs have some useful features for normal use cases. the transparent compression can save a lot of space and even increase
speed in some cases, the checksumming guarantees that you will
never get a corrupt file and snapshots make backups and rollbacks
easier.
Does the transparent compression incur an overhead cost in processing,
memory use, or disk writes? I feel like it certainly has to at least
use more memory. Sorry if that's an RTFM question.
btrfs and zfs have some useful features for normal use cases. the
transparent compression can save a lot of space and even increase speed
in some cases, the checksumming guarantees that you will never get a
corrupt file and snapshots make backups and rollbacks easier.
however, they do need a bit more maintenance (described in their
respective wiki articles).
[2] I'm aware that zfs and others can do snapshots for recovery and
"roll back" but there is no replacement for versioned hard copy
backups
you can send snapshots to other drives or computers, either as full or incremental backups. i'd say it's pretty much the same. 😉
btrfs and zfs have some useful features for normal use cases. the
transparent compression can save a lot of space and even increase speed
in some cases, the checksumming guarantees that you will never get a
corrupt file
I've built & tested the new machine I was planning in 2022
& am at the point of designing the partitions.
For many years, I've used Reiserfs, but it is now obsolescent,
so I need to choose an alternative. Reiserfs seemed appropriate
for a system with a large number of small files.
Ext4 seems to be used by well-known binary distros.
What would others recommend ?
On Thu, 27 Apr 2023 15:54:34 +0200, tastytea wrote:
btrfs and zfs have some useful features for normal use cases. the transparent compression can save a lot of space and even increase
speed in some cases, the checksumming guarantees that you will
never get a corrupt file
That's only true if you use RAID, when there is a good copy to use. If
you have a single disk, they can only let you know a file is corrupt
but not restore it.
On Thu, 27 Apr 2023 15:54:34 +0200, tastytea wrote:
btrfs and zfs have some useful features for normal use cases. the
transparent compression can save a lot of space and even increase speed
in some cases, the checksumming guarantees that you will never get a
corrupt file
That's only true if you use RAID, when there is a good copy to use. If
you have a single disk, they can only let you know a file is corrupt but
not restore it.
On Thursday, 27 April 2023 13:23:01 BST Philip Webb wrote:
I've built & tested the new machine I was planning in 2022It depends: is this a UEFI machine?
& am at the point of designing the partitions.
For many years, I've used Reiserfs, but it is now obsolescent,
so I need to choose an alternative. Reiserfs seemed appropriate
for a system with a large number of small files.
Ext4 seems to be used by well-known binary distros.
What would others recommend ?
I've built & tested the new machine I was planning in 2022
& am at the point of designing the partitions.
For many years, I've used Reiserfs, but it is now obsolescent,
so I need to choose an alternative. Reiserfs seemed appropriate
for a system with a large number of small files.
Ext4 seems to be used by well-known binary distros.
What would others recommend ?
I've built & tested the new machine I was planning in 2022
& am at the point of designing the partitions.
For many years, I've used Reiserfs, but it is now obsolescent,
so I need to choose an alternative. Reiserfs seemed appropriate
for a system with a large number of small files.
Ext4 seems to be used by well-known binary distros.
What would others recommend ?
230428 Peter Humphrey wrote:
On Thursday, 27 April 2023 13:23:01 BST Philip Webb wrote:
I've built & tested the new machine I was planning in 2022
& am at the point of designing the partitions.
For many years, I've used Reiserfs, but it is now obsolescent,
so I need to choose an alternative. Reiserfs seemed appropriate
for a system with a large number of small files.
Ext4 seems to be used by well-known binary distros.
What would others recommend ?
It depends: is this a UEFI machine?
No, it isn't. I await your recommendation with bated breath (smile).
On Friday, 28 April 2023 10:08:01 BST Philip Webb wrote:
230428 Peter Humphrey wrote:
On Thursday, 27 April 2023 13:23:01 BST Philip Webb wrote:
I've built & tested the new machine I was planning in 2022
& am at the point of designing the partitions.
For many years, I've used Reiserfs, but it is now obsolescent,
so I need to choose an alternative. Reiserfs seemed appropriate
for a system with a large number of small files.
Ext4 seems to be used by well-known binary distros.
What would others recommend ?
It depends: is this a UEFI machine?
No, it isn't. I await your recommendation with bated breath (smile).
In that case I have nothing to add to others' suggestions; sorry. :)
On Friday, 28 April 2023 13:54:37 BST Peter Humphrey wrote:
On Friday, 28 April 2023 10:08:01 BST Philip Webb wrote:It used to be the case btrfs would suffer corruption if you ran out of space. I don't know if this is the same today. Anecdotally, I've run out of space and the fs did not become corrupt on that partition. It corrupted another time though, but thankfully no significant data loss happened after I ran btrfs scrub, followed by btrfs check.
230428 Peter Humphrey wrote:In that case I have nothing to add to others' suggestions; sorry. :)
On Thursday, 27 April 2023 13:23:01 BST Philip Webb wrote:No, it isn't. I await your recommendation with bated breath (smile).
I've built & tested the new machine I was planning in 2022It depends: is this a UEFI machine?
& am at the point of designing the partitions.
For many years, I've used Reiserfs, but it is now obsolescent,
so I need to choose an alternative. Reiserfs seemed appropriate
for a system with a large number of small files.
Ext4 seems to be used by well-known binary distros.
What would others recommend ?
Now I'm getting this warning on dmesg, but I have no idea what it means:
BTRFS warning (device sdb3): devid 1 physical 0 len 4194304 inside the reserved space
and the same on 3 other partitions on the same disk. :-/
NOTE: I don't recall ever having problems with ext4, for many years now.
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.
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!
Does the transparent compression incur an overhead cost in processing, memory use, or disk writes? I feel like it certainly has to at least
use more memory. Sorry if that's an RTFM question.
it'll use more cpu and memory, but disk writes and reads will be lower, because it compresses it on the fly.
it should detect early if a file is not compressible and stop.
Am Sat, Apr 29, 2023 at 01:20:52PM +0800 schrieb William Kenworthy:
ThatIn what kind of situations did you encounter these problems?
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!
On Saturday, 29 April 2023 12:45:31 BST Frank Steinmetzger wrote:
Am Sat, Apr 29, 2023 at 01:20:52PM +0800 schrieb William Kenworthy:
ThatIn what kind of situations did you encounter these problems?
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!
Can't speak for William, but it was a case where using older/early versions of
btrfs tools from some live-USB you found at the bottom of your bin of spares could cause worse damage and data loss on btrfs. I recall the devs recommending to always use the latest version if you were attempting a recovery of a damaged fs and seek advice if in doubt.
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’ve been using ext4 possibly (don’t know for sure) since it was available
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.
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.
ThatIn what kind of situations did you encounter these problems?
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!
ThatIn what kind of situations did you encounter these problems?
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!
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.
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.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 443 |
Nodes: | 16 (2 / 14) |
Uptime: | 66:49:03 |
Calls: | 9,194 |
Calls today: | 10 |
Files: | 13,475 |
Messages: | 6,052,401 |