Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Apr 1998 00:37:22 -0500 (CDT)
From:      Bruce Albrecht <bruce@zuhause.mn.org>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Help!  I think I wiped out a disk label
Message-ID:  <199804060537.AAA01237@zuhause.mn.org>

next in thread | raw e-mail | index | archive | help
I just did an fdisk -f <file> without specifying the drive name, and
it wrote a new label to the wrong drive (oops).  I don't have a copy
of the fdisk for that drive, or I'd just rewrite it.  The machine
seems to be running just fine even the the label is totally wrong, so
I know that the system somewhere knows where at least two of the
slices are located, but I figure that I won't be able to reboot.

Is there any way for me to extract the real locations so that I don't
have to reload FreeBSD, Win95 and WinNT (fortunately, everything was
backed up this afternoon, so I wouldn't lose anything except about 3-5
hours for the restores).

Also, and the reason why I messed up in the first place, I'm getting:

Apr  6 00:02:13 zuhause /kernel: sd4: cannot find label (no disk label)
Apr  6 00:02:13 zuhause /kernel: sd4s2: cannot find label (no disk label)

in the syslog and disklabel reports:
disklabel: ioctl DIOCWDINFO: No space left on device

on two of three identical drives.  Any ideas on where I should go from 
here?  The drives are basic empty, so it wouldn't be a major deal to
recreate the partition tables with NT's disk adminstrator, if that
would be the easiest solution.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804060537.AAA01237>