On 08/05/2021 17.37, Sid Boyce wrote:
Users response.
Regards
Sid.
-------- Forwarded Message -------- Subject: Re: Fwd: snapshots filling up SSD Date: Sat, 8 May 2021 15:29:09 +0000 From: Sav. Mellor <> To: Sid Boyce <>
Hi Sid, thanks for that. I think, though, that the point is that installing Opensuse Leap from the DVD download, configures the disk, regardless of technology, as a 40GB btrfs partition, a swap partition and the rest of the disk as an xfs partition. The reason the documentation gives is to protect your user data if you need to rollback a faulty update, which makes sense, I used to configure my Windows HDDs
that way for the same reason, albeit with a much bigger system partition. The standard install for Opensuse then sets up the snapshots
retention as 20 plus 20. I think the 40 GB and snapshot retention numbers are a mismatch. I think either a 64 GB btrfs and 20 plus 20 or 40 GB btrfs and 10 plus 10 would be better matched.
Sizing correctly a root partition for someone and get it right at the first go is an art. I'd probably select 80 or 120 GB for the root btrfs system (and the rest for /home and swap), but I'd probably end with a lot of space unused. I would also probably add a 10 GB spare partition for emergencies with a secondary system. It is normal to install a machine and sometime later redo it completely with different choices, after having some actual experience of the usage.
As your correspondents noted, anyone encountering a btrfs configuration
for the first time would expect that the "standard configuration" would
be appropriate. Clearly, in the case of my SSD, it was not.
That the SSD machine was impacted and another with "rotating rust" was not, can't be related to being SSD or not.
The more I think about it, I'm convinced that a btrfs root "/" and xfs data "/home" configuration is fine for HDDs but not for SSDs, because of the wear considerations on SSDs. I think the "standard configuration" installer should allocate just a brtfs and a swap partition on a SSD, like your configuration, with the option to split root and home if you know what you are doing. Incidentally, on the two Windows systems I still have (applications not compatible with Linux) that have SSDs, I run them as a single partition, because of the wear considerations.
SSD are partitioned the same as normal disks, there is no difference. You could leave some space outside of any partition for wear levelling. -- Cheers / Saludos, Carlos E. R. (from 15.2 x86_64 at Telcontar)