- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NFS client fails to start on HPUX 11.11
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2008 12:35 PM
тАО11-04-2008 12:35 PM
NFS client fails to start on HPUX 11.11
I have recently upgraded my system to HPUX 11.11 with the latest patches. My nfsconf file has the following flags set:
NFS_CLIENT=1
NFS_SERVER=0
NUM_NFSD=16
NUM_NFSIOD=16
PCNFS_SERVER=0
LOCKD_OPTIONS=""
STATD_OPTIONS=""
MOUNTD_OPTIONS=""
AUTOMOUNT=0
AUTO_MASTER="/etc/auto_master"
AUTO_OPTIONS="-f $AUTO_MASTER"
START_MOUNTD=1
AUTOFS=1
AUTOMOUNT_OPTIONS=""
AUTOMOUNTD_OPTIONS=""
When I reboot the system, my syslog.log file contains the following errors:
Nov 4 12:43:02 gatling vmunix: WARNING: STR_PUSH rpcmod failed, error = 22, ret
val = -1
Nov 4 12:43:08 gatling vmunix: NFS server ak47 not responding still trying
Nov 4 12:44:56 gatling vmunix: WARNING: STR_PUSH rpcmod failed, error = 22, ret
val = -1
Nov 4 12:44:56 gatling above message repeats 19 times
Nov 4 12:44:56 gatling vmunix:
Nov 4 12:44:56 gatling above message repeats 19 times
Nov 4 12:45:02 gatling vmunix: WARNING: STR_PUSH rpcmod failed, error = 22, ret
val = -1
Nov 4 12:45:02 gatling vmunix:
Nov 4 13:04:56 gatling vmunix: WARNING: STR_PUSH rpcmod failed, error = 22, ret
val = -1
Nov 4 13:04:56 gatling above message repeats 199 times
Nov 4 13:04:56 gatling vmunix:
Nov 4 13:04:56 gatling above message repeats 199 times
Nov 4 13:05:02 gatling vmunix: WARNING: STR_PUSH rpcmod failed, error = 22, ret
val = -1
Nov 4 13:05:02 gatling vmunix:
Nov 4 13:24:56 gatling vmunix: WARNING: STR_PUSH rpcmod failed, error = 22, ret
val = -1
Nov 4 13:24:57 gatling above message repeats 199 times
Nov 4 13:24:56 gatling vmunix:
Nov 4 13:24:57 gatling above message repeats 199 times
Nov 4 13:25:02 gatling vmunix: WARNING: STR_PUSH rpcmod failed, error = 22, ret
val = -1
Nov 4 13:25:02 gatling vmunix:
If I try to manually mount any remote filesystem, I will receive the following:
mount ak47:/data/os /mnt
NFS server ak47 not responding still trying
This NFS message will continue to repeat continuously, even if I try to kill -9 the mount command. The only way to terminate the mount request is to reboot the machine.
I cannot find any info on the web on why I am getting this error. I have 3 other HPUX systems that have similar settings in the nfsconf file and have no problems with NFS and remote mounts.
Can anyone shed some light on my NFS problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2008 12:45 PM
тАО11-04-2008 12:45 PM
Re: NFS client fails to start on HPUX 11.11
Start NFS client subsystem
Output from "/sbin/rc2.d/S430nfs.client start":
----------------------------
starting NFS CLIENT networking
starting up the rpcbind
rpcbind already started, using pid: 592
starting up the BIO daemons
/usr/sbin/biod 16
starting up the Status Monitor daemon
/usr/sbin/rpc.statd
starting up the Lock Manager daemon
/usr/sbin/rpc.lockd
mounting remote NFS file systems ...
mounting CacheFS file systems ...
mount: cachefs : Invalid argument
usage: mount [-l][-v|-p]
mount [-F FStype][-eQ] -a
mount [-F FStype][-eQrV][-o specific_options]
{ special | directory }
mount [-F FStype][-eQrV][-o specific_options]
special directory
FAILURE CODE: 1
Mount failed! Possible local filesystem mount.
If local filesystem, then nfs.server will mount it.
If I manually attempt the command:
mount -F cachefs
I will receive the following:
gatling# mount -F cachefs
usage: mount [-l][-v|-p]
mount [-F FStype][-eQ] -a
mount [-F FStype][-eQrV][-o specific_options]
{ special | directory }
mount [-F FStype][-eQrV][-o specific_options]
special directory
And if I manually attempt the command:
mount -F cachefs -a
I will receive the following:
gatling# mount -F cachefs -a
mount: cachefs : Invalid argument
usage: mount [-l][-v|-p]
mount [-F FStype][-eQ] -a
mount [-F FStype][-eQrV][-o specific_options]
{ special | directory }
mount [-F FStype][-eQrV][-o specific_options]
special directory
Why is the mount command invalid?
- Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2008 02:30 PM
тАО11-04-2008 02:30 PM
Re: NFS client fails to start on HPUX 11.11
For the cacheFS error what is the cacheFS configuration? Are you even using cacheFS or did that come in with the patching as well?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2008 02:57 PM
тАО11-04-2008 02:57 PM
Re: NFS client fails to start on HPUX 11.11
Here is the result of issuing the rpcinfo command on ak47:
rpcinfo -p | grep -i NFS
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
When I ran the same rpcinfo on gatling, I had no matches!
As for the cachefs, I am not setting this up specifically: it is being mounted as part of the startup. I have noticed that on my other PA-RISC system (11.23) I have the same mounting taking place it that startup without error.
- Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2008 08:32 PM
тАО11-04-2008 08:32 PM
Re: NFS client fails to start on HPUX 11.11
Did you check your NFS server is it working for otheres ?
If yes then did you tried from other client to mount the server ak47 ?
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2008 12:08 AM
тАО11-05-2008 12:08 AM
Re: NFS client fails to start on HPUX 11.11
first check, if there are any backup files left in directory /etc/rc.config.d, like
xxx.old ...
Delete them, or move them to .xxx.old or to a different directory.
If you did an upgrade or the installation of patches, look into the directory /etc/newconfig/...
There may be startup files having an updated structure:
- modification concerning your site have to be included
- activate them in copying to the final location
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2008 12:47 AM
тАО11-05-2008 12:47 AM
Re: NFS client fails to start on HPUX 11.11
The usual suspect is an error in /etc/rc.config.d/netconf or trying to maintain a backup copy of netconf in /etc/rc.config.d, only certain names will work.
Boot the system to single user mode.
mount /var
mount /usr
configure nfs.server nfs.core nfs.client to not start.
Boot the system normally.
See what the state of networking is. Correct any errors and try starting nfs manually, core, server then client.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2008 05:22 AM
тАО11-05-2008 05:22 AM
Re: NFS client fails to start on HPUX 11.11
The error "mount: cachefs : Invalid argument" indicates that the mount command is NOT aware of the cachefs option. Maybe more patches are needed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2008 07:03 AM
тАО11-06-2008 07:03 AM
Re: NFS client fails to start on HPUX 11.11
There are no /etc/rc.config.d/old* files.
There is no /etc/newconfig/ directory.
I was trying to determine why the "mount -AQF cachefs" command was failing during startup. I found in the man pages the ability to query the kernel to find out all of the filesystem types that are available. The source code is below:
#include
int main( argc, argv )
int argc;
char** argv;
{
int max_type, error, i;
char name[FSTYPSZ];
max_type = sysfs(GETNFSTYP);
for (i -0; i< max_type; i++)
{
error = sysfs(GETFSTYP, i, name);
if (error == 0)
printf("Name is %s\n",name);
}
return 0;
}
I built and ran this on two systems, both HPUX 11.11 systems. Here are my results:
Older machine with no NFS problems:
Name is hfs
Name is nfs
Name is cdfs
Name is autofs
Name is ffs
Name is cachefs
Name is vxfs
Name is nfs3
Name is lofs
Name is pipefs
My troubled machine (gatling):
Name is hfs
Name is nfs
Name is cdfs
Name is nfs3
Name is ffs
Name is vxfs
Name is lofs
Name is pipefs
As you can see, the kernel on gatling does not have filesystems cachefs nor autofs installed. How did this happen and how do I correct it?
Regards, Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2008 08:44 AM
тАО11-06-2008 08:44 AM
Re: NFS client fails to start on HPUX 11.11
it may be, that there is a products called 'Enhanced AutoFS' is in play. It put significant changes of stability to the NFS implementation at 11i. I do not have any host running 11i without it.
Look at the 'swlist' of both servers to identfy this; get ENHAUTOFS from software.hp.com (free of charge) and install it.
Dave Olker would recommend the same, IMHO.
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2008 01:02 PM
тАО11-07-2008 01:02 PM
Re: NFS client fails to start on HPUX 11.11
I have also run kmasdmin -k and found out that I do not have autofsc and cachefsc configured!! If I run this same command on my other, working HPUX 11.11 system, they are listed. Why are these not configured in the kernal?