From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-205343-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 26533158B20
	for <garchives@archives.gentoo.org>; Sat, 01 Feb 2025 21:56:48 +0000 (UTC)
Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	(Authenticated sender: relay-lists.gentoo.org@gentoo.org)
	by smtp.gentoo.org (Postfix) with ESMTPSA id 10AC6343165
	for <garchives@archives.gentoo.org>; Sat, 01 Feb 2025 21:56:48 +0000 (UTC)
Received: from bobolink.gentoo.org (localhost [127.0.0.1])
	by bobolink.gentoo.org (Postfix) with ESMTP id D7D5F11047D;
	Sat, 01 Feb 2025 21:55:41 +0000 (UTC)
Received: from mail-il1-f178.google.com (mail-il1-f178.google.com [209.85.166.178])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by bobolink.gentoo.org (Postfix) with ESMTPS id A26C51103B6
	for <gentoo-user@lists.gentoo.org>; Sat, 01 Feb 2025 21:55:40 +0000 (UTC)
Received: by mail-il1-f178.google.com with SMTP id e9e14a558f8ab-3d008738e03so31833995ab.3
        for <gentoo-user@lists.gentoo.org>; Sat, 01 Feb 2025 13:55:40 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20230601; t=1738446939; x=1739051739;
        h=content-transfer-encoding:to:subject:message-id:date:from
         :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc
         :subject:date:message-id:reply-to;
        bh=idG5lyMA6uhJL/d8w9oT9b+1DKE3FRI4mqUq9POkSTQ=;
        b=n6jLj6nrmF8yk+0z29HTJICFenVWuvANf1aN3E/wJzdQK8WlpaIkjXuDxL/U9gcApP
         9qyhHQw36hi+9+obKCZJCzt5lio0GnEw7VRAx9iUlfc7fymrFHnJSCpZdU2ypsG+s2LN
         HPjwllP+9CHJCK3GmLO5uPTllwmulrl2bquVwjmor8RRZdr+gEmoU7kdypLz0MQSS/DO
         +o72sSFpBApchh++rKHMJHPJokx5fK6mmkTfKVjwzwWaA17T9IGREkaYYpeu8OdQpnDF
         1Oer3E7bYM5vVoVB49U4T5l0wmAOCCqN38x+jw5I+OnmpWyxpR081NcjYTa/hbX2sIA8
         2Fvw==
X-Gm-Message-State: AOJu0YzVSey5bvgs7e7nL9yxjT08hRyCAvKcav5EHvEZAy160kbGoGYg
	GR0SgAIDlIjpnf9QV0HDkNICc0W76dYu3CkapQyckWNRq29CSznlUidOiWIAZrYdkxaiBVMvjpz
	pzjOQH5nI09P6ADYOCkkkk0oi1jd+D+dF
X-Gm-Gg: ASbGncsdRA4ljdt2BNCZRb1C0xkcj7t+JPAaxuP+0/xvqHfGY7aFY38Snt0cv9IbKs2
	QmGRGvpX9bT9gGGh1AUq7B3b9SQcBtq+hoHM0FDiRBBkMKhckD8u7ctEbP9TN6Eh+Cfwkd/K+Kg
	==
X-Google-Smtp-Source: AGHT+IF0Jzv/uTPtP1KbUTdZKfjsba79QYmYJgxfrL+NhxnW0Scepp3RdCnIhAjvDsFZIOLZVa4hqk2JELMYpDI7MSE=
X-Received: by 2002:a05:6e02:13a1:b0:3cf:ceac:37e1 with SMTP id
 e9e14a558f8ab-3cffe3d8c70mr134155035ab.11.1738446939322; Sat, 01 Feb 2025
 13:55:39 -0800 (PST)
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
MIME-Version: 1.0
References: <fae9982e-ee0b-dd0e-94dc-a5e0726a1804@gmail.com>
In-Reply-To: <fae9982e-ee0b-dd0e-94dc-a5e0726a1804@gmail.com>
From: Rich Freeman <rich0@gentoo.org>
Date: Sat, 1 Feb 2025 16:55:29 -0500
X-Gm-Features: AWEUYZkPXh_KePiO9Z0KJWZnuIDdwT1uQCl7ag7-3QGPMTIy2gNpfccDwN8HHd0
Message-ID: <CAGfcS_k1517Yv22C0v-8wbnzDxHrPvN6w2kdaJTNtS9n+0s-Aw@mail.gmail.com>
Subject: Re: [gentoo-user] Hard drive and maximum data percentage.
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: d53a6773-ed74-4540-815b-32d760e8bead
X-Archives-Hash: 8fd4fa80b48fff45b81bee59aca01d2c

On Sun, Jan 26, 2025 at 1:15=E2=80=AFPM Dale <rdalek1967@gmail.com> wrote:
> Still, given the large
> file systems in use, where should I draw the line and remain safe data
> wise?  Can I go to 90% if needed?  95%?  Is that to much despite the
> large amount of space remaining?  Does the percentage really matter?  Is
> it more about having enough space for the file system to handle its
> internal needs?  Is for example 1 or 2TBs of free space enough for the
> file system to work just fine?

It really depends on the filesystem.  For ext4 you can go all the way
to zero bytes free with no issues, other than application issues from
being unable to create files.  (If you're talking about the root
filesystem, then the "application" includes the OS so that isn't
ideal.)

Some filesystems don't handle running out of space well.  These are
usually filesystems that handle redundancy internally, but you really
need to look into the specifics.  Are you running something other than
ext4 here?

The space free almost always takes into account filesystem overhead.
The issue is generally whether the filesystem can actually free up
space once it runs out completely (COW might want to allocate space
just to delete things, due to the need to not overwrite metadata in
place).

--
Rich