Re: Cannot start ksh on HP-UX 11.11 C3600 after installation of patches

From: Marty Freitas (marty_at_convex.hp.com)
Date: 09/29/05


Date: 28 Sep 2005 23:21:54 -0600

Florian Anwander wrote:
: If NFS try:
: rm $HOME/.sh_history
: ln /tmp/bla $HOME/.sh_history

How will this help? You won't be able to do a hardlink if one was NFS.
If a symlink, won't the lock still have problems? Or does it follow
the symlink to the local FS before trying to lock?

One trick is to export HISTFILE point to a local FS.

Of course I absolutely positively have to have it to work over NFS so
I make sure patches are installed and rpc.statd and rpc.lockd are working.
It's been years since I've had this problem.



Relevant Pages

  • Re: 6.1 and NFS
    ... This is becoming a show stopper for us moving forward with FreeBSD and may require us moving to a different OS (Linux or Solaris, ... Well, Solaris has the best NFS implementation out there and includes a number of subtle workarounds in their server code to reduce the number of and/or impact of problems seen doing heterogeneous networking against clients running other operating systems, but frankly, rpc.lockd isn't significantly more stable there on Solaris than on FreeBSD. ... In other words, if you plan to use NFS filesharing, you should make every effort to utilize software which functions with the classic ".lock"file mechanism rather than depending on lockf/flock/fcntl -based locking working. ... If a process wants the lock, ...
    (freebsd-questions)
  • Re: hard deadlock(?) on -current; some debugging info, need help
    ... > The thread in question is waiting on a nfs lock. ... > According to the vnode locks, there's one process waiting on the NFS ... > lock held by bash and 7 processes waiting on the ufs lock held by psi. ... I realize that the amd config file in which this ...
    (freebsd-current)
  • [BUG] 2.6.26-rc8-git2 - powerpc - circular locking dependency detected with net/ehea
    ... circular locking dependency is detected, ... ip/2214 is trying to acquire lock: ... Starting iprupdate: Checking ipr microcode levels ... Starting NFS services: ...
    (Linux-Kernel)
  • Re: [opensuse] Cant list home directory
    ... figure out why the mount died. ... can't lock lock file /etc/mtab~: ... Listing the NFS shares works fine after that though. ...
    (SuSE)
  • Re: Mounting NFS root FS
    ... with an NFS root file system. ... AFAIK NFS client lock state data seems ... boot (infinite wait on lock that never gets released). ... recognize client reboot given stale client lock data. ...
    (Linux-Kernel)