From owner-freebsd-questions@FreeBSD.ORG Sun Aug 9 08:43:02 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 40E25106564A for ; Sun, 9 Aug 2009 08:43:02 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from mail-fx0-f224.google.com (mail-fx0-f224.google.com [209.85.220.224]) by mx1.freebsd.org (Postfix) with ESMTP id B9EFC8FC1A for ; Sun, 9 Aug 2009 08:43:01 +0000 (UTC) Received: by fxm24 with SMTP id 24so2621602fxm.36 for ; Sun, 09 Aug 2009 01:43:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=k+8mVZHD+F5k8k49l2zdnLsUZ+qfHca3nZ4dK8lVBjI=; b=HyGZM/nFuuFHhNAAV1cw+aOnmOk1MCFvlW4Z+DR1gLFUyGhyDB4kofXvieckhFbqK9 ARUg83gf61ux8JSt8ofYVQsyVSyYu0GpB30Um5rIzXRTewQ00lavByhzWzDLwb2Yf8ZK qbfS2GvD4Vn6pef26Js3r8GAQJsNJoQGf5LW4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=JfLHWJgnV3/0Igd4WASu/F4gsL0D1Kh1WEz+xs4V0OQJMTH3JbVQ59x0xrG3741nlq DAfg1h33QVUm00jbxnC5nEenAU3TdkTD+8ZFco5PoESLKtyTl3S/BH0+ViCAx6UTOC4T w9mgcCedUKo1TNr3qfQHf1Ohk324lOX/TNY7U= MIME-Version: 1.0 Received: by 10.103.191.4 with SMTP id t4mr1307593mup.133.1249807380668; Sun, 09 Aug 2009 01:43:00 -0700 (PDT) In-Reply-To: References: Date: Sun, 9 Aug 2009 09:43:00 +0100 Message-ID: From: chris scott To: "John ." Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: a (hopefully) simple newbie zfs query regarding available space 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: Sun, 09 Aug 2009 08:43:02 -0000 2009/8/9 John . > Hello list > > I followed instructions for ZFS on > http://wiki.freebsd.org/ZFSQuickStartGuide, substituting ad6 and ad10 > (two new SATA3 1TB disks) for da0 da1 and da2 in the instructions. I > was surprised to see only 993GB in /tank/. Is this expected, or is it > user error? Also, these disks are completely unformatted. I expected > to do a newfs or something similar, and for it to take a bit of time! > > This is on a running 7.2-STABLE amd64 system. It is only these two > disks that I want as ZFS, the rest are UFS2 > > cheers > -- > John > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > not a zfs thing is happens with all os and file systems. Basically HD manufacturers quote their capacities in base 10 ie 1 TB = 1000000000 bytes. File systems are calculated in binary therefore the calculation they use is 1024 x 1024 x 1024 = 1099511627776. Slightly more as you can see. Therefore 1 GB is os terms is 1073741824 therefore hd capacity in GB is 1000000000000/1073741824 = 931.322575 The extra you see is it due to HD manufactures slightly over capacity the drives