From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,5140f793b20351f3,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-03-29 07:30:02 PST Path: gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!att-in!news.bu.edu!olivea!spool.mu.edu!howland.reston.ans.net!europa.eng.gtefsd.com!MathWorks.Com!panix!zip.eecs.umich.edu!umn.edu!mayonews.mayo.edu!paploo!glascock From: glascock@paploo.mayo.edu (Don Glascock) Newsgroups: comp.unix.osf.osf1 Subject: locks held by an OSF/1 lock daemon? Date: 29 Mar 1994 15:30:02 GMT Organization: SPPDG, Mayo Foundation, Rochester, MN, USA Sender: glascock@paploo (Don Glascock) Distribution: world Message-ID: <2n9hhq$7m2@fermat.mayo.edu> Reply-To: glascock@mayo.edu NNTP-Posting-Host: paploo.mayo.edu X-Newsreader: mxrn 6.18-9 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." + + + + + + + + + + + + +