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 |
Quote:
|
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 |
All times are GMT -5. The time now is 05:22 PM. |