From owner-freebsd-stable Thu Dec 20 8: 4:27 2001 Delivered-To: freebsd-stable@freebsd.org Received: from spitfire.velocet.net (spitfire.velocet.net [216.138.223.227]) by hub.freebsd.org (Postfix) with ESMTP id 5902037B420 for ; Thu, 20 Dec 2001 08:04:12 -0800 (PST) Received: from office.tor.velocet.net (trooper.velocet.net [216.138.242.2]) by spitfire.velocet.net (Postfix) with ESMTP id 4396444A9E2; Thu, 20 Dec 2001 11:04:11 -0500 (EST) Received: (from dgilbert@localhost) by office.tor.velocet.net (8.11.4/8.9.3) id fBKG4Ar29189; Thu, 20 Dec 2001 11:04:10 -0500 (EST) (envelope-from dgilbert) From: David Gilbert MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15394.3066.177425.730238@trooper.velocet.net> Date: Thu, 20 Dec 2001 11:04:10 -0500 To: freebsd-stable@freebsd.org Cc: Olivier Cortes Subject: Re: Vinum yaks on large IDE drive. In-Reply-To: <20011220145816.A23394@neptune.deep-ocean.local> References: <15393.8638.345370.445869@trooper.velocet.net> <20011220145816.A23394@neptune.deep-ocean.local> X-Mailer: VM 6.96 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm following up to the list, because several helpful people sent me suggestions, but the solution (from Greg Lehey) was rather more non-obvious. In summary (hopefully with keywords that will attract the search of the next person to have problems), I was getting the following from vinum: [2:40:539]root@catamaran:/dev>vinum mirror -n media /dev/ad1s1g /dev/ad2s1g Can't create drive vinumdrive0, device /dev/ad1s1g: Invalid argument (22) In this case, I was helping someone format drives into a vinum mirroring configuration and they had already failed a number of times. It would appear that vinum doesn't respond entirely well to garbage on the disk and "vinum dumpconfig -v" showed partial remanents of previous configs. The solution ended up being to dd /dev/zero onto the disk with: dd if=/dev/zero of=/dev/ad1s1g count=10 seek=2 (and then reboot) (aparently, the seek argument can vary, according to Greg) If memory serves, disklabel is also sensitive to disk garbage. It would really be handy if we had a more "official" way of blanking the beginning of partitions... posibly part of fdisk's task. Dave. -- ============================================================================ |David Gilbert, Velocet Communications. | Two things can only be | |Mail: dgilbert@velocet.net | equal if and only if they | |http://daveg.ca | are precisely opposite. | =========================================================GLO================ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message