Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MDADM problem: partition lost because of mkfs.ext3

Status
Not open for further replies.

trivet

Technical User
Joined
Nov 5, 2008
Messages
1
Location
ES
hi

i have a RAID 1 system with 2 drives: /dev/sdb1 and /dev/sdc1. I use MDADM to create the raid 1 named /dev/md0. I have lot of data there. The problem is that i was re-installing system and from the live cd i executed a:
mkfs.ext3 /dev/sdb1
mkfs.ext3 /dev/sdc1

then installed Ubuntu again wihtout formating those drives because my system is installed in /dev/sda

the problem is that when i try to re-create the raid and mount it, it does not contain any file. i did this more time before and always worked BUT never used the mkfs.ext3 (that was a mistake). anyhow knows how to recover data or fix the problem?

i can create the RAID and also to mount it but i only see the lost+found directory

what is excatly what i lost?? inode? superblock? what is mkfs.ext3 modifying in the partition when i execute mkfs.ext3 /dev/sdb1? is there a way recover old partition because i think problem here is that i overwrite RAID /dev/sdb1 partition with a new one when executing mkfs.ext3.

thanks in advance
trivet
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top