how to tell if bootblk was installed?

From: Steven C. Liu (sliu@steven-c-liu.com)
Date: Mon Apr 24 2006 - 20:52:23 EDT


Dear Sun Managers,

I was wondering if anyone can tell me a good way to determine if an
'installboot' was run on a supposed boot disk. The situation is that we
use Veritas to mirror the "rootdisk" to the "rootmirror". When we
replace a failed disk, we can usually do it live and without downtime.
I noticed that some of the SA's don't do the re-mirroring correctly,
leaving the mirroring done, but forgetting to run 'installboot'. (Yes,
I know 'vxrootmir' does that.) This means that when the machine next
reboots, we have problems and it gets very annoying!

I tried to use the 'dd' command like this 'dd if=/dev/dsk/c1t0d0s2
count=5 | od -t a' (assume that c1t1d0s2 is supposed to be a boot
disk). The result I get is not what I can figure out. I tried to
compare the output of c1t0d0s2 with c1t1d0s2 (assume that c1t1d0s2 is
the other boot disk) to see if I can draw any conclusions.

So far, none of my bright ideas have panned out. Anyone else got any
bright ideas? Or, a simpler way that works?

TIA,

Steve
_______________________________________________
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:39:38 EDT