boot from mirror

From: Aravind Vinnakota (aravind@csee.wvu.edu)
Date: Thu Mar 13 2003 - 14:45:15 EST


Dear Gurus,
  I have a Ultra Enterprise 2 system running Solaris 8. It has 2
internal disks of 2.1 GB. I sliced the disks into 3 for storing database
replicas, / and swap. I created 2 sets of database replicas on both the
disks. I created meta devices to mirror / and swap and they also got
synced. But the whole idea behind doing this is to make sure that if the
primary disk fails, then the secondary disk will take its place. For
example, if there is power failure and the primary disk fails, the
system should be able to boot from the secondary disk. I tried to boot
from the secondary by removing the primary, but the system shows me lot
of errors like "no write permission on the meta device", "no read
permission" etc. It prompted me to fsck the meta device and I did the
same. But it keeps prompting me to do the same thing again and again. It
also says that 2 database replicas on the secondary are not enough,
though the docs say that 2 should be good enough. So, I am wondering
whether it is possible for a system to boot from either disk at any
time, whether 2 database replicas on each of the 2 disks is enough? If
possible, to what device the "boot-device" should point to 1) disk0
(primary), 2) disk1 (secondary), 3) the root slice of disk1 where / is
stored. How can I change the what "boot-device" should point to? Please
give me any pointers or suggestions. Thanks a bunch! I will surely
summarize.

regards,
Aravind
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:25:59 EDT