Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #243027

Re: Filesystem and free space

Path csiph.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!bofh.it!news.nic.it!robomod
From Teemu Likonen <tlikonen@iki.fi>
Newsgroups linux.debian.user
Subject Re: Filesystem and free space
Date Sun, 12 Dec 2021 20:30:02 +0100
Message-ID <DtCHM-3XP-7@gated-at.bofh.it> (permalink)
References <DtCy5-3UD-7@gated-at.bofh.it>
X-Original-To debian-user@lists.debian.org
X-Mailbox-Line From debian-user-request@lists.debian.org Sun Dec 12 19:29:23 2021
Old-Return-Path <tlikonen@iki.fi>
X-Amavis-Spam-Status No, score=-13.9 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, MD5_SHA1_SUM=-1, PGPSIGNATURE=-5, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -5.5
User-Agent Notmuch/0.34.2+1~g2394ee6 (https://notmuchmail.org) Emacs/28.0.90 (x86_64-pc-linux-gnu)
Mail-Followup-To debian-user@lists.debian.org
MIME-Version 1.0
Content-Type multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature"
Arc-Seal i=1; s=lahtoruutu; d=iki.fi; t=1639337318; a=rsa-sha256; cv=none; b=UiP7Ys3Ey47MImGVd/OrSk0hzNIuLI36XbKb5d12AL2bpZjLduaYUJMXRrGk6yzXLBosJP lS4ojmNzsuKA+VYlN3b4xRKNW+wbAL7YntxzH39sLMn9945+Ofzujz8dTXiaZ/NeZylgVt UnDZDEUmcpKg5rndRSzAEhjZ1r5f3aIz/2cDVD04uuy8I3dfIVY28jJ+ljTVLDxo5Jco9s fZAuTJUHHhbPUAaFhMs6c6AI08ZJxE4BPDIOZ3VxmyTZnUCB9NSStkloB/yUKY3zlhiWRh +ml4mmwOJF3YCiHXfuiCx3/Fb20Ke/vgyxU0ZJ1pXDNELf4XkZwDrYbE8tprgQ==
Arc-Authentication-Results i=1; ORIGINATING; auth=pass smtp.auth=tlikonen smtp.mailfrom=tlikonen@iki.fi
Arc-Message-Signature i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1639337318; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=GX/WqeBcgOs3es6DHWF+C51RKHTKVBjlSibbDGOGKW0=; b=s2qrUy+5yoS+3EurWQw2T5L/2GuLJfMODlZ3aDqgtJT1lXtpRG6TG5YKWGY+cUxqIcMreH lTWwDWZbobwDKbalPEJ4jz3myA3ecYFlE9yddj0P9jBhRcpGEPoFZsfed/zmPA6DDc+gpZ m7zDKYWNo1IrO+Kxs+SwW7NYncTxQNiSD/L/OR79tyPICYP1risGJScMQrNlFvsYVZEYqo bkYILiM+Q968sXalhlFZozmPIHaMvainrtJgQS51d0gnuoc6bwX3z9QBcfI5SyfsR1m8mM TJlyE3bKZA9+Xjup34P5F3NgOmtQBBLOBASmKwb0U1X3MX/9VlO9IhzRLRiWqg==
X-Mailing-List <debian-user@lists.debian.org> archive/latest/783805
List-ID <debian-user.lists.debian.org>
List-URL <https://lists.debian.org/debian-user/>
List-Archive https://lists.debian.org/msgid-search/87czm1lj1c.fsf@iki.fi
Approved robomod@news.nic.it
Lines 42
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sun, 12 Dec 2021 21:28:31 +0200
X-Original-Message-ID <87czm1lj1c.fsf@iki.fi>
X-Original-References <784f3b09-01c6-0a09-5571-1633a74af080@polynamaude.com>
Xref csiph.com linux.debian.user:243027

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

* 2021-12-12 14:13:19-0500, Polyna-Maude Racicot-Summerside wrote:

> How can I ensure that user (or a software being run by a user that
> goes crazy) doesn't fill up the whole filesystem ?

Commands mkfs.ext4 and tune2fs have this option:

    -m reserved-blocks-percentage
           Set the percentage of the filesystem which may only be
           allocated by privileged processes. Reserving some number of
           filesystem blocks for use by privileged processes is done to
           avoid filesystem fragmentation, and to allow system daemons,
           such as syslogd(8), to continue to function correctly after
           non-privileged processes are prevented from writing to the
           filesystem. Normally, the default percentage of reserved
           blocks is 5%.

See the last sentence. By default normal users can't fill the entire
space. Use tune2fs to change options for an existing file system.

-- 
/// Teemu Likonen - .-.. https://www.iki.fi/tlikonen/
// OpenPGP: 6965F03973F0D4CA22B9410F0F2CAE0E07608462

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Filesystem and free space Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-12-12 20:20 +0100
  Re: Filesystem and free space Teemu Likonen <tlikonen@iki.fi> - 2021-12-12 20:30 +0100
    Re: Filesystem and free space Tom Dial <tddial@comcast.net> - 2021-12-13 09:20 +0100
      Re: Filesystem and free space Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-12-13 20:20 +0100
  Re: Filesystem and free space Jonathan Dowland <jon+debian-user@dow.land> - 2021-12-13 13:20 +0100

csiph-web