[ILUG-Cochin.org] Getting error (Directory not empty) when copying file using 'cp' command to shared location (NFS) and trying to remove directory after killing copy process

2012-03-22 Thread Saju M
Getting error (Directory not empty) when copying file using 'cp' command to shared location (NFS) and trying to remove directory after killing copy process is it NFS configuration issue ? NFS config # cat /etc/exports /home/fluent/share *(rw,sync,no_subtree_check) Using centos 6 as client

Re: [ILUG-Cochin.org] Getting error (Directory not empty) when copying file using 'cp' command to shared location (NFS) and trying to remove directory after killing copy process

2012-03-22 Thread unni krishnan
D state of process is uninterruptible state. >From http://wiki.openvz.org/Processes_in_D_state D state occurs then the process is in uninterruptible sleep. This state is bad, because you can't do anything with the process in D state. Fortunately, process normally remains in such state not for so

Re: [ILUG-Cochin.org] Getting error (Directory not empty) when copying file using 'cp' command to shared location (NFS) and trying to remove directory after killing copy process

2012-03-22 Thread Saju M
Thanks unni, Here is the output of "ps -axl | grep cp" during this copy, kill and delete operation WCHAN column showing : sync_p, wait_i, nfs_wa, rpc_wa and sync_p # ps -axl | grep cp 4 0 11140 3050 20 0 113956 1056 sync_p Ds ? 0:00 cp -ar /var/cache/cms/vm_disks/ubunu_11_se

Re: [ILUG-Cochin.org] Getting error (Directory not empty) when copying file using 'cp' command to shared location (NFS) and trying to remove directory after killing copy process

2012-03-22 Thread ebin augustine
Hi, Please change the NFS configuration as given below and try again. NFS config # cat /etc/exports /home/fluent/share *(rw,sync,no_root_squash) no_root_squash is a setting that allows nfs clients to connect as root. Without this setting, the root user on clients that connect has the permi