Subject: Re: hosed partition table
To: None <netbsd-users@netbsd.org>
From: George Georgalis <george@galis.org>
List: netbsd-users
Date: 10/23/2006 16:08:58
On Mon, Oct 23, 2006 at 11:41:58AM -0400, George Georgalis wrote:
>On Mon, Oct 23, 2006 at 04:42:49PM +0200, Geert Hendrickx wrote:
>>On Mon, Oct 23, 2006 at 10:33:24AM -0400, George Georgalis wrote:
>>> I'm pretty sure this has nothing to do with the disk errors that started
>>> this journey.  The system happens to be 3.1_RC2, but if needed, I could
>>> change this box easily enough.  What other commands are available to
>>> doctor the disk?
>>
>>Try to find your /var partition with scan_ffs(8) or scan_lfs(8) (new in
>>NetBSD 3.1).  When you've got that, you can recover your fdisk table and
>>disklabel(s) from /var/backup/work/.
>
>
>given the fdisk and disklabel errors opening wd1
>
>how would I use the recovered files to restore the label and
>partition table?

On Mon, Oct 23, 2006 at 06:03:53PM +0100
>That was his point ;-) use scan_ffs to find /var (don't use the file in
>/var to find /var..)

so how do I use the files when I find them? or rather, how do I
get the data off the disk? (cf fdisk/disklabel errors)

// George


-- 
George Georgalis, systems architect, administrator <IXOYE><