metainit gives coredump

SunOS unknown 5.9 Generic_118558-10 sun4u sparc SUNW,Sun-Fire-880

I'm trying to set up mirroring and am running into a problem:
As you can see, I set up the metadb, but am getting a coredump when running metainit. I saw this through google, but don't know the validity of it. Any ideas?

# metadb -a -f -c2 c1t0d0s7 c1t1d0s7 c1t2d0s7 c1t3d0s7
# metainit -f d11 1 1 c1t0d0s0
metainit: Segmentation Fault
Segmentation Fault(coredump)
# metadb -i
        flags           first blk       block count
     a        u         16              8192            /dev/dsk/c1t0d0s7
     a        u         8208            8192            /dev/dsk/c1t0d0s7
     a        u         16              8192            /dev/dsk/c1t1d0s7
     a        u         8208            8192            /dev/dsk/c1t1d0s7
     a        u         16              8192            /dev/dsk/c1t2d0s7
     a        u         8208            8192            /dev/dsk/c1t2d0s7
     a        u         16              8192            /dev/dsk/c1t3d0s7
     a        u         8208            8192            /dev/dsk/c1t3d0s7
 r - replica does not have device relocation information
 o - replica active prior to last mddb configuration change
 u - replica is up to date
 l - locator for this replica was read successfully
 c - replica's location was in /etc/lvm/mddb.cf
 p - replica's location was patched in kernel
 m - replica is master, this is replica selected as input
 W - replica has device write errors
 a - replica is active, commits are occurring to this replica
 M - replica had problem with master blocks
 D - replica had problem with data blocks
 F - replica had format problems
 S - replica is too small to hold current data base
 R - replica had device read errors

That thing you found on google looks like garbage. What would a hosts file have to do with it? But you could truss the command to see if it was even looking at /etc/hosts..

I have never used your syntax. I create the md.tab file and then metainit -a -f. Also the the file I do stuff like:
d0 1 1 /dev/dsk/c0t0d0s0

so you might try using the full path. Although the man page says your syntax should be ok. What does metastat say? Could there be an error in the partition table?

metatstat gives no output

# metastat
# 

I am attatching the truss output. I did'nt see anything about /etc/hosts in there.

Actually it died trying to resolve some name. It could be /etc/hosts or the resolver after all. Make sure that you can telnet to yourself and then try it again.

Wow. Ok. This is what I did.

Below is the contents of /etc/hosts...
Before

# Internet host table
#
127.0.0.1       localhost       loghost

After:

# Internet host table
#
127.0.0.1       localhost       loghost unknown

I then ran the metainit command again and it worked. Thanks for the pointer.

# metainit -f d11 1 1 /dev/dsk/c1t0d0s0                      
d11: Concat/Stripe is setup

It turns out that disksuite can manage disks which are connected to multiple hosts. (man metaset) It uses rpc's to see if that is the case here.