From owner-freebsd-questions Wed Apr 19 3:47:54 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dante.mail-abuse.org (dante.mail-abuse.org [204.152.184.35]) by hub.freebsd.org (Postfix) with ESMTP id D5D8B37BC6A for ; Wed, 19 Apr 2000 03:47:48 -0700 (PDT) (envelope-from jdfalk@mail-abuse.org) Received: (from jdfalk@localhost) by dante.mail-abuse.org (8.9.1/8.9.1) id DAA06545; Wed, 19 Apr 2000 03:47:48 -0700 (PDT) env-from (jdfalk@mail-abuse.org) Date: Wed, 19 Apr 2000 03:47:48 -0700 From: "J.D. Falk" To: freebsd-questions@freebsd.org Subject: Corrupted disk label and related issues Message-ID: <20000419034747.A5527@mail-abuse.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Yesterday a drive which I'd been meaning to replace died in a generally unhappy manner -- after much research and general (mostly unrelated) replacement of hardware, I (with help from some friends) tracked it down to disklabel problems and did a bunch of work trying to fix that. The way things stand now, `disklabel -r ad3` comes up with the correct information about eight times out of ten; other times, it'll say "bad pack magic number (label is damaged, or pack is unlabeled)". I managed to dd the entire contents of the disk to another, more functional slice elsewhere. So, the data is still all there in one form or another. If I could find out the exact start (after boot foo) of the partitions, I could dd each of them seperately and work from there, but I'm not sure if it'd really buy me all that much. Another possible datapoint: attempting to mount or fsck any of the partitions will, more often than not, result in a "Device not configured" message. My main goal at this point, after more than sixteen hours of working on it and nearly 25 hours of downtime -- is to regain the data. If anyone could offer advice, I sure would appreciate it. I have a feeling that I'm missing something simple -- I used to be a sysadmin, but I never had this kind of problem with a BSD system before. *sigh* (Note: the machine in question is my own, not my employer's.) -- J.D. Falk "Laughter is the sound Product Manager that knowledge makes when it's born." Mail Abuse Prevention System LLC -- The Cluetrain Manifesto To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message