From owner-freebsd-fs@FreeBSD.ORG Wed Jun 6 14:54:10 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CD87A1065675 for ; Wed, 6 Jun 2012 14:54:10 +0000 (UTC) (envelope-from simon@optinet.com) Received: from cobra.acceleratedweb.net (cobra-gw.acceleratedweb.net [207.99.79.37]) by mx1.freebsd.org (Postfix) with SMTP id 6FA0C8FC14 for ; Wed, 6 Jun 2012 14:54:10 +0000 (UTC) Received: (qmail 94312 invoked by uid 110); 6 Jun 2012 14:54:03 -0000 Received: from ool-4571afe7.dyn.optonline.net (HELO desktop1) (simon@optinet.com@69.113.175.231) by cobra.acceleratedweb.net with SMTP; 6 Jun 2012 14:54:03 -0000 From: "Simon" To: "freebsd-fs@freebsd.org" , "Rafael Henrique Faria" Date: Wed, 06 Jun 2012 10:54:01 -0400 Priority: Normal X-Mailer: PMMail 2000 Professional (2.20.2717) For Windows 2000 (5.1.2600;3) In-Reply-To: MIME-Version: 1.0 Message-Id: <20120606145410.CD87A1065675@hub.freebsd.org> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: UFS2 space usage X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jun 2012 14:54:10 -0000 Take a look at man tunefs and the option -m Your issue is likely related to this. Besides that, UFS possibly uses more space to store metadata, etc... Haven't looked into this in long time, your inode size probably also affects total space available. When you were copying your data, were you doing it as root as normal user? Normal user won't be able to go beyond the reserved 8% (default), but root can, although this is bad a idea long-term. -Simon On Wed, 6 Jun 2012 11:32:50 -0300, Rafael Henrique Faria wrote: >Hi. >I'm transferring a disk from my MacBook to my FreeBSD server, it's a 500GB >3,5" disk in an USB enclosure. >As I was using it in MacOS, it was formated with HFS+. So I transfered all >data from it to an second disk. >Then I reformatted the disk inside the FreeBSD 9.0, using GPT, and using >all disk (with HFS+ there was a EFI partition, plus a free space in the >beginning and in the end of the disk). >I used this options for newfs: "-U2 -o space". >The 500GB disk in HFS+, was with 2GB free, so 498GB in use. (Apple, uses 1 >K as 1000 Bytes, and 1 M as 1000 K, so you really see 500GB of free space >and occupied). >After trying to move the data back to the 500GB disk formated in UFS2, 44GB >couldn't be transferred. There is no free space for all the data. >In FreeBSD it says that the disk have 458GB, and is using 415GB, and have >6.2GB free. But I still have 48GB of data to transfer to it. >Is HFS+ more optimized to store files then UFS2? There is something that I >can do to get more space for data? >Thanks in advance. >-- >Rafael Henrique da Silva Faria >_______________________________________________ >freebsd-fs@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-fs >To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"