VMware Cloud Community
fajarpri
Enthusiast
Enthusiast

Very strange NFS locking issue

Hi all,

vCenter 5.0

ESXi 5.0 hosts

NFS datastore from Netapp

The issue happens on the latest host I added into the cluster.

I cannot create a Win7 VM. It boots into network because It cannot read the ISO file.

I test creating W2K8 VM, It is fine.

From the Host log I see this:

2014-02-09T13:01:45.181Z cpu21:890460)WARNING: NFSLock: 1951: Failed to create LockFileInfo for .lck-ed58000000000000 : Permission denied

2014-02-09T13:01:45.182Z cpu18:890460)WARNING: NFSLock: 1951: Failed to create LockFileInfo for .lck-ed58000000000000 : Permission denied

2014-02-09T13:01:45.183Z cpu18:890460)WARNING: NFSLock: 1951: Failed to create LockFileInfo for .lck-ed58000000000000 : Permission denied

2014-02-09T13:01:45.184Z cpu18:890460)WARNING: NFSLock: 2226: Cannot create lock file .lck-ed58000000000000 (4 retries) : Permission denied

2014-02-09T13:01:45.184Z cpu18:890460)NFSLock: 2912: failed to get lock on file en_windows_7_enterprise_with_sp1_x86_dvd_620186.iso 0x410011431c20 on 10.1.x.x (10.1.x.x): Permission denied

Why that particular ISO file has locking issue? The other ISO in the same NFS datastore are fine.

Is it safe to delete the .lck file?

Any more log I can check?

Thank you.

Fajar

Tags (2)
0 Kudos
5 Replies
admin
Immortal
Immortal

Can you goto cd /vmfs/volumes/NFS NAME/ FOLDER and list the files by running the command ls -ltrh?

0 Kudos
fajarpri
Enthusiast
Enthusiast

Here it is:

-rw-r--r--1 root root     2.3G Apr 16  2011 en_windows_7_enterprise_with_sp1_x86_dvd_620186.iso
-rw-r--r--1 root root     2.9G Feb 10  2012 en_windows_7_enterprise_x64_dvd_x15-70749.iso
-rw-r--r--1 root root     2.3G Feb 10  2012 en_windows_7_ultimate_x86_dvd_x15-65921.iso
0 Kudos
admin
Immortal
Immortal

Have you tried removing this iso from NFS and re-adding it back?

0 Kudos
fajarpri
Enthusiast
Enthusiast

I haven't. Let me try.

Or maybe faster solution is just to delete the .lck file? But I'm not sure if it is safe.

0 Kudos
admin
Immortal
Immortal

You can try removing lock file but I suspect that it wont get deleted

0 Kudos