LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-05-2010, 02:58 PM   #1
Mr-Sweet
LQ Newbie
 
Registered: Jan 2010
Posts: 2

Rep: Reputation: 0
REHL 5.4 dmraid 1 problem


Dear All,

I am New to this forum and also new to linux. I am facing some problem on DMRAID at my university assignment. My task is to implement a system REHL 5.4 O/S with RAID1(mirror) and then install oracle 11gi on it. To check Fail Over and Fail Back. option both.

When i pull the data cable of /dev/sda in online mode. System is working. fine , then i reboot it. Its bois shows that raid is degraded but still bootable and system gets online with /dev/sdb.

Problem 1.
When i insert clean /dev/sda in system. It dont get mirror with /dev/sdb.

Please let me know the steps How to resync it.?

Problem 2.
When i pull the data cable of /dev/sdb in online mode. System is working. fine , then i reboot it. Its bois shows that raid status is unknown, not bootable and system do not get online with /dev/sda.

Please let me know Why it is not boot from /dev/sda (steps How to resync it).

Problem 3.
When i run command dmraid -ay -v it gives following error.
libdmraid-events-dos.so: cannot open shared object file: No such file or directory

I have mention below some configuration to better understanding of problem for you. It is a humble request to you. Please help me out from this problem.

My System hardware confirugation is mention below:
Intel Core 2 Quad Q9400 processor 2.50 GHz, 6 MB L2 cache, 1333 MHz FSB Featuring Core 2 Processor
Chipset Intel Q45 Express chipset. The Intel ICH10R/DO SATA mass storage controller with two 250 G/B hard disk installed.
Hard Disk :- /dev/sda WDC WD2500AAJS-6 Rev: 02.0
/dev/sbd WDC WD2500AAJS-6 Rev: 02.0

My System REHL 5.4 confirugation is mention below:

[root@Test ~]# uname -a
Linux Test 2.6.18-164.el5 #1 SMP Thu Sep 3 04:15:13 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
------------------------------------------------------------------------

[root@Test ~]# vi /etc/fstab
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
------------------------------------------------------------------------
[root@Test ~]# vi /etc/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/mapper/isw_djifcjgcig_RD1

default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Enterprise Linux (2.6.18-164.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-164.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-164.el5.img
------------------------------------------------------------------------

[root@Test ~]# dmraid -V
dmraid version: 1.0.0.rc13-17 (2008.12.03) debug
dmraid library version: 1.0.0.rc13-17 (2009.06.10)
device-mapper version: 4.11.5
------------------------------------------------------------------------

[root@Test ~]# dmraid -s
*** Group superset isw_djifcjgcig
--> Active Subset
name : isw_djifcjgcig_RD1
size : 486539264
stride : 128
type : mirror
status : ok
subsets: 0
devs : 2
spares : 0
------------------------------------------------------------------------
[root@Test mapper]# fdisk isw_djifcjgcig_RD1

Disk isw_djifcjgcig_RD1: 249.1 GB, 249108103168 bytes
255 heads, 63 sectors/track, 30285 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
isw_djifcjgcig_RD1p1 * 1 13 104391 83 Linux
isw_djifcjgcig_RD1p2 14 30285 243159840 8e Linux LVM
------------------------------------------------------------------------

[root@Test ~]# dmraid -ay -v
RAID set "isw_djifcjgcig_RD1" already active
device "isw_djifcjgcig_RD1" is now registered with dmeventd for monitoring
INFO: Activating GROUP raid set "isw_djifcjgcig"
RAID set "isw_djifcjgcig_RD1p1" already active
The dynamic shared library "libdmraid-events-dos.so" could not be loaded:
libdmraid-events-dos.so: cannot open shared object file: No such file or directory
INFO: Activating partition raid set "isw_djifcjgcig_RD1p1"
RAID set "isw_djifcjgcig_RD1p2" already active
The dynamic shared library "libdmraid-events-dos.so" could not be loaded:
libdmraid-events-dos.so: cannot open shared object file: No such file or directory
INFO: Activating partition raid set "isw_djifcjgcig_RD1p2"
------------------------------------------------------------------------
[root@Test ~]# rpm -qa | grep dmraid | sort
dmraid-1.0.0.rc13-53.el5
dmraid-events-1.0.0.rc13-53.el5
------------------------------------------------------------------------

[root@Test ~]# rpm -ql dmraid-1.0.0.rc13-53.el5
/sbin/dmraid
/sbin/dmraid.static
/usr/lib64/libdmraid-events-isw.so
/usr/lib64/libdmraid-events-isw.so.1.0.0.rc13
/usr/lib64/libdmraid-events-isw.so.1.0.0.rc13-17
/usr/lib64/libdmraid.so
/usr/lib64/libdmraid.so.1.0.0.rc13
/usr/lib64/libdmraid.so.1.0.0.rc13-17
------------------------------------------------------------------------

[root@Test ~]# dmraid -tay
isw_djifcjgcig_RD1: 0 486539264 mirror core 3 131072 nosync block_on_error 2 /dev/sda 0 /dev/sdb 0
isw_djifcjgcig_RD1p1: 0 208782 linear /dev/mapper/isw_djifcjgcig_RD1 63
isw_djifcjgcig_RD1p2: 0 486319680 linear /dev/mapper/isw_djifcjgcig_RD1 208845
------------------------------------------------------------------------
Thanks

Last edited by Mr-Sweet; 01-05-2010 at 03:00 PM.
 
Old 01-05-2010, 03:33 PM   #2
cg40oz
LQ Newbie
 
Registered: Dec 2009
Location: /dev/random
Posts: 15

Rep: Reputation: 0
Quote:
Originally Posted by Mr-Sweet View Post

Problem 2.
When i pull the data cable of /dev/sdb in online mode. System is working. fine , then i reboot it. Its bois shows that raid status is unknown, not bootable and system do not get online with /dev/sda.

Please let me know Why it is not boot from /dev/sda (steps How to resync it).
Is Grub installed on /dev/sda? Please provide information from /boot/grub/grub.conf.
 
Old 01-06-2010, 02:38 PM   #3
Mr-Sweet
LQ Newbie
 
Registered: Jan 2010
Posts: 2

Original Poster
Rep: Reputation: 0
REHL 5.4 dmraid 1 problem

Hi there,

If you could see my first post. I have mention All my O/S & H/w configruation. well i am again mentioning it below:-

[root@Test ~]# vi /etc/grub.conf

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/mapper/isw_djifcjgcig_RD1

default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Enterprise Linux (2.6.18-164.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-164.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-164.el5.img
 
  


Reply

Tags
dmraid


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
DaulHead on REHL 5.3 help shaiss Red Hat 0 08-12-2009 04:15 PM
Rehl 5 No Sound On Vmware tery Linux - Newbie 2 10-28-2008 05:46 PM
Problem Booting Raid 0 with dmraid Deltabweb Linux - Hardware 3 01-23-2007 08:50 PM
GLX on REHL 4.1 trying to run games. hardtail60 Linux - Games 2 10-19-2006 02:55 PM
dmraid INIT hang problem on slackware 10.1 KnightHawk Linux - Hardware 0 09-01-2005 12:47 AM


All times are GMT -5. The time now is 06:09 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