fdisk/label editor say "unable to write data to disk"?

Nathan Kinkade nkinkade at ub.edu.bz
Thu Jun 10 08:35:25 PDT 2004


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040610/ca0d4643/attachment.bin


More information about the freebsd-questions mailing list