Recovering Data

General discussion about Linux, Linux distribution, using Linux etc.
Misam Shah
Lance Naik
Posts: 32
Joined: Mon May 04, 2009 4:08 pm
Location: Hyderabad
Contact:

Recovering Data

Postby Misam Shah » Wed Sep 30, 2009 12:00 pm

AOA,

I had Ubuntu 6.06 machine with 2 Sata drives on which software RAID was installed (I forgot whether it was RAID0 or RAID1). Unfortunately the system crashed and I did not have the backup of data. I am trying to recover the old data of /home folder which holds all the data of users.

I plugged the drive with the Sata to USB cable on Ubuntu but while mounting it shown the error of wrong fstype.

I have not formatted the drives as yet, how can I recover the data? Please help.

Thanks,
Misam Shah

lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Postby lambda » Wed Sep 30, 2009 12:59 pm

well, how did the system crash? did a hard drive fail? how had you set up raid? did you use mdadm? if it's raid 0, you definitely need both drives plugged in to access the data.
Watch out for the !
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?

Misam Shah
Lance Naik
Posts: 32
Joined: Mon May 04, 2009 4:08 pm
Location: Hyderabad
Contact:

Postby Misam Shah » Wed Sep 30, 2009 2:02 pm

Yes one of the drive failed, and I remember that I used mdadm. Is there any chance?? :(

lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Postby lambda » Thu Oct 01, 2009 9:54 am

Watch out for the !
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?

Misam Shah
Lance Naik
Posts: 32
Joined: Mon May 04, 2009 4:08 pm
Location: Hyderabad
Contact:

Postby Misam Shah » Mon Oct 05, 2009 10:56 am


lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Postby lambda » Mon Oct 05, 2009 1:16 pm

Watch out for the !
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?

lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Postby lambda » Mon Oct 05, 2009 1:44 pm

Watch out for the !
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?

eternal peace
Naik
Posts: 86
Joined: Thu Apr 03, 2003 6:44 pm

Postby eternal peace » Tue Oct 06, 2009 6:24 pm

First change partition type of all your four partitions to 83 (Linux) from fd (linux raid) and then try to mount partition normally.

Another solution is to simply boot the system with both drives using Ubuntu Live CD which will automatically detect your raid partitions, To check do this,

cat /proc/mdstat

and then mount the respective raid device and backup your data.
hail to linux!!!

Misam Shah
Lance Naik
Posts: 32
Joined: Mon May 04, 2009 4:08 pm
Location: Hyderabad
Contact:

Postby Misam Shah » Thu Oct 08, 2009 9:52 am


lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Postby lambda » Thu Oct 08, 2009 10:32 am

Watch out for the !
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?

Misam Shah
Lance Naik
Posts: 32
Joined: Mon May 04, 2009 4:08 pm
Location: Hyderabad
Contact:

Postby Misam Shah » Thu Oct 08, 2009 11:18 am

Here you are sir.

mdadm -A -R /dev/md0 /dev/sda4

mdadm: no RAID superblock on /dev/sda4
mdadm: /dev/sda4 has no superblock - assembly aborted

:( What to do now??


Return to “General”

Who is online

Users browsing this forum: No registered users and 2 guests