Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: glascock@paploo.mayo.edu (Don Glascock)
Subject: locks held by an OSF/1 lock daemon?
Date: 29 Mar 1994 15:30:02 GMT	[thread overview]
Message-ID: <2n9hhq$7m2@fermat.mayo.edu> (raw)



Hi.

  We're offering NFS file services to PC's and workstations from
our OSF/1 Alpha -- are we're both pleased and impressed by its
speed sturdiness.

  However, we are experiencing problems when PC applications keel
over & crash a PC while the application in question is working
with a file offered by the file server:  the file server does not
seem to let go of the locks it was requested to hold for a given
file before the crash.  We think this is the case, because when the
PC is rebooted, users can no longer gain access to the file in
question.  Further, access is denied from other PC's as well.

  We are using Sun's PC/nfs 5.0 on the PC's, and our "net use"
commands have "/ms" switches on them.  Page 77 of the PC/nfs
Administration Guide says:

    If your PC crashes while you have files open for a
    network drive that enforces locking, your file sharing
    and byte-range locks remain active.  After a PC crash,
    you must boot your PC and remount any network drives.
    When you do this, PC-NFS software will request the Lock
    Manager program to clear out any old locks.

  This doesn't *seem* to be happening.  Can anyone demonstate
this one way or the other?

  I've done my "man -k"'s and read the man pages for rpc.lockd
on our fileserver, but haven't found a way to examine or release
locks from the command line.  As we have some forty NFS clients,
I am reluctant to just kill & restart the lock daemons.

  Does software to examine and/or release locks held by a server
exist?

  As a fairly gnarled C programmer, I'm considering writing a C
program to talk to rpc.lockd.  Has anyone tried this?

Thanks in advance...

don

--

     +   +   +   +   +   +   +   +   +   +   +   +   +
        Don Glascock                                  
     +  Mailstop GU-10                               +
        Special Purpose Processor Development Group   
     +  Mayo Foundation                              +
        Rochester, MN  55905                          
     +  glascock@mayo.edu            (507) 284-1850  +
        "No matter where you go, there you are."      
     +   +   +   +   +   +   +   +   +   +   +   +   +



                 reply	other threads:[~1994-03-29 15:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox