From owner-freebsd-current Wed Feb 19 9:28:28 2003 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 0A03537B405; Wed, 19 Feb 2003 09:28:27 -0800 (PST) Received: from phk.freebsd.dk (phk.freebsd.dk [212.242.86.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id EAFA843F93; Wed, 19 Feb 2003 09:28:25 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by phk.freebsd.dk (8.12.6/8.12.6) with ESMTP id h1JHSO6E096107; Wed, 19 Feb 2003 17:28:24 GMT (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id h1JHSEOx073880; Wed, 19 Feb 2003 18:28:23 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: David Gilbert Cc: freebsd-hackers@FreeBSD.ORG, freebsd-current@FreeBSD.ORG Subject: Re: Simply impossible to format disk under current. From: phk@phk.freebsd.dk In-Reply-To: Your message of "Wed, 19 Feb 2003 11:08:50 EST." <15955.44050.529506.835464@canoe.velocet.net> Date: Wed, 19 Feb 2003 18:28:14 +0100 Message-ID: <73879.1045675694@critter.freebsd.dk> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <15955.44050.529506.835464@canoe.velocet.net>, David Gilbert writes: >I ran into an interesting problem last night ... that was very >frustrating. I was recycling SCSI drives from some NetBSD machines >(that were client boxes) to add to a RAID server running >FreeBSD-5.0-RELEASE. > >It's simply impossible to format NetBSD drives under current. > >Let me expand on that. /dev/da2 exists, but you can't say 'fdisk -I >da2' ... fdisk says that /dev/da2 doesn't exist. /dev/da2 (and >/dev/da2c) isn't writable, so I can't blank the first few sectors. I >even tried this in single user mode. /dev/da2 is always writable unless you have any of the partitions open. I guess you have whacked the disk now, so I won't be able to get any debugging information. In case of disk/GEOM related problems, I need the output from dmesg sysctl -b kern.geom.confxml or I won't really be able to do debugging... -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message