LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-20-2008, 12:58 AM   #1
UltraSoul
Member
 
Registered: Dec 2004
Location: Japan
Distribution: REDHAT9.0, Mandrake10.1
Posts: 404

Rep: Reputation: 31
vxvm root-mirror for RHEL4


I am using veritas foundation storage basic 4.1 on my RHEL4 box.
There are two sata disks conneting to my ASUS p5k motherboard.
vxdiskadm has enabled root-mirror as follows.

# vxprint -tv
Disk group: rootdg

V NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
v rootvol - ENABLED ACTIVE 30716217 ROUND - root
v swapvol - ENABLED ACTIVE 5877616 ROUND - swap
v varvol - ENABLED ACTIVE 512007615 ROUND - fsgen

1> From grub prompt, I booted system from root(hd0,0), system can boot up. Then I tried to boot system from root(hd1,0), system can boot up. Finally, I shudown system and pysically disconnect disk hd0 to see whether system can boot from alternate disk hd1 when hd0 failed. As a result, system failed to boot and I must manually boot hd1 from grub prompt.

========= One part taken from /boot/grub/menu.lst ===========
#vxvm_root_START ( do not remove)
title RHEL4-vxvm_root
root (hd0,0) <<=== I found grub will boot from hd0.
kernel /boot/vmlinuz-2.6.9-55.ELsmp root=c700 ro rhgb quiet
initrd /boot/VxVM_initrd.img
#vxvm_root_END ( do not remove)

2> I checked vfs4.1 manual fo linux. It told me that I must configure bios to boot alternate disk other than the default boot disk. But I think grub will try to boot from hd0 which is the default boot disk. If hd0 failed, then system can not boot up even though I set boot sequesnce under bios.

========= Taken from vfs4.1 manual ===============
Note For information on how to configure your system BIOS to boot from a disk other than the default boot disk, refer to the documentation from your hardware vendor.

Questions:
Is there anyone to succeed to configure root mirror under linux by veritas volume manager? If yes, pls advise me how to configure grub or bios to make system can boot from alternate disk when the default boot disk failed. Thank you.

PS: I know it is better to configure root mirror during os installation.
I just want to test veritas volume manager + RHEL4.
 
  


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
mirror root volume group chlawren Linux - Hardware 1 03-14-2007 02:02 PM
mirror root from jumpstart: flash image, sol9 RHELL Solaris / OpenSolaris 11 04-10-2006 05:52 PM
NFS mount of VxVM volume in SLES9 dussel Linux - Software 0 12-05-2005 07:01 AM
Mirror the root disk fayez Linux - Hardware 1 08-23-2005 07:32 PM
Creating root mirror vanibhat Linux - Hardware 2 11-29-2004 10:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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