From owner-freebsd-stable@FreeBSD.ORG Wed May 6 06:25:25 2009 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 06277106564A for ; Wed, 6 May 2009 06:25:25 +0000 (UTC) (envelope-from chris#@1command.com) Received: from mail.1command.com (dsl081-172-045.sea1.dsl.speakeasy.net [64.81.172.45]) by mx1.freebsd.org (Postfix) with ESMTP id 9D5098FC08 for ; Wed, 6 May 2009 06:25:24 +0000 (UTC) (envelope-from chris#@1command.com) Received: from mail.1command.com (localhost.1command.com [127.0.0.1]) by mail.1command.com (8.13.3/8.13.3) with ESMTP id n466PFOQ041203; Tue, 5 May 2009 23:25:21 -0700 (PDT) (envelope-from chris#@1command.com) Received: (from www@localhost) by mail.1command.com (8.13.3/8.13.3/Submit) id n466PFS7041202; Tue, 5 May 2009 23:25:15 -0700 (PDT) (envelope-from chris#@1command.com) Received: from hitme.hitometer.net (hitme.hitometer.net [64.81.172.194]) by webmail.1command.com (H.R. Communications Messaging System) with HTTP; Tue, 05 May 2009 23:25:14 -0700 Message-ID: <20090505232514.eq979b6w0gcg00og@webmail.1command.com> X-Priority: 3 (Normal) Date: Tue, 05 May 2009 23:25:14 -0700 From: Chris H To: Miroslav Lachman <000.fbsd@quip.cz> References: <20090505024800.tk0saqntsgk8kk8c@webmail.1command.com> <20090505101301.GA31143@intserv.int1.b.intern> <20090505050606.hkxc6cgl3k8ccgws@webmail.1command.com> <4A003334.70807@quip.cz> In-Reply-To: <4A003334.70807@quip.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: H.R. Communications Internet Messaging System (HCIMS) 4.1 Professional (not for redistribution) / UNIX Cc: freebsd-stable@freebsd.org Subject: Re: GEOM_STRIPE: Cannot add disk da2c to st0 (error=17). [SOLVED] 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: Wed, 06 May 2009 06:25:25 -0000 Hello Miroslav, and thank you for your reply... Quoting Miroslav Lachman <000.fbsd@quip.cz>: > Chris H wrote: >> Hello, and thank you for your reply... >> >> Quoting Holger Kipp : >> > [...] >>> >>> Can you check if you have any fdisk metadata on either of your disks? >>> Especially as da0, da1, da2 are attached to st0 without problems, >>> but then GEOM_STRIPE complains about da2c (which looks like a partition >>> entry)... >> >> >> I cheated, and went into sysinstall > custom > partition >> >> chose each of da0, da1, and da2 >> >> pressed "f" then "no" then "yes". Which forced a "dangerously" dedicated >> disk. I also chose "w" on all occasions, and each time the response >> indicated >> Successfully written to disk. I then bailed out of sysinstall, then went >> back, and deleted the partitions, and again, chose "w". Which also indicated >> "Successfully written to disk". I then bailed out of sysinstall. >> Having felt the disks were all now clean, I proceeded with the command: >> >> gstripe label -v st0 /dev/da0 /dev/da1 /dev/da2 >> >> ...well, you know the rest of the story. :) >> >> Is this not a good (the best) direction to take? > > I recommend you to use > dd if=/dev/zero of=/dev/da0 count=1000 > dd if=/dev/zero of=/dev/da1 count=1000 > dd if=/dev/zero of=/dev/da2 count=1000 > This is good advice, I decided that if I chose this method, that I should /really/ just change count=. But decided if I go this route, I might as well bounce the box and simply use the SCSI's BIOS routine to re-format all 3 drives. So that's what I did, and guess what - yep, you guessed it; every thing worked (gstripe(8)) as it should have. So good news, nothing wrong within GEOM, and family. :) Thank you again for taking the time to respond Miroslav. --Chris > to clear the begining of the disks. The next step should be to clear > the few last sectors, where metadata of GEOM mirror, journal, stripe > etc. are stored, so you end up with "clear disks" which you can use > in whatever setup you want without problem with old data, partitions > etc. > > Miroslav Lachman >