[linux-lvm] Partition table gone? Any way to restore?

oliver oliver at are-b.org
Wed Mar 2 19:26:22 UTC 2005


Thanks! However the partition is fine and fit so I should be able to dd 
everything off of it.

The output of gpart was the following:
root at enterprise:~# gpart -w hmlvm,1.5 /dev/hde

Begin scan...
Possible partition(ReiserFS filesystem), size(50431mb), offset(14mb)

* Warning: short read near sector(120103011), 64512 bytes instead of 
66048. Skipp
ing...
End scan.

Checking partitions...
Partition(Linux ext2 filesystem): primary
Ok.

Guessed primary partition table:
Primary partition(1)
   type: 131(0x83)(Linux ext2 filesystem)
   size: 50431mb #s(103284656) s(29799-103314454)
   chs:  (29/9/1)-(1023/15/63)d (29/9/1)-(102494/7/62)r

Primary partition(2)
   type: 000(0x00)(unused)
   size: 0mb #s(0) s(0-0)
   chs:  (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r
<snip> part 3 and 4 where 'unused'.

Now gpart found something, however not the missing LVM PV i was hoping. 
Or atleast, I don't think so. I will google around to see how to make a 
1 on 1 copy of this disk, and then try to write it. I'll report back. In 
the mean time, keep those ideas comming : )



Jean-Luc Coulon (f5ibh) wrote:

> Le 02.03.2005 20:08:11, oliver a écrit :
>
>> I do have an empty 120GB hdd available to dump the entire contence  
>> on. I guess dd will do the trick?
>
>
> ddrescue the weapon of the last chance ...
>
> J-L
>
>>
>> Jan-Benedict Glaw wrote:
>
>
>
>>
>>> On Wed, 2005-03-02 18:58:20 +0100, oliver <oliver at are-b.org>
>>> wrote in message <4225FEBC.2060505 at are-b.org>:
>>>
>>>> When i do a less -f /dev/hde I can see a lot of data.
>>>>
>>>> E.g. I see a string looking a lot like ReiserFS and scrolling down  
>>>> further I see /dev/vg00/<nameofparts created> so I'm sure a LOT is  
>>>> still there. I'll give it a shot. Any other ideas are still welcome!
>>>>
>>>
>>> So let gpart guess and re-install a partition record. Though, you'd
>>> better prepare a backup of that given HDD...
>>>
>>> MfG, JBG
>>>
>>>
>>> ------------------------------------------------------------------------ 
>>>
>>>
>>> _______________________________________________
>>> linux-lvm mailing list
>>> linux-lvm at redhat.com
>>> https://www.redhat.com/mailman/listinfo/linux-lvm
>>> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>>>
>>
>> _______________________________________________
>> linux-lvm mailing list
>> linux-lvm at redhat.com
>> https://www.redhat.com/mailman/listinfo/linux-lvm
>> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>>
>>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>linux-lvm mailing list
>linux-lvm at redhat.com
>https://www.redhat.com/mailman/listinfo/linux-lvm
>read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>




More information about the linux-lvm mailing list