From owner-freebsd-questions@FreeBSD.ORG Sat Jan 31 23:06:42 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 850C1106571A for ; Sat, 31 Jan 2009 23:06:42 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 320428FC0C for ; Sat, 31 Jan 2009 23:06:40 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3) with ESMTP id n0VN6Ur1050750; Sun, 1 Feb 2009 00:06:30 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3/Submit) with ESMTP id n0VN6Tu4050747; Sun, 1 Feb 2009 00:06:29 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 1 Feb 2009 00:06:29 +0100 (CET) From: Wojciech Puchar To: Wayne In-Reply-To: <540878.43866.qm@web33108.mail.mud.yahoo.com> Message-ID: <20090201000546.N50733@wojtek.tensor.gdynia.pl> References: <540878.43866.qm@web33108.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="1626729238-1390131460-1233443189=:50733" Cc: freebsd-questions@freebsd.org Subject: Re: ls -lh show file not displaying correct size X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Jan 2009 23:06:42 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --1626729238-1390131460-1233443189=:50733 Content-Type: TEXT/PLAIN; charset=iso-8859-2; format=flowed Content-Transfer-Encoding: 8BIT > filter1# ls -l > total 489024 > -rw-------  1 defang  defang  274992627712 Jan 31 08:33 @@RPTN.db > filter1# ls -lh > total 489024 > -rw-------  1 defang  defang   256G Jan 31 08:33 @@RPTN.db > If I do a du I gecus18-179# du > 489026  . > cus18-179# du -h > 478M    . > My drive is only 250 Gig and I have it mounted as /var/spool here is my df for the whole file system. > /dev/ad14s1d    226G    810M    207G     0%    /var/spool > > So I know that the 256G is wrong. Can any one tell me what is up with file size ? no it's right. it's 256G sized but most space unallocated. du shows how many space is allocated. in unix files can have "holes" == blocks that are not allocated to disk --1626729238-1390131460-1233443189=:50733--