From owner-freebsd-stable@FreeBSD.ORG Fri May 16 08:19:34 2008 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 D4424106567E for ; Fri, 16 May 2008 08:19:34 +0000 (UTC) (envelope-from paul.m.saab@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.230]) by mx1.freebsd.org (Postfix) with ESMTP id A3A308FC2B for ; Fri, 16 May 2008 08:19:34 +0000 (UTC) (envelope-from paul.m.saab@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so74317rvf.43 for ; Fri, 16 May 2008 01:19:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth; bh=UNq/U8fR9h76+RexJWF2V+G95CeFNcXpl3m3NVHSGfQ=; b=hdybIRIA7xg9Z6vQns5JXn7U46mV8USYTt0kkAWoNx1KuX+oFt9Nb/h9r5JUVMS/o3SqdrThORIxbdmBaRjCI89HwBMXRy14GoPr66p0f8VDf95NHZFMybhkh4o9/OjMiL5rjt0r6KtW0M2rAmDKGR2DbTHkQuR6LCBfoUPt5vs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=iWBq6nY9fwLTonBYpXrrecvd5he/c6UJu6YJEkZJB+HES/XRGsdBXzaSNKntWOVz4MtzAI0B/2zrT08M4kSxYjsWhJJjbGuv0dQxPvCsrIW+Ig+NgVKKA4JZSJYFEj6K6uRQ6Zhxm9pFj4CZFB+crdlpSMpa5jX5/s33ug4Unbs= Received: by 10.141.43.19 with SMTP id v19mr1631156rvj.154.1210925973323; Fri, 16 May 2008 01:19:33 -0700 (PDT) Received: by 10.140.141.12 with HTTP; Fri, 16 May 2008 01:19:33 -0700 (PDT) Message-ID: <5c0ff6a70805160119n2f8361c4y7b3c1451f36d3c6e@mail.gmail.com> Date: Fri, 16 May 2008 01:19:33 -0700 From: "Paul Saab" Sender: paul.m.saab@gmail.com To: "Claus Guttesen" In-Reply-To: <5c0ff6a70805160103o75461976wce04f697975a176c@mail.gmail.com> MIME-Version: 1.0 References: <20080516073932.GA39803@dmr.ath.cx> <5c0ff6a70805160103o75461976wce04f697975a176c@mail.gmail.com> X-Google-Sender-Auth: aac3554f8be974e6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org, Emil Mikulic Subject: Re: ciss(4) not coping with large arrays? 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, 16 May 2008 08:19:34 -0000 On Fri, May 16, 2008 at 1:03 AM, Paul Saab wrote: > On Fri, May 16, 2008 at 12:50 AM, Claus Guttesen > wrote: > >> > Running today's RELENG_7 (although 7.0-RELEASE has the same problem), >> > GENERIC kernel on an amd64 and I can't seem to get a da(4) device for >> > any arrays bigger than 2TB. >> >> In earlier releases (5 and 6 at least) you couldn't create partitions >> larger than 2 TB. I don't know whether work has been to circumvent >> this in 7 but tools like fsck has to be changed as well. Have you >> tried zfs? > > > zfs has nothing to do with this. The driver is not properly dealing with > the large volume. > > set the kernel tunable in loader.conf > > kern.cam.da.3.minimum_cmd_size=16 > kern.cam.da.4.minimum_cmd_size=16 > > Actually, this has nothing to do with it either.. Please try the following patch: http://yogurt.org/FreeBSD/ciss_large.diff