metaset autotake feature

I try to enablel autotake on a diskset, so i am able to mount the metadevices in /etc/vfstab.

It seems to be working except I get a 1 as exit code;

root@myhost_a:/etc # metaset -s myhost_ads -A enable

metaset: myhost_a: myhost_ads: diskset is auto-take; cannot accept additional hosts

root@myhost_a:/etc # echo $?

1

the metaset command does not show if the set ia autotake

root@myhost_a:/etc # metaset

Set name = myhost_ads, Set number = 1

HostOwner

myhost_a Yes

myhost_b

DriveDbase

c2t2d0Yes

Set name = myhost_bds, Set number = 2

HostOwner

myhost_b

myhost_a

DriveDbase

c2t3d0Yes

root@myhost_a:/etc #

reboot the system to try it is not a real option ;-)

Fritz

[802 byte] By [Tom_Tiger] at [2007-11-26 10:42:41]
# 1

Your problem is that you cannot have more than one host (the one that is going to do the autotaking) as a member of a disk set group; as mentioned here under the "Autotake Disk Sets" heading:

http://docs.sun.com/app/docs/doc/816-4520/6manpiemd?q=%2Fetc%2Fvfstab&a=vie w

Notabily:

Only single-host disk sets support the autotake feature.

The autotake feature requires that the disk set is not shared with any other systems.

A disk set that is shared cannot be set to use the autotake feature, and the metaset -A command will fail.

However, after other hosts are removed from the disk set, it may

then be set to autotake. Similarly, an autotake disk set cannot have other hosts added

to it. If the autotake feature is disabled, additional hosts can then be added to the disk set.

There error you are getting doesn't seem like an error:

metaset: myhost_a: myhost_ads: diskset is auto-take; cannot accept additional hosts

Stupid huh? Kinda defeats the purpose of having a diskset.

PSNetOps at 2007-7-7 2:54:35 > top of Java-index,Solaris Operating System,Solaris 10 Features...