How to boot from the 3rd disk while RAID1?
I just want to do this: Now there is 4 hard disks, to build RAID1 on RAID0.
I splite the partitions of every disk to 2 part: the system part and data part. data part will be build RAID1 on RAID0, and system part, to make the system always availabe, I build only RAID1 for disk partitions: /(sda1,sdb1,sdc1 & sdd1), /usr(sda2,sdb2,sdc2,sdd2). Then I must setup grub on all these 4 disks to make the system can boot up from anyone when the previous disk is broken, so do this: Code:
# grub Code:
grub> Code:
grub> root (hd0,0) Thanks. |
I comment this 2 line, and it seems work:
# splashimage=(hd0,0)/boot/grub/splash.xpm.gz # hiddenmenu But now I have another problem. Using the previous way, if I remove sda and sdb, OK, I can boot up from sdc(set in BIOS) because it will been considered as (hd0) by stage1 on the MBR of sdc. But what about the condition when I re-insert 2 new disks. This 2 disks have nothing. Will sdc stage1 takes new sda as (hd0)? I tried in VMware, and I found in this case, sdc stage1 still take itself as (hd0), not the sda. But what about (hd1), (hd2) and (hd3)? I tried this to found: Code:
grub> install (hd3,0)/boot/grub/stage1 d (hd2) (hd3,0)/boot/grub/stage2 p (hd3,0)/boot/grub/grub.conf What's wrong? Is it realy unsure? Or it is just the cause of the Virtual Machine? Thanks. |
All times are GMT -5. The time now is 08:00 PM. |