I have a box where I just split a hardware RAID-1 to make two logical
volumes.  I'm laying down SVM metadb.  Because this was previously a
hardware mirror, I'm seeing something perhaps like a ghosted metadb
from when these two disks were paired up.

# metadb -a -f -c3 c0t0d0s7 c0t1d0s7
metadb: mddev2: metadevice database replica exists on device

I know there isn't one on either slice 7, because if I just do
# metadb -a -f -c3 c0t0d0s7

OR

# metadb -a -f -c3 c0t1d0s7,

it will work.  Just not both.

When I do a metainit, I get an "overlap" error.

# metainit -f d12 1 1 c0t1d0s0
metainit: mddev2: c0t1d0s0: overlaps with device in d11

Everything works as expected if I just do it using one disk.  I've
checked to see that I don't have some strange multipath weirdness
that's presenting me with 2 device names leading to one physical disk,
this is not the case.

I'm at a loss.  I can't clear the metadb when the tool proper can't
decide if there IS or there is NOT a metadb on that disk.

CT
_______________________________________________
sysadmin-discuss mailing list
sysadmin-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/sysadmin-discuss

Reply via email to