Solved

Software Raid related question

Posted on 2008-10-22
4
201 Views
Last Modified: 2013-12-15
Hi for testing purpose , i am trying to create software raid .
i am following this article : http://www.linuxtopia.org/online_books/centos5/centos5_administration_guide/centos5_s1-raid-config.html
the last picture of this article, and my raid pertition is almost similier
like i have create LVM in /dev/md1

now, i remove 2nd hardrive, so the OS should boot up from one first hardrive, is not it ?? (Raid is for that - it was my undestadning)
but it was unable to find out LVM and it will not boot, so i had to attache 2nd hardrive again

did i do any thing wrong for my configuration  ??
NOte : About Raid my understanding was, if one hardrive goes down , still OS will run from another heardrive , and i will swap the faulti one with another one

Or is this just work for scsi , not ide ??
0
Comment
Question by:fosiul01
  • 2
4 Comments
 
LVL 8

Accepted Solution

by:
DocSeltsam earned 250 total points
ID: 22774381
Hi fosiul01,
So you installed LVM on /dev/md1, right?
So did you also choose ext2/ext3 for /dev/md0? This is your /boot partiion then, right?

--Thomas
0
 
LVL 29

Author Comment

by:fosiul01
ID: 22774391
Hi Thomas

yes, dev/md0 is my /boot pertition
nad /dev/md1 is my LVM
0
 
LVL 14

Assisted Solution

by:cjl7
cjl7 earned 250 total points
ID: 22777674
Is your /etc/fstab updated to reflect /dev/md0 and /dev/md1?

You might also need to edit /etc/grub.conf and set real_root=/dev/md0 (if you have any /dev/[s,h]da1 for example.

With centos you can create a raid:ed system in the install process, no need to do it after.
0
 
LVL 29

Author Comment

by:fosiul01
ID: 22784924
yes, its does reflect to Is your /etc/fstab updated to reflect /dev/md0 and /dev/md1
anyway, i broke the partition again, and i will try to create again, see this time what happended

i will come back to you guys
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now