From owner-freebsd-stable@FreeBSD.ORG Thu Oct 28 21:39:05 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD4A216A4CE for ; Thu, 28 Oct 2004 21:39:05 +0000 (GMT) Received: from mta9.adelphia.net (mta9.adelphia.net [68.168.78.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4831043D58 for ; Thu, 28 Oct 2004 21:39:05 +0000 (GMT) (envelope-from security@jim-liesl.org) Received: from smtp.jim-liesl.org ([68.71.52.28]) by mta9.adelphia.net (InterMail vM.6.01.03.02 201-2131-111-104-20040324) with ESMTP id <20041028213904.FUHB2497.mta9.adelphia.net@smtp.jim-liesl.org>; Thu, 28 Oct 2004 17:39:04 -0400 Received: from [127.0.0.1] (localhost.jim-liesl.org [127.0.0.1]) by smtp.jim-liesl.org (Postfix) with ESMTP id 2825E152B2; Thu, 28 Oct 2004 15:38:58 -0600 (MDT) Message-ID: <41816716.7040906@jim-liesl.org> Date: Thu, 28 Oct 2004 15:39:34 -0600 From: secmgr User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Marko Raiha References: <200410270027.47092.miha@ghuug.org> <1098855222.15580.81.camel@emperor> <20041027100229.GB6391@daemon.adsl.kpnqwest.fi> <417FBA6F.7040406@jim-liesl.org> <20041028085112.GA16832@daemon.adsl.kpnqwest.fi> In-Reply-To: <20041028085112.GA16832@daemon.adsl.kpnqwest.fi> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-stable@freebsd.org Subject: Re: question on vinum X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Oct 2004 21:39:05 -0000 Marko Raiha wrote: >Hi, > >On Wed, Oct 27, 2004 at 09:10:39AM -0600, secmgr wrote: > > >>The reason is empirically derived. When I created a 7 disk raid 5 set >>using "len 0" or all the space available, the raid set would be corrupt >>after initializing. Every time. When I reserved back that extra >>space, no corruption. >>(freebsd 4.10-p3) There was a thread on this a few days ago. >> >> > >Thanks about pointing to this another thread. I read the thread and one >thing is still a bit unclear. Do you mean by leaving 64 blocks unused to >leave it unused at the beginning of disk before vinum partition (when >doing partition to vinum by disklabeling freebsd slice) like this: > ># /dev/aacd2s1: >8 partitions: ># size offset fstype [fsize bsize bps/cpg] > c: 143347932 0 unused 0 0 > h: 143347868 64 vinum > >or somewhere in subdisk as you said? I guess that inadvertently not >right terms were used ("subdisk" instead of "disk"), because terminology >with vinum is a bit complicated. > >All documentations I have found says that only 16 block should be left >unused at the beginning of the disk like this: > ># /dev/aacd2s1: >8 partitions: ># size offset fstype [fsize bsize bps/cpg] > c: 143347932 0 unused 0 0 > h: 143347916 16 vinum > >Regards, > > That probably would have worked too. My mistake was to clone the c partition entry, call it h, label it vinum, and use that