LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-30-2010, 02:58 PM   #1
bburrets
LQ Newbie
 
Registered: Dec 2010
Posts: 1

Rep: Reputation: 0
Exclamation RAID 1 Issue and EXT3-fs error


Hello LQ community,
I do not know nearly as much as I should regarding Linux and am in need of some assistance.

Here is the break down:
We have a Virtual Host running CentOS. Not quite sure what the version is (Don't even know how to find that info). The machine was running a RAID 1 and one of the hard drives failed. Yesterday the machine was booting fine to the second hard drive. Today the machine is getting the following error when trying to boot to the working hard drive:

Creating root device
Mounting root filesystem
EXT3-fs: unable to read superblock
mount: error 22 mounting ext3
mount: error 2 mounting none
Switching to new root
switchroot: mount failed: 22
umount /initrd/dev failed: 2
Kernel panic - not syncing: Attempted to kill init!

What I would like to do is get the working hard drive to boot so I can try to get the virtual machines either copied off the machine -or- get the hard drive to boot so I can get the virtual machines up to backup the data directly -or- rebuild the RAID so that we can carry on with business.

The most important thing is that the data we have stays preserved. I initially tried to use a Ubuntu live disk (v10.10) to get into the drive to copy the files off but I couldnt figure out how to view the files on the hard drive.

Any help in this situation would be appreciated.
 
Old 12-30-2010, 05:54 PM   #2
crts
Senior Member
 
Registered: Jan 2010
Posts: 1,608

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
Quote:
Originally Posted by bburrets View Post
The most important thing is that the data we have stays preserved. I initially tried to use a Ubuntu live disk (v10.10) to get into the drive to copy the files off but I couldnt figure out how to view the files on the hard drive.

Any help in this situation would be appreciated.
Hi,

what was exactly the problem? Did you manage to assemble the raid? You will also need to provide some more info about your setup before any advice can be given. Are your disks encrypted, is LVM active etc.
Am I assuming correctly that the machine that is hosting the virtual machine is not booting up? Or is only the virtual machine refusing to boot, i.e. are the virtual harddisk images corrupted?

If not the latter then I would suggest that you boot a liveCD and copy off the Virtual Machine as well as the virtual harddisk images that are used. BTW, which Virtual Machine are you using?

I am not sure if Ubuntu liveCD provides mdadm by default. You might have to install it:
sudo aptitude install mdadm

Once mdadm is available and you have posted further details about your setup we can try to do some troubleshooting.
 
  


Reply


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
Over 8TB Raid 5 ext3 freehood4all Linux - Server 7 03-12-2011 10:21 AM
Resize ext3 Partition and raid controller fortez Linux - Server 2 12-21-2010 01:59 PM
XFS drops create/delete files to 6.6% of EXT3 (sw raid) and to 0.6% (hw raid) darlingm Linux - Software 3 04-24-2008 10:39 AM
Mount error, file system (ext3) on raid device g_johnsonsamuel Linux - Hardware 1 08-14-2007 07:11 AM
Raid 5 - Filesystems Question... (ext3) droben Linux - General 1 10-31-2002 04:42 AM


All times are GMT -5. The time now is 05:01 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration