Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
partition table toast on both RAID disks
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
chickaroo
Tux's lil' helper
Tux's lil' helper


Joined: 21 Sep 2004
Posts: 102
Location: #!/usr/bin/girl

PostPosted: Wed Nov 03, 2004 3:57 pm    Post subject: partition table toast on both RAID disks Reply with quote

okay i did something really stupid... i had
/
/var
/usr
/home
/opt
/tmp
on seperate software RAID partitions... home was an 89GB which has a lot of important data.
i /dev/zero'd the other partitions after resizing them with cfdisk and now all my logical partitions are gone on both drives (only sees primary partitions, and a whole lot of free space) i really need a way to recover my /dev/md5 (home) and i've tried gpart but it didn't find anything. i don't think it works on RAID drives. anyone have any suggestions for data recovery software or something to recover my partition table?
i'm booted in a *cough* mandrake install on a small 3GB primary partition.
_________________
Registered Linux user #364515 (Jun, 2004)
Back to top
View user's profile Send private message
Petyr
Guru
Guru


Joined: 08 Jan 2003
Posts: 471
Location: San Diego, CA, USA

PostPosted: Wed Nov 03, 2004 10:12 pm    Post subject: Reply with quote

if you recreate the partition table exactly the way it was before, then you should be able to see everything that was in there. You need to get the order of everything (or if you know the start and end sector for /dev/md5, you can just set that) correct. Writing a partition table is non-destructive to the rest of the data, you just have the chance of losing access to the data. Be careful doing it though, because if you get it wrong, and then do something like fsck the drive, or worse, mke2fs on it, then you're basically screwed.

hth,

Petyr
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum