From owner-freebsd-questions Fri Mar 1 23: 9:23 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mta5.snfc21.pbi.net (mta5.snfc21.pbi.net [206.13.28.241]) by hub.freebsd.org (Postfix) with ESMTP id 4931637B402 for ; Fri, 1 Mar 2002 23:09:20 -0800 (PST) Received: from customfilmeffects.com ([63.193.146.211]) by mta5.snfc21.pbi.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0GSC004283UAIU@mta5.snfc21.pbi.net> for freebsd-questions@freebsd.org; Fri, 01 Mar 2002 23:08:34 -0800 (PST) Date: Fri, 01 Mar 2002 23:08:08 -0800 From: David Smithson Subject: Re: defragment UFS Cc: freebsd-questions@freebsd.org Message-id: <3C807A58.1030209@customfilmeffects.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020212 References: <002301c1c1a6$b9e06f70$0801a8c0@ethel> <20020302050142.GB1634@raggedclown.net> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I see. Well that's dandy. I have another filesystem-related question. I have a 1.2TB file server running FreeBSD. The filesystem is exported via SMB. When I view the properties of a SAMBA shared folder, there are two file sizes shown: "size" and "size on disk". The "size on disk" is consitently greater than the "size". I ignorantly assumed this meant that data was fragmented. Do you have any idea what this means? The question of data size came about when I ran a backup of a directory tree that is reportedly 76 GB. The Large DTF tape medium I'm using is supposed to hold 108 GB at it's only compression ratio of 1:2.59. I ran "tar -cvf /dev/sa0 /dir-tree". After some time, tar reported that it had reached the end of the medium. Clearly 76 GB should fit on this tape. I can't figure out what is happening here. Any ideas? Thanks for your help. Cliff Sarginson wrote: >On Fri, Mar 01, 2002 at 08:57:16PM -0800, David Smithson wrote: > >>Hi all. Is there a defragment utility for FreeBSD? Is it even necessary? If not, why not? >> >No. >No. >No matter what size file you have on FreeBSD it will never have more >than one partially filled block, when a file grows it fills the spaces >up rather than allocating new blocks uneccesarily a la DOS. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message