Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jul 2002 12:28:45 -0400 (EDT)
From:      Jerry McAllister <jerrymc@clunix.cl.msu.edu>
To:        paulbeard@mac.com (paul beard)
Cc:        jerrymc@clunix.cl.msu.edu (Jerry McAllister), questions@FreeBSD.ORG
Subject:   Re: restoring disklabel from an active disk?
Message-ID:  <200207261628.g6QGSku19423@clunix.cl.msu.edu>
In-Reply-To: <3D409DFC.7000500@mac.com> from "paul beard" at Jul 25, 2002 05:55:24 PM

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> Jerry McAllister wrote:
> > But, try looking at the disk with fdisk with no extra flags - just
> > the main disk name like da0 without slice info.
> >   like 'fdisk da0'
> > and it will print out what it thinks the slices are.
> > FreeBSD slices will have a sysid of 165.
> > How it starts and ends will depend a little on the disk itself
> > unless it is a SCSI disk (then you are lucky).
> 
> It sees the whole disk (partition 1) as a freebsd slice (ID=165).
> 
> So redoing that would be where to start: find out where my old 
> slice 2 needs to start, in other words, then let disklabel operate 
> on that.

I guess I have forgotten what you said about your original setup.
Getting old I guess.
Do you need two slices?   What was in the "other" slice?
Can you read anything from the disk - files?  If so, something
is still working and is probably OK.   If not, you are probably
beyond the possibility of recovery short of going to one of those
companies that specialize in recovering nuked disks.  

Generally if a new label is actually written to the disk, things
are usually nuked and you have to start over.   Once you get in to 
that area, it is getting beyond me.

Good luck,

////jerry

> 
> -- 
> Paul Beard / 8040 27th Ave NE / Seattle WA 98115 /
> paulbeard [at] mac [ dot] com / 206 529 8400
> 
> http://paulbeard.no-ip.org/movabletype
> 
> USER, n.:
> 	The word computer professionals use when they mean "idiot."
> 		-- Dave Barry, "Claw Your Way to the Top"
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 


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?200207261628.g6QGSku19423>