LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Linux soft Raid death of hda

[ILUG] Linux soft Raid death of hda

Niall O Broin niall at linux.ie
Mon Feb 14 00:52:21 GMT 2005


On 13 Feb 2005, at 22:43, Frank Murphy wrote:

>>> Whateve is done has to preserve the info already on md0 & md1
>> I assume you have TWO raid arrays then. If not then you have 
>> practically
>> no RAID.
> The info is safe just can't access at the moment.

You're not being a model of clarity here, Frank, I'm afraid. From your 
last mail it sounded you like you wanted advice on how to set up RAID, 
having seen one disk die, but now it sounds like you already had RAID-1 
and want to get back the data from the remaining disk.

If that is the case, then you need to simply boot from a rescue CD and 
mount the partitions of the remaining disk (if you have two partitions 
in a Linux md RAID-1, you can mount the filesystem from either of these 
partitions from a rescue disk, as the filesystem data on each will be 
identical)

>>> 2: A boot cd that can allow me operate the raid & smb shares as 
>>> normal.
>> This can be does with any rescue cd, you can even use the standard FC3
>> bootCD --> "linux rescue", start networking etc.
>
> How would it know what's in smb.conf or fstab, which was on dead hda.

fdisk -l /dev/hdc

assuming /dev/hdc was the other disk of the RAID, will list the disk 
partitions for you. From that it shouldn't be too hard to guess what's 
what. Even if you have no idea, you could just mount each partition one 
after the other (skipping any of type 82 - they're swap partitions) and 
examine the content.


Niall




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell