cancel
Showing results for 
Search instead for 
Did you mean: 

MountOpt on Clustered NFS - SFRAC 5.1

Aacor
Level 3

SunOS  5.10 Generic_142900-09 sun4v sparc SUNW,Sun-Fire-T2000

VERITAS Storage Foundation for Oracle RAC 5.1

I have sucessfully configured CNFS however I want to manipulate the NFS share to only allow ceratin hosts access. I understand how to do this under normal NFS normally however I can't work out from the man page how to configure using cfsshare.

 

What are the possbile 'mount options' here and how would I use them to allow only certain hosts?

cfsshare add shared_disk_group shared_volume mount_point [share_options] all=[mount_options]

 

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions

Aacor
Level 3

Thanks for the advice.

 

I updated the Service group 'cfsnfssg' resource share1 to include the Share options;

 

rw=<node1>:<node2>:<node3>:<node4>

View solution in original post

2 REPLIES 2

g_lee
Level 6

If you're using SFCFS 5.1SP1 (which appears to be the case from an earlier post), the -N nfs_share_options option appears to cater for this requirement:

cfsshare add -p nfs [ -N nfs_share_options ] shared_disk_group shared_volume mount_point node_name=[ mount_options ]

cfsshare add -p nfs [ -N nfs_share_options ] shared_disk_group shared_volume mount_point all=[ mount_options ]

https://sort.symantec.com/public/documents/sfha/5.1sp1/solaris/manualpages/html/man/storage_foundation_cluster_file_system/html/man1m/cfsshare.1m.html

SFCFS 5.1SP1 (Solaris) Administrator's Guide ( https://sort.symantec.com/public/documents/sfha/5.1sp1/solaris/productguides/pdf/sfcfs_admin_51sp1_sol.pdf or html: https://sort.symantec.com/public/documents/sfha/5.1sp1/solaris/productguides/html/sfcfs_admin/sfcfs_admin_51sp1_sol.htm )

Clustered NFS -> Administering Clustered NFS p161
---------
Sharing a CFS file system previously added to VCS
cfsshare share mount_point [share_options]
Note: You can use the -N option to specify the NFS share options.
You can also use the -p nfs to specify that the protocol to be used is NFS.
See the cfsshare(1M) manual page for more information.
---------

Aacor
Level 3

Thanks for the advice.

 

I updated the Service group 'cfsnfssg' resource share1 to include the Share options;

 

rw=<node1>:<node2>:<node3>:<node4>