Problem creating disk set - sc_rval = 2
807567Nov 28 2006 — edited Mar 21 2010I've been having a lot of problems geting Solaris Volume Manager installed with our cluster. We had some single disk filesystems setup, and while cleaning them up, I accidentally erased the /global/.devices/node@<number> entries from /etc/vfstab on both nodes (oops!)
Anyway, I almost had a filesystem working on the volume manager volume before, but ran into issues. Sun Partner Advantage ISV support said I needed to delete everything and start over. the metaclear and metaset -d commands didn't work, so I used metadb -d to delete the state replicas on both nodes and start over.
I've recreated the state database replica on both nodes and followed the instructions in Appendix A of the Sun Cluster 3.1 guide (May 2003 Rev A) page 148, 149.
I rebooted both machines
I ran devfsadm on all nodes
I ran scgdevs on the first node and waited for it to complete on the second.
I'm stuck on this line:
$ metaset -s clus01 -a -h sole1 sole2
sc_rval = 2
metaset: sole1: setname "clus01": no such set
I'm not sure what to do now.
The state database replicas exist on both nodes:
root@sole1:~ >metadb
flags first blk block count
a m pc luo 16 8192 /dev/dsk/c1t0d0s6
root@sole2:~ >metadb
flags first blk block count
a m pc luo 16 8192 /dev/dsk/c1t0d0s6