Date: Thu, 10 Jun 2004 09:34:49 -0600 From: Nathan Kinkade <nkinkade@ub.edu.bz> To: freebsd-questions@freebsd.org Subject: fdisk/label editor say "unable to write data to disk"? Message-ID: <20040610153449.GX21801@gentoo-npk.bmp.ub>
next in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040610153449.GX21801>