From owner-freebsd-questions@FreeBSD.ORG Sat May 14 16:17:05 2011 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 37BB4106564A for ; Sat, 14 May 2011 16:17:05 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id C0B248FC13 for ; Sat, 14 May 2011 16:17:04 +0000 (UTC) Received: by fxm11 with SMTP id 11so3261548fxm.13 for ; Sat, 14 May 2011 09:17:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=tl/6R52CqBcdNdENE++/xgO9wmw/HqtIGEOapd3VDOc=; b=vqtz06/aYt8kyhEiu5cvybgIq+Uyo3w838HBPzpEeFOUD/ZcfUcCK25QFsesSooqtN 3rIpXPYpo9ekky46A2DKeX4Pd2yOV5FugnvVXNMEsSmS1JhLNJec3ZD/tS1OAlHrpvc8 axQi7130wG3bEKRFbBBWPKPvvogjjeyzS1tiY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=TygUK0V5gYE2fxOH5BvQVSwryJX1CUhRbVnbjN+BY8IRTaP76N0WLI1hujLNaph4sz ClEQcqSEr4KSaRcj2rEJoZe8Bm7sJUBX2Da4gOwVYaKCx5A/+9tIaqTPWjbHcuOVi8Zh Niuw6NLfN1BYELn4/ogsd2VqG5OV0wZyeWxcA= MIME-Version: 1.0 Received: by 10.223.134.75 with SMTP id i11mr1391175fat.39.1305389823696; Sat, 14 May 2011 09:17:03 -0700 (PDT) Received: by 10.223.148.12 with HTTP; Sat, 14 May 2011 09:17:03 -0700 (PDT) In-Reply-To: <4DCA3CBF.5040306@netfence.it> References: <4DCA3CBF.5040306@netfence.it> Date: Sat, 14 May 2011 12:17:03 -0400 Message-ID: From: "illoai@gmail.com" To: Andrea Venturoli Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Maximum partition 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, 14 May 2011 16:17:05 -0000 On 11 May 2011 03:37, Andrea Venturoli wrote: > Hello. > Sorry for the stupid questions, but Google only turns out very old answers > which might be outdated (at least I hope so). > > What is the maximum partition size I can use on 7.3? > I've used a 3TB gstripe on amd64, but now I'd like to gstripe two 2TB HDs on > a i386. > Will that work? Probably, but a gstripe isn't a partition. The gstripe specific numbers seem to be (via /usr/src/sys/geom/stripe/g_stripe.h): uint16_t md_no; /* Disk number. */ uint16_t md_all; /* Number of all disks. */ uint32_t md_stripesize; /* Stripe size. */ char md_provider[16]; /* Hardcoded provider. */ uint64_t md_provsize; /* Provider's size. */ So, I guess the maximum gstripe will be around 2^96, or 79228162514264337593543950336 bytes (or is that blocks?). The largest filesystem you can put on that is limited to UFS2's 2^73 (according to the knobs at wikipedia), so you'll have to start splitting up your gstripes in 41 binary orders of magnitude. Good luck. -- --