Operating System - HP-UX
1820072 Members
2615 Online
109608 Solutions
New Discussion юеВ

NFS wsize in /etc/exports?

 
SOLVED
Go to solution
A. Daniel King_1
Super Advisor

NFS wsize in /etc/exports?

Hi, folks.

I was wondering how I set wsize and rsize in /etc/exports. I can't seem to get the syntax correct. I have (which does work):

/mydir -async,root=myclient,access=myclient

But inserting wsize=32768 anywhere in the line gives error, as in:

/mydir -wsize=32768,async,root=myclient,access=myclients

/mydir -async,root=myclient,access=myclients,wsize=32768

Both return:

exportfs error: unknown option: wsize=32768

Am I missing a patch? I'm using HP-UX 11.0.

Thanks in advance.
Command-Line Junkie
4 REPLIES 4
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: NFS wsize in /etc/exports?

wsize and rsize are mount options; you set them on the client end.
If it ain't broke, I can fix that.
Sajid_1
Honored Contributor

Re: NFS wsize in /etc/exports?

hello,

wsize and rsize cannot be used in the exports file, because it's not an NFS export option. Instead, you can use those options when you mount the NFS exported file systems at the client side. You cannot use this as exportfs options. Check these for details:
# man exportfs
# man mount_nfs
learn unix ..
S.K. Chan
Honored Contributor

Re: NFS wsize in /etc/exports?

If you're not sure about the syntax in /etc/fstab file (on the client's side) you can always use SAM to add this entry. SAM->Networking&Communication->NFS->MountedRemoteFS. In the action tab AddRemoteFS->UsingNFS. After you have entered the appropriate values, goto the "Mount Options" and in there you can set the wsize and rsize.
A. Daniel King_1
Super Advisor

Re: NFS wsize in /etc/exports?

I was under the impression that this had to be set on both sides (client/server).

Thanks for clearing that up.
Command-Line Junkie