Am 24.02.20 um 12:55 schrieb Matthias G. Eckermann:
well. I would have never called this "40GiB" a "rule", but more a "recommendation" for a btrfs root filesystem *with* snapshots enabled, and this recommendation has a *lot* of safety buffer included.
No, it has not. It is the total recipe for disaster and downtime. Been there, fixed that. On SLES though, not on openSUSE.
Mind that this heavily depends on the - distribution and - your personal way of applying updates.
To add some details:
* For a Tumbleweed with add-hoc updates enabled, I would rate 40 GiB the lower limit, indeed, better more, as you have a lot of change, thus lots of snapshots and lots of metadata.
* For a Leap or SUSE Linux Enterprise with, let's say, planned weekly updates, you can easily work with a
nobody does this. The machine is installed, runs for a year or so, and then security comes around and urges for maintenance. The "update" of course contains a new service pack. Boom. No space left on device. Possible that this was with even lower default rootfs sizes in early SLES12, but still I would not use anything less than 100GB, because nobody can reliably predict what amount of storage will be lost to the dark gods of btrfs.
That said, for a Raspberry Pi and an SD card, I would recommend to apply updates rather carefully and not in tumbleweed style, because the SD card might not like this too much:-/ Thus, a
...coming back to topic of this ml... ;-) I have never seen a SD card die on my because of "too many writes", the wear leveling stuff seems to work good enough. I only use Sandisk (and nowadays Sandisk Extreme or Pro), though. I have only have them break mechanically (they do stick out of the board and thus can get broken mechanically) or have them killed by overvoltage spikes etc. Also the performance of my SD cards is good enough that I do not think that compression improves it much, and the cost of the btrfsmaintenance tasks would probably be pretty bad on raspi-grade hardware. So for me it's XFS, because I love my data and want to have it back ;-) -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org