GEOM_BDE: where is my partition?

Stefan Bethke stb at lassitu.de
Tue Aug 1 14:56:53 UTC 2006


Am 01.08.2006 um 16:41 schrieb Felipe Neuwald:

> Stefan,
>
> Yes, the disk have been detected:
>
> [root at xingu /home/felipe]# dmesg | grep ad5
> ad5: 194481MB <Maxtor 6B200P0 BAH41B70> at ata2-slave UDMA66
> [root at xingu /home/felipe]# ls -laF /dev/ad5
> crw-r-----  1 root  operator    0,  62 Aug  1 10:39 /dev/ad5
>
> And here is the fdisk output:
...
> fdisk: invalid fdisk partition table found

Well, there you go: that's why there is no ad5s1, and thus ad5s1c.

Maybe you got lucky, and only the first sector of the disk got lost  
in that crash. If you know how you had partitioned that disk  
*exactly*, or you have another disk of the same size that is  
partitioned *exactly* the same, you might try to re-create the slices  
usign fdisk, or copying over the first sector with dd.  Otherwise,  
you need to restore from backup.


Stefan

-- 
Stefan Bethke <stb at lassitu.de>   Fon +49 170 346 0140




More information about the freebsd-stable mailing list