From: "Dmitry V. Levin" <ldv@alt-linux.org>
To: ALT Linux Spring mailing list <mandrake-russian@altlinux.ru>
Subject: Re: [mdk-re] mkfs reserved 5% of partition space. Why?
Date: Thu Oct 18 20:14:12 2001
Message-ID: <20011018201751.B27806@ldv.office.alt-linux.org> (raw)
In-Reply-To: <20011018144640.A27884@hb.ant-on.net>
[-- Attachment #1: Type: text/plain, Size: 1568 bytes --]
On Thu, Oct 18, 2001 at 02:46:40PM +0400, Henri Bourbon wrote:
> Только что создал на разделе /dev/hda10 файл. систему ext2.
>
> $ df -m /dev/hda10
> Filesystem 1M-blocks Used Available Use% Mounted on
> /dev/hda10 5057 1 4800 1% /mnt/disk
> $ perl -lwe 'print((5057-4800)/5057*100)'
> 5.08206446509788
>
> Т. е. разница между размером раздела и доступным объемом составляет как
> раз те 5%, о к-рых mkfs говорил, что они reserved for root (что-то в таком
> духе). Где можно доступно и без лишних деталей почитать, зачем и каким
> образом резервируются эти 5%, и как root может их использовать?
Цитирую mke2fs(8):
-m reserved-blocks-percentage
Specify the percentage of the filesystem blocks reserved for
the super-user. This value defaults to 5%.
Т.е указанная часть диска резервируется для пользователя, который на
данной файловой системе является суперпользователем (по умолчанию root).
Этот самый пользователь может использовать зарезервированное пространство,
когда все остальное доступное для использования пространство на диске
закончилось. Всем остальным пользователям в этой ситуации будет сообщено
"No space left on device".
Regards,
Dmitry
+-------------------------------------------------------------------------+
Dmitry V. Levin mailto://ldv@alt-linux.org
ALT Linux Team http://www.altlinux.ru/
Fandra Project http://www.fandra.org/
+-------------------------------------------------------------------------+
UNIX is user friendly. It's just very selective about who its friends are.
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
prev parent reply other threads:[~2001-10-18 20:14 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-18 14:44 Henri Bourbon
2001-10-18 18:03 ` cornet
2001-10-18 18:09 ` Peter V. Saveliev
2001-10-18 20:25 ` Sergey Vlasov
2001-10-19 19:27 ` [mdk-re] Q: tune2fs -L и инсталер Michael Shigorin
2001-10-19 7:30 ` [mdk-re] mkfs reserved 5% of partition space. Why? Yura Gusev
2001-10-18 20:14 ` Dmitry V. Levin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20011018201751.B27806@ldv.office.alt-linux.org \
--to=ldv@alt-linux.org \
--cc=mandrake-russian@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git