Subscribe

Showmount showing the volume after the exporting Only qtree in CDOT

[ Edited ]

I am running on 8.3.1 cdot

 

I have a vol ( test1) with qtree(qtree1) (qtree2), Created export policy and rulles.

 

Exported the NAS share by adding rules to just the qtrees. I've modfied volume's export policy as (no_one).

 

But when i go the server and do a showmount -e (filerIP) i see the volume which i should not....Can anyone suggest resolution?

Server is RHEL 6.X and seeing output as below.

/test1 (everyone)

/test1/qtree1 (everyone)

/test1/qtree2 (everyone)

 

My requirement is Server should not see the vol except the qtrees whichi exported.

 

--Srinath

Re: Showmount showing the volume after the exporting Only qtree in CDOT

Hi,

in Cluster Mode you need to enable the showmount option:

 

 nfs modify -vserver vserver_name -showmount enabled

 

Regards

Roberto

Re: Showmount showing the volume after the exporting Only qtree in CDOT

There is no way to hide the volume in showmount in cDOT, as you have to export the parent volume to be able to access the qtree.

Re: Showmount showing the volume after the exporting Only qtree in CDOT

Yes . I've enabled the showmount option which allowed the client server see the all the NFS shares including the vol which was not exported as well..

I am trying to hide that volume and allow only qtrees.

 

/test1 (everyone)    ==> I dont want him to view this.

/test1/qtree1 (everyone) => exported to client server

/test1/qtree2 (everyone) => exported to client server

 

Thank you

Re: Showmount showing the volume after the exporting Only qtree in CDOT

As mentioned in the post above yours, it is not possible to hide volumes in showmount output.