Operating System - HP-UX
1836392 Members
3461 Online
110100 Solutions
New Discussion

Re: Linux NFS client to HP-UX server deficiencies

 
Ralph Grothe
Honored Contributor

Linux NFS client to HP-UX server deficiencies

Hello,

on a HP-UX 11.11 server I exported an NFS share to a Linux Fedora 3 client with the following options:

-access=dns.fqdn.of.FC3.box,anon=-1

On the Linux client I placed the NFS mount in the fstab (probably not wise if not using noauto?)
with the following mount options:

rw,nosuid,nodev,bg,hard,intr,posix,rsize=8192,wsize=8192

The nfs manpage on linux lists a myriad of options from which I picked those that seemed to make sense more or less.

The mounting and access for non-anon or root users is ok.
Though I still have to try if the Linux box will hang on bootup should the NFS server not be available, which I hoped to have taken provision for by the bg option.

Anyway, what disturbs me is that on a "df -ktnfs" issued on the Linux client I don't get block usage columns displayed but only the exported NFS share and its local mountpoint.
The same is true for a "stat -f" run against the NFS mountpoint.
This may be irritating to users too,
and it would render monitors that check the filling of filesystems dysfunctional
(well ok, I still have those checks on the NFS server, but it lacks style)

Why can't the NFS client stat the server?
(nfsstat -c only displays the usual NFS/RPC call stats, and the Linux nfsstat seems to lack HP's -m option).
Is this a commonly observed idiosyncrasy when doing NFS between HP-UX and Linux,
or are there missed options for both server or client that would remedy?

Rgds.
Ralph
Madness, thy name is system administration
3 REPLIES 3
Steve Lewis
Honored Contributor

Re: Linux NFS client to HP-UX server deficiencies

Ralph,

I can only suggest that you keep the mount options in your fstab file to the minimum at first.

Try to add each option one at a time to the fstab and test mount the filesystem, then you know which option will be stopping it from working.

Don't forget that /etc/exports entries on the server side may be stopping the client from mounting.

I also suggest you try the async option and soft rather than hard.

When you have a working set of options that is as secure as you can get it, you can try the reboot test.

Steve
David Nixon
Valued Contributor

Re: Linux NFS client to HP-UX server deficiencies

I'm using FC4 client to 11.11 server. Certainly your options allow a client to stat NFS file systems for blocks used.
Possibly this could be an issue with FC3 NFS.


Enrico P.
Honored Contributor

Re: Linux NFS client to HP-UX server deficiencies

Hi,
I confirm that with FC4 and your option the df command work well but there isn' t an analogous -m option of the nfsstat command on FC4

Enrico