From owner-freebsd-questions@FreeBSD.ORG Thu Jun 10 15:35:25 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A7E316A4D0 for ; Thu, 10 Jun 2004 15:35:25 +0000 (GMT) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id C880543D58 for ; Thu, 10 Jun 2004 15:35:23 +0000 (GMT) (envelope-from nkinkade@fastmail.fm) X-Sasl-enc: ZqWUd9AWTCjMdEOyVe7DIg 1086881701 Received: from gentoo-npk.bmp.ub (unknown [206.27.244.136]) by www.fastmail.fm (Postfix) with ESMTP id 56E13C066B1 for ; Thu, 10 Jun 2004 11:35:00 -0400 (EDT) Received: from nkinkade by gentoo-npk.bmp.ub with local (Exim 4.21) id 1BYRZp-0000z1-3g for freebsd-questions@freebsd.org; Thu, 10 Jun 2004 09:34:49 -0600 Date: Thu, 10 Jun 2004 09:34:49 -0600 From: Nathan Kinkade To: freebsd-questions@freebsd.org Message-ID: <20040610153449.GX21801@gentoo-npk.bmp.ub> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Xc/daCAYeCLA4DS1" Content-Disposition: inline User-Agent: Mutt/1.5.6i Sender: Subject: fdisk/label editor say "unable to write data to disk"? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Nathan Kinkade List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jun 2004 15:35:25 -0000 --Xc/daCAYeCLA4DS1 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline I'm cloning a hard disk on 5.2.1-RELEASE system. I put the new disk in on the secondary IDE channel and rebooted. Using sysinstall, I sliced and labeled the disk. I ran newfs on the new partitions and the mounted them at /mnt. I then realized that I had made a mistake in my partitioning (labeling), so I unmounted all the partitions and relaunched sysinstall to re-label the disk, but now I get an error saying "Unable to write data to disk adX." Fdisk won't write to the disk either. I reset the channel using atacontrol, but this didn't help. To see what would happen, I tried to detach the channel, which was not the one containing the disk the system was booted to. The atacontrol process went into a disk-wait status and I was forced to reboot the system. I read a post from about a year ago that seemed to indicate GEOM might be disallowing me to write the lable. Does anyone have any insight into this and how to avoid it in the future? Thanks, Nathan --Xc/daCAYeCLA4DS1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAyH+ZO0ZIEthSfkkRAqhWAJwPBImLmReJ2/OiXzZkPLbOqXKg6wCfUqYp wlYMT7bk9wHl02P/Iy57pZQ= =CmZ4 -----END PGP SIGNATURE----- --Xc/daCAYeCLA4DS1--