Date: Sat, 12 Dec 1998 17:07:22 -0800 (PST) From: Matt Dillon <dillon@FreeBSD.ORG> To: jin@iss-p5.lbl.gov, dillon@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: bin/7614 Message-ID: <199812130107.RAA01278@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
Synopsis: disklabel fails to write labal on scsi disk State-Changed-From-To: open-closed State-Changed-By: dillon State-Changed-When: Sat Dec 12 17:03:12 PST 1998 State-Changed-Why: I'm pretty sure this PR can be closed, though I will add another note: sometimes there will be data on the disk that causes disklabel to barf, even when you are trying to install a new label. When this happens to me I clear out the first 64K or so worth of the partition with dd and then install a complete new label and boot program. If you do this, however, remember that using dd to clear the label will also clear the boot blocks so always install new boot blocks :-) e.g. dd if=/dev/zero of=THEPARTITION bs=64k count=1 (this will 'destroy' the disk, after which you can install a new label & new boot blocks with disklabel) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812130107.RAA01278>