Problem: You have imported your CVM disk group as shared, and its imported on all nodes of your cluster, but when you try to mount a volume, you get:
# mount -F vxfs -o cluster /dev/vx/dsk/oratestdg/oratest /oratest
UX:vxfs mount: ERROR: V-3-20003: Cannot open /dev/vx/dsk/oratestdg/oratest: No such device or address
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
Solution: The problem is that you do not have the disk group activation mode set properly. If you run a vxdg list [dgname] , you can see the activation mode for each node.
Examine the contents of your /etc/default/vxdg. You will probably see a line like:
default_activation_mode=off
Change it to default_activation_mode=sw, and restart veritas.
If you want to do it interactively by disk group, try vxdg -g [dgname] set activation=sw
1 comment:
For SUN CLuster
If the customer uses vxdg to deport and import then OSC dcs_service is not
updated to reflect the new dg primary. VxVM and OSC will now have inconsistency
in DG ownership. This will cause a mount problem.Resolution: Use vxdg to move
the dg back to the node that scstat showsto be the primary.
Then use;# scswitch -z -D -h
to move the DG to the other node. Mount will then work fine.
Post a Comment