[SUMMARY] Solaris 10 - metasync after every reboot

From: Eric Ham (eham@csulb.edu)
Date: Wed Jun 08 2005 - 11:40:16 EDT


Thanks go to Helmut Kreft with his reply below. It turned out I was
getting a little too aggressive in disabling services to minimize my box.
By checking the dependencies on the mdmonitor service I was able to trace
back that the rpc/meta service relied on the inetd service which I
previously disabled. By enabling inetd again, then doing another init 6,
all the mirrors now sync correctly and metastat shows everything as Okay.

>For some reason or another you have to have enabled
>
> kreft@stest1:/lib/svc/method$ svcs -l mdmonitor
> fmri svc:/system/mdmonitor:default
> name SVM monitor
> enabled true
> state online
> next_state none
> state_time Wed Jun 01 14:51:38 2005
> logfile /var/svc/log/system-mdmonitor:default.log
> restarter svc:/system/svc/restarter:default
> dependency require_all/none svc:/system/filesystem/minimal (online)
> dependency require_all/none svc:/system/metainit (online)
> dependency optional_all/none svc:/network/rpc/meta (online)
>
>Mind the dependencies.
>
> Helmut

Original Posting
__________________

Hello,

I'm testing out Solaris 10 03/05 on my E250 with 6 hard drives. I used
SVM to setup some mirrors including the root partition like I've done
before on my Solaris 9 boxes.

However, it seems that every time I reboot this test box and I run
metastat, the submirrors always say "Needs maintenance". I run "metasync
<mirror>" and it syncs back up rather quickly, but then I have to do it
again after the next init 6 when I test another option.

Is there something I forget to add to keep the mirrors in sync after a
reboot? Does anyone else see this behavior?

Regards,
-Eric
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
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:30:51 EDT