Home > clusterware > Unable -2 to apply correct permissions to new voting disk

Unable -2 to apply correct permissions to new voting disk

Add thrid NFS voting disk on extended RAC

1. Setup Solaris NFS server:/votedisk

2. Mount the export on the Solaris RAC Nodes

3. Add the third nfs voting by the command below and show error

# crsctl add css votedisk /votedisk/third_votedisk
Now formatting voting disk: /votedisk/third_votedisk.
Unable -2 to apply correct permissions to new voting disk /votedisk/third_votedisk.
Failure at scrsctl_vdiskperms with code -2
Segmentation Fault – core dumped
#

Finally, I found that I used wrong anon=<number> to export /votedisk on the NFS Server. The annon=<number> is required to equal to UID of oracle account on the RAC node.
Fix:

$ id
uid=100(oracle) gid=100(dba) <– get the uid

2. Go to the NFS Server and export the /votedisk

# cat dfstab

#       Place share(1M) commands here for automatic execution
#       on entering init state 3.
#
#       Issue the command ‘svcadm enable network/nfs/server’ to
#       run the NFS daemon processes and the share commands, after adding
#       the very first entry to this file.
#
#       share [-F fstype] [ -o options] [-d “<text>”] <pathname> [resource]
#       .e.g,
#       share  -F nfs  -o rw=engineering  -d “home dirs”  /export/home2
share -F nfs -o  anon=100 /votedisk <– Edit the anon=100

# shareall

3. Add the third nfs votedisk on RAC node

# crsctl add css votedisk /votedisk/third_votedisk
Now formatting voting disk: /votedisk/third_votedisk.
Successful addition of voting disk /votedisk/third_votedisk.

Advertisements
Categories: clusterware
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: