From owner-freebsd-fs@FreeBSD.ORG Wed Jun 6 14:33:33 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 EFA921065672 for ; Wed, 6 Jun 2012 14:33:32 +0000 (UTC) (envelope-from rafaelhfaria@cenadigital.com.br) Received: from mail-qa0-f49.google.com (mail-qa0-f49.google.com [209.85.216.49]) by mx1.freebsd.org (Postfix) with ESMTP id A3F048FC1B for ; Wed, 6 Jun 2012 14:33:32 +0000 (UTC) Received: by qabj40 with SMTP id j40so3550145qab.15 for ; Wed, 06 Jun 2012 07:33:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cenadigital.com.br; s=mail; h=mime-version:from:date:message-id:subject:to:content-type; bh=AXhCDC2SYeudxxDyLLLByZY3anMcB2ST2SsHJV6Zs5s=; b=QdFWlY3Q2ti7JFj5IVDaXs3mcZ1nSoGws0DmNXj6x5Qpr8aNY3Tsf4lCDhp0hlZwsR upXCcVtkOkjIXrtohLfPcZsmrIbR98mbI0Wm2xzps9QoCyGFFN34rxqTmJ4csxuWJkvo YwKv2R2/z6QzEMmKzkBQRO6qXmeJBjZjgV9Vw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type :x-gm-message-state; bh=AXhCDC2SYeudxxDyLLLByZY3anMcB2ST2SsHJV6Zs5s=; b=MHfaFuG1uOThRyE99EcLM/ilaTWrdjHS1WhQEpBxy6/sASPssidBNaD3b10T7cPlAq K5e7EfuhijctxSSxVVsguPQGHsoeUgdtaIvZCcL9Pcb3VhLrxxjN9VugjErnx/OCAcGR lyhvg+/7VHE2XZ7hPSb4/jprtHxXnWt3V+TnK2nEaUsFq0TfwRhSvJW+ZUvyveWad7nf LsecWiLGdBN9JeAbRWDjtEKAmO+Bi/5KBzB9oqynX9WRcJK/iVX5cXepqeL4fEZuj706 vQD3bb0ezhJVhHLnaZi/xAOERLvaYz7xsjHSpyBLhsVHpbQPZ7x8xg1Q0Z8sexlOdx2C 9FrA== Received: by 10.229.137.14 with SMTP id u14mr720850qct.87.1338993211769; Wed, 06 Jun 2012 07:33:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.137.149 with HTTP; Wed, 6 Jun 2012 07:32:50 -0700 (PDT) From: Rafael Henrique Faria Date: Wed, 6 Jun 2012 11:32:50 -0300 Message-ID: To: freebsd-fs@freebsd.org X-Gm-Message-State: ALoCoQklT98jdiPPaWVF/g569Qjc9f/jLrIlPm/NdGZjO0/8iLPAioJ/eWiej4o9ByGuVQwoIWIM Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: 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:33:33 -0000 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