Please show me the output from the following commands on the affected machine:
echo "::svc_pool nlm" | mdb -k echo "::stacks -m klmmod" | mdb -k Then run the following command: snoop -o snoop.out rpc nlockmgr Then reproduce the problem (to see the ENOLCK error) and then Ctrl+C the snoop. Make sure there is something in the snoop.out file and send the file to me. Thanks. On Wed, Jan 28, 2015 at 10:06:39AM -0800, Joe Little via illumos-discuss wrote: > Forwarded this as requested by OmniTI > > ---------- Forwarded message ---------- > From: Joe Little <[email protected]> > Date: Wed, Jan 28, 2015 at 8:49 AM > Subject: NFS v3 locking broken in latest OmniOS r151012 and updates > To: [email protected] > > > I recently switched one file server from Nexenta 3 and then Nexenta 4 > Community (still uses closed NLM I believe) to OmniOS r151012. > > Immediately, users started to complain from various Linux clients that > locking was failing. Most of those clients explicitly set their NFS version > to 3. I finally isolated that the locking does not fail on NFS v4 and have > worked on transition where possible. But presently, no NFS v3 client and > successfully lock against OmniOS NFS v3 locking service. I've confirmed > that the locking service is running and is present using rpcinfo, matching > one for one in services from previous OpenSolaris and Illumos variants. One > example from a user: > > $ strace /bin/tcsh > > [...] > > open("/home/REDACTED/.history", O_RDWR|O_CREAT, 0600) = 0 > > dup(0) = 1 > > dup(1) = 2 > > dup(2) = 3 > > dup(3) = 4 > > dup(4) = 5 > > dup(5) = 6 > > close(5) = 0 > > close(4) = 0 > > close(3) = 0 > > close(2) = 0 > > close(1) = 0 > > close(0) = 0 > > fcntl(6, F_SETFD, FD_CLOEXEC) = 0 > > fcntl(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) > > > HERE fcntl hangs for 1-2 min and finally returns with "-1 ENOLCK (No > > locks available)" > > > > ------------------------------------------- > illumos-discuss > Archives: https://www.listbox.com/member/archive/182180/=now > RSS Feed: https://www.listbox.com/member/archive/rss/182180/23046997-5a38a7d8 > Modify Your Subscription: https://www.listbox.com/member/?& > Powered by Listbox: http://www.listbox.com -- +-------------------------------------------+ | Marcel Telka e-mail: [email protected] | | homepage: http://telka.sk/ | | jabber: [email protected] | +-------------------------------------------+ ------------------------------------------- illumos-discuss Archives: https://www.listbox.com/member/archive/182180/=now RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be Modify Your Subscription: https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4 Powered by Listbox: http://www.listbox.com
