From owner-freebsd-current@FreeBSD.ORG Mon Jun 6 20:09:20 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9943716A41C for ; Mon, 6 Jun 2005 20:09:20 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7960743D48 for ; Mon, 6 Jun 2005 20:09:20 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 6D5C472DD4; Mon, 6 Jun 2005 13:09:20 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 6884C72DCB; Mon, 6 Jun 2005 13:09:20 -0700 (PDT) Date: Mon, 6 Jun 2005 13:09:20 -0700 (PDT) From: Doug White To: Randy Bush In-Reply-To: <17059.27463.50500.860513@roam.psg.com> Message-ID: <20050606130800.Y16994@carver.gumbysoft.com> References: <17059.27463.50500.860513@roam.psg.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: FreeBSD Current Subject: Re: letting go of a twed disk X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jun 2005 20:09:20 -0000 On Sun, 5 Jun 2005, Randy Bush wrote: > -current i386 as of feb 6 > > while replacing things on a raid array, a new twed unit has > appeared and become un-removable > > # of units: 4 > Unit 0: RAID 5 931.31 GB ( 1953116672 blocks): OK > Unit 1: JBOD 232.83 GB ( 488281250 blocks): OK > Unit 5: JBOD 34.47 GB ( 72303840 blocks): OK > Unit 6: JBOD 232.88 GB ( 488397168 blocks): OK > > 3ware CLI> maint deleteunit c0 u1 > Deleting unit /c0/u1 ...Failed. > (0x0B:0x0015): Failed to notify os of unit change You're trying to delete a plain disk here. > looks like the opsys has latched on to it > > # fdisk twed2 careful ... > ******* Working on device /dev/twed2 ******* > parameters extracted from in-core disklabel are: > cylinders=30401 heads=255 sectors/track=63 (16065 blks/cyl) > > Figures below won't work with BIOS for partitions not in cyl 1 > parameters to be used for BIOS calculations are: > cylinders=30401 heads=255 sectors/track=63 (16065 blks/cyl) > > fdisk: invalid fdisk partition table found Everything past this point is bogus in the fdisk output. > is there any way to get the opsys to let go of it so i can > deleteunit it and make it a spare? Typically you need to umount any filesystem(s) mounted on that device. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org