Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jul 2009 21:59:16 +0300
From:      Dan Naumov <dan.naumov@gmail.com>
To:        "Marat N.Afanasyev" <amarat@ksu.ru>
Cc:        FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>
Subject:   Re: bug in ufs?
Message-ID:  <cf9b1ee00907051159w5807a9f1y34104bdd3925969e@mail.gmail.com>
In-Reply-To: <4A50E947.9020608@ksu.ru>
References:  <4A50E947.9020608@ksu.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
2009/7/5 Marat N.Afanasyev <amarat@ksu.ru>:
> hello!
>
> i have a strange problem with writing data to my ufs2+su filesystem.
>
> 1. i made a 1T gpt partition on my storage server, and formatted it:
> newfs -U -m 0 -o time -i 32768 /dev/da1p3a
>
> 2. i tried to move data from other servers to this filesystem, total size=
 of
> files is slightly less than 1T
>
> 3. i encountered a 'No space left on device' while i still have 11G of fr=
ee
> space and about 13 million free inodes on the filesystem:
>
> #df -ih
> Filesystem =A0 =A0 Size =A0 =A0Used =A0 Avail Capacity =A0iused =A0 =A0if=
ree %iused Mounted
> on
> /dev/da1p3a =A0 =A01.0T =A0 =A01.0T =A0 =A0 11G =A0 =A099% 20397465 13363=
173 =A0 60%
> /mnt/45_114
>
> all i want to know is whether this is a bug or a feature? and if such a
> behavior is well-known, where can i read about it?

By default, a part of a filesystem is reserved, the amount reserved
has historically varied between 5-8%. This is adjustable. See the "-m"
switch to tunefs.

- Sincerely,
Dan Naumov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cf9b1ee00907051159w5807a9f1y34104bdd3925969e>