Hangs when do ls on mount directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 Hello all!

Can someone help me with my problem?
I have nfs-server on Centos 6 with kernel 2.6.32 and nfs-client on OpenSUSE 11.4 with kernel 2.6.37

/etc/exports on server:
/data/input     10.100.0.65/32(rw,sync,no_root_squash,no_subtree_check,no_wdelay,no_acl)

/etc/fstab on client:
10.100.0.214:/data/input    /mnt/input  nfs     rw,sync,bg,auto,intr,hard,rsize=32768,wsize=32768,vers=4,timeo=600,tcp,noatime,nodiratime

Everything works fine, but in some cases i have a problem:
In the first session on client i start to copy a large file (10-40Gb), and in second session on client i trying read /mnt/input

w:/ # time ls -la /mnt/input
total 68819848
drwxrwxrwx 2 nobody nobody          68 May 14 12:17 .
drwxr-xr-x 8 root   root          4096 May  6 14:18 ..
-rw-r--r-- 1 nobody users  20722711568 May 14 04:22 14PR0035M.mxf
-rw-r--r-- 1 root   root   20536435216 May 14 12:22 14PR0035T.mxf
-rw-r--r-- 1 nobody users  13279567128 May 14 03:23 14VO0180M_1.mxf

real    0m31.796s
user    0m0.000s
sys     0m0.066s

In output of strace (strace ls -la /mnt/input) i see

lstat("/mnt/input/14PR0035M.mxf", {st_mode=S_IFREG|0644, st_size=20722711568, ...}) = 0
lgetxattr("/mnt/input/14PR0035M.mxf", "security.selinux", 0x6295b0, 255) = -1 EOPNOTSUPP (Operation not supported)
getxattr("/mnt/input/14PR0035M.mxf", "system.posix_acl_access", 0x0, 0) = -1 EOPNOTSUPP (Operation not supported)
lstat("/mnt/input/14PR0035T.mxf",

And these output hang up on 15-40 seconds.

14PR0035T.mxf - is the name of the file which now is transferred in first session. Output always hangs on the file that now is transferred.\

ls -la /data/input on server works fine. 

What can be done to solve this problem?��.n��������+%������w��{.n�����{��w���jg��������ݢj����G�������j:+v���w�m������w�������h�����٥





[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux