Software Archive
Read-only legacy content
17061 Discussions

NFS export IOError: [Errno 37] No locks available

P__Robert
Beginner
786 Views

Greetings,

I initially used these commands to establish the NFS functionality, but still got IOError: [Errno 37] No locks available.

vi /etc/exports

/home mic0(rw,insecure_locks,no_root_squash) mic1(rw,insecure_locks,no_root_squash) mic2(rw,insecure_locks,no_root_squash) mic3(rw,insecure_locks,no_root_squash) mic4(rw,insecure_locks,no_root_squash) mic5(rw,insecure_locks,no_root_squash) mic6(rw,insecure_locks,no_root_squash) mic7(rw,insecure_locks,no_root_squash)

exportfs -ra        

micctrl --addnfs=host:/home --dir=/home

 

Then I tried to modify the fstab entry, but still got IOError: [Errno 37] No locks available.

vi /var/mpss/mic0/etc/fstab
#host:/home    /home    nfs        defaults        1 1
host:/home    /home    nfs        defaults,lock        1 1

What additional steps are required to enable File Locking Support for an nfs export from host to MIC?

Thanks,

coast

0 Kudos
0 Replies
Reply