LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

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

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? I dont know if it is hardware related or software related, but when I check all of my 4 disks with scsi utilities they are shown all ok.

Your help would be very appreciated!

Thanks in advance.
 
Old 06-26-2009, 07:13 AM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 51
it appears you are running raid on your questioning too. :>

please don't post in multiple forums.
 
Old 06-26-2009, 12:19 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Cannot recover data, raid problem enid Linux - Server 1 06-26-2009 01:55 PM
Cannot recover data, raid problem enid Linux - Software 1 06-26-2009 12:18 PM
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
Software RAID to recover data from HW RAID ocschwar Linux - Hardware 5 02-25-2005 10:05 PM


All times are GMT -5. The time now is 01:39 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration