lost labels

Alex de Kruijff freebsd at akruijff.dds.nl
Sun Nov 30 19:19:44 PST 2003


On Sun, Nov 30, 2003 at 06:42:07PM +0100, martin wrote:
> Greetings,
> I've encouted little difficuluty, don't know what exactly has happend, but
> after installing W2K on the other disk, disklabel on my primary disk 
> disappeard /FREEBSD4.9/. Only thing I can do is to mount /dev/ad0s1
> unforunately I can't access /dev/ad0s1[a-f] due to inccorect super block message.
> disklabel prints this:
> 
> vanice# disklabel -r /dev/ad0s1
> 
> # /dev/ad0s1:
> type: ESDI
> disk: ad0s1
> label: 
> flags:
> bytes/sector: 512
> sectors/track: 63
> tracks/cylinder: 255
> sectors/cylinder: 16065
> cylinders: 4862
> sectors/unit: 78124032
> rpm: 3600
> interleave: 1
> trackskew: 0
> cylinderskew: 0
> headswitch: 0           # milliseconds
> track-to-track seek: 0  # milliseconds
> drivedata: 0 
> 
> 8 partitions:
> #        size   offset    fstype   [fsize bsize bps/cpg]
>   c: 78124032        0    unused        0     0         # (Cyl.    0 - 4862*)
> 
> 
> Is there a chance I can see my data again?
> Thank you
> Martin Vana

You could try letting fsck loos on those slices. Just type the slices
after the command. *If* any fail then you could add -p (preen) and -f
(force) before the slice.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/


More information about the freebsd-questions mailing list