How to Create Volume using Replicated Data (without Disk ID conflict)

Hi,

I am trying to create a new volume using replicated data. Here is the setup that I am using.

Original setup:

File System - UFS - /mnt/mntpoint

Volume - d0

Diskset - dskset

Device - /dev/rdsk/c2t41d0

I have replicated the device c2t41d0 using our hardware replication. Now I have created a new lun using the replicated data and mapped to the host. The new lun is exposed as device /dev/rdsk/c2t44d0.

I used metaimport command to import the disk set in c2t44d0. This goes without any flaws and now I have new diskset namely "cloneset". The issue comes when I try to do metainit over the new disk that is created. It errors out with the following error

c3t44d0s0: has appeared more than once in the specification of cloneset/d0

Eventhough I specify new volume name for cloneset disk set it fails with the above error. By the way d0 is my original volume name. Basically sun volume manager gets confused with the existing volume on the cloned disk set and thinks that d0 is the volume that is created over the disk set. Does any one know how to avoid this disk id conflict?

Thanks,

-Kumar.

Hence I would like to know whether sun supports volume creation over replicated data on the same host.

[1278 byte] By [kthillai] at [2007-11-26 6:40:15]
# 1

Actually I ran metarename on the new disk set to rename the volume and that seem to do the trick. Is this the right way to connect to the replicated data on the same host?

1. run metaimport to import the replicated disk set

2. run metarename to rename the volume

Thanks,

-Kumar.

kthillai at 2007-7-6 14:53:03 > top of Java-index,Storage Forums,Storage General Discussion...
# 2
I recommend to cross-post your questions here: http://www.opensolaris.org/jive/forum.jspa?forumID=16-- Leon
ckobopoga at 2007-7-6 14:53:03 > top of Java-index,Storage Forums,Storage General Discussion...