From owner-freebsd-stable@FreeBSD.ORG Fri Aug 17 22:10:57 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BCB716A417 for ; Fri, 17 Aug 2007 22:10:57 +0000 (UTC) (envelope-from kometen@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.239]) by mx1.freebsd.org (Postfix) with ESMTP id 36BBA13C478 for ; Fri, 17 Aug 2007 22:10:56 +0000 (UTC) (envelope-from kometen@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so543917wxd for ; Fri, 17 Aug 2007 15:10:55 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TUBYmvRJy5OBegg1ISFE3HyQenkCjxbAVDtzpOHGQTzI5BCcxZSakp3ON+YI3cEFedp+ZoGXT2v1T2UO069eAUdmFYPI/DiQupN5PXMrKKi+Cr3+/ySLb7MrPS7TTCcpCnLElqW3E1Fw+B2RMIwtoeH9hMmgjlp2OJDkFicXnTY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZsDk06SS9N7L7OX+Q9tD/cTHW+gDvWrJnsLMd80FYO4/231UerFLFxbymROW4iZDNXYJpaJHchK2MqVE2AsBeWU0ZcemkHtXoxjumRQLhweW54BHrj3xT0o2NiIVh4LyxBOrAyLwpdDulG6pnGBhaMTt/+/RBxumBfudikF19go= Received: by 10.70.73.12 with SMTP id v12mr5581065wxa.1187388652910; Fri, 17 Aug 2007 15:10:52 -0700 (PDT) Received: by 10.70.109.20 with HTTP; Fri, 17 Aug 2007 15:10:52 -0700 (PDT) Message-ID: Date: Sat, 18 Aug 2007 00:10:52 +0200 From: "Claus Guttesen" To: "Vivek Khera" In-Reply-To: <31BB09D7-B58A-47AC-8DD1-6BB8141170D8@khera.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <31BB09D7-B58A-47AC-8DD1-6BB8141170D8@khera.org> Cc: FreeBSD Stable Subject: Re: large RAID volume partition strategy X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Aug 2007 22:10:57 -0000 > I have a shiny new big RAID array. 16x500GB SATA 300+NCQ drives > connected to the host via 4Gb fibre channel. This gives me 6.5Tb of > raw disk. > > I've come up with three possibilities on organizing this disk. My > needs are really for a single 1Tb file system on which I will run > postgres. However, in the future I'm not sure what I'll really need. > I don't plan to ever connect any other servers to this RAID unit. > > The three choices I've come with so far are: > > 1) Make one RAID volume of 6.5Tb (in a RAID6 + hot spare > configuration), and make one FreeBSD file system on the whole partition. > > 2) Make one RAID volume of 6.5Tb (in a RAID6 + hot spare > configuration), and make 6 FreeBSD partitions with one file system each. > > 3) Make 6 RAID volumes and expose them to FreeBSD as multiple drives, > then make one partition + file system on each "disk". Each RAID > volume would span across all 16 drives, and I could make the volumes > of differing RAID levels, if needed, but I'd probably stick with RAID6 > +spare. > > I'm not keen on option 1 because of the potentially long fsck times > after a crash. If you want to avoid the long fsck-times your remaining options are a journaling filesystem or zfs, either requires an upgrade from freebsd 6.2. I have used zfs and had a serverstop due to powerutage in out area. Our zfs-samba-server came up fine with no data corruption. So I will suggest freebsd 7.0 with zfs. Short fsck-times and ufs2 don't do well together. I know there is background-fsck but for me that is not an option. -- regards Claus When lenity and cruelty play for a kingdom, the gentlest gamester is the soonest winner. Shakespeare