LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Closed Thread
  Search this Thread
Old 06-26-2009, 04:33 AM   #1
enid
Member
 
Registered: May 2009
Posts: 42

Rep: Reputation: 2
Cannot recover data, raid problem


Hello to all,
I have a server system which is configured with raid5 software (mdadm) . It is composed by 4 HDD SCSI each 37GB.
I have installed on it RedHat Linux 9, in the default configuration (so /boot a separate partition and the other ones with LVM)

My problem is that one of the partitions configured with raid 5 (Linux raid autodetect) i believe that it is on degraded or faulty state,

my system does boot up but it shows on the screen "Kernel panic , cannot find initrd"

I have very sensible data in there, and the problem is that I didn't make a backup. I want to just retrieve some of the data files there.

I managed to boot into the rescue mode with CD1 of RH9 and the commands which I tried to do:
# mdadm --examine --scan /dev/sda2 /dev/sdb1 /dev/sdc1 /dev/sdd1 > /etc/mdadm.conf
#mdadm -A -s
#cat /proc/mdstat --->>> it showed the raid array but only with three partitions exactly /dev/sda2 /dev/sdb1 /dev/sdc1

I have lvm so I entered:
#vgchange -a y vol0 (because volume group was not active)
#mount /dev/vol0/lv0 /mnt/lv0 -->> which I think is the / partition, and I couldn't copy my files (not all of them but the important ones),

it gave some I/O errors in copying (transfering with scp in another server).

so I gave:
#fsck /dev/vol0/lv0 and responded with Y (yes) to all of the questions (a huge number of inode problems)

and now again I can't copy my files.... :-(

My question is how can I recover my files, is there another way?

Your help would be very appreciated!

Thanks in advance.
 
Old 06-26-2009, 12:18 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Recover data from RAID 0 (fake RAID) from Win XP KiAnKo Linux - Hardware 4 04-23-2009 12:28 PM
How to recover data from RAID 1 partition edortizq Linux - Newbie 1 03-13-2009 02:12 PM
recover data from raid 0 drives.... Peter_Karlsen Linux - Hardware 8 12-02-2008 01:12 PM
Restore RAID 0 and Recover data troskin Linux - Newbie 2 10-12-2007 03:50 PM
Software RAID to recover data from HW RAID ocschwar Linux - Hardware 5 02-25-2005 10:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration