bug in ufs?

Dan Naumov dan.naumov at gmail.com
Sun Jul 5 18:59:17 UTC 2009


2009/7/5 Marat N.Afanasyev <amarat at 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 free
> space and about 13 million free inodes on the filesystem:
>
> #df -ih
> Filesystem     Size    Used   Avail Capacity  iused    ifree %iused Mounted
> on
> /dev/da1p3a    1.0T    1.0T     11G    99% 20397465 13363173   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


More information about the freebsd-stable mailing list