From owner-freebsd-stable@FreeBSD.ORG Sun Jul 5 18:59:17 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B9491065676 for ; Sun, 5 Jul 2009 18:59:17 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: from mail-yx0-f181.google.com (mail-yx0-f181.google.com [209.85.210.181]) by mx1.freebsd.org (Postfix) with ESMTP id 0C35C8FC1A for ; Sun, 5 Jul 2009 18:59:16 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: by yxe11 with SMTP id 11so5087459yxe.3 for ; Sun, 05 Jul 2009 11:59:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=stgTihARUDEhY3k2MkNyGwr12fNs+WRelRFGraRk7so=; b=V/Seep6Fv7OiUQWpW8RGmFH7XmB1YCScRZkORB9/LzT2MUivTGHtL9AyhZlTiGxNFj 4z95XrTMQDgzwD5Xwu0HWo3rQMVulWXyUpljiVGKf8xTtEieG3gvYcaRM0TWWDILmiwx pIHrFSVfQYtrpF/OYTSWd02KazAMeod6pRmZE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=gkX7mikiQW2CWYzA3MvvQOVToF6l3b0t39YoRyN57h48RWxwXEzIEKVGd5HbUv4yKh uxQpRGtnlFcCdZi213NvNI390OL0CSJT+NEOcbsvllSbh7QqqBgU1ucWns4V55zAbqlm Ibr19WWkTDhxDMmeAn5ZT03YvD8Q55l07O7Zw= MIME-Version: 1.0 Received: by 10.100.141.2 with SMTP id o2mr6848532and.151.1246820356397; Sun, 05 Jul 2009 11:59:16 -0700 (PDT) In-Reply-To: <4A50E947.9020608@ksu.ru> References: <4A50E947.9020608@ksu.ru> Date: Sun, 5 Jul 2009 21:59:16 +0300 Message-ID: From: Dan Naumov To: "Marat N.Afanasyev" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD-STABLE Mailing List Subject: Re: bug in ufs? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jul 2009 18:59:17 -0000 2009/7/5 Marat N.Afanasyev : > 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