Re: [OmniOS-discuss] NFS v3 locking broken in latest OmniOS r151012 and updates

2015-01-28 Thread Youzhong Yang
max threads of nlockmgr is set to 20 I think. Bump up this value then you can get rid of 'no locks available' error. To confirm the current value: echo ::svc_pool nlm | mdb -k | grep 'Max threads' On Wed, Jan 28, 2015 at 11:49 AM, Joe Little jmlit...@gmail.com wrote: I recently switched one

[OmniOS-discuss] NFS v3 locking broken in latest OmniOS r151012 and updates

2015-01-28 Thread Joe Little
I recently switched one file server from 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

Re: [OmniOS-discuss] NFS v3 locking broken in latest OmniOS r151012 and updates

2015-01-28 Thread Dan McDonald
You should bring this up with the illumos developers list. (And I'm surprised Nexenta hasn't shipped the new lockmgr yet since they were the ones who ported it.) ANYWAY, please bring this up on the illumos developer's list. There may already be a bug open. Dan

Re: [OmniOS-discuss] PERL Modules in PKG

2015-01-28 Thread Eric Sproul
On Mon, Jan 12, 2015 at 4:55 PM, Volker A. Brandt v...@bb-c.de wrote: Alex McWhirter writes: [...] Or would it be best to compile these perl modules into IP packages and set them as dependencies? Yes. If you do this more often you might want to script this. Personally I prefer native

Re: [OmniOS-discuss] NFS v3 locking broken in latest OmniOS r151012 and updates

2015-01-28 Thread Joe Little
Just to answer this question, I had already bumped that up based on some suggestions on the net: root@miele:/root# echo ::svc_pool nlm | mdb -k | grep 'Max threads' mdb: failed to add kvm_pte_chain walker: walk name already in use mdb: failed to add kvm_rmap_desc walker: walk name already in

Re: [OmniOS-discuss] NFS v3 locking broken in latest OmniOS r151012 and updates

2015-01-28 Thread Joe Little
I just set it to 1024 and still locking times out. On Wed, Jan 28, 2015 at 10:13 AM, Youzhong Yang youzh...@gmail.com wrote: Depending on how many active locks your system needs to handle, 80 might be a small value. We use a different distro of illumos-gate and we set max threads to 1024,

Re: [OmniOS-discuss] NFS v3 locking broken in latest OmniOS r151012 and updates

2015-01-28 Thread Youzhong Yang
Depending on how many active locks your system needs to handle, 80 might be a small value. We use a different distro of illumos-gate and we set max threads to 1024, so far so good we are happy with the open source nlockmgr except the nlockmgr startup issue when machine reboots. On Wed, Jan 28,

Re: [OmniOS-discuss] NFS v3 locking broken in latest OmniOS r151012 and updates

2015-01-28 Thread Dan McDonald
On Jan 28, 2015, at 1:52 PM, Joe Little jmlit...@gmail.com wrote: Already forwarded to illumos-discuss, and they already have the snoop, and the denied lock segment Thank you for moving it over there. In the future, such a technical problem should go to the developers' list