Description of problem: ======================= Any attempt to copy a regular file on NFS mount fails with "Invalid Argument". For example: ============ [root@wingo master_nfs]# pwd /mnt/master_nfs [root@wingo master_nfs]# ls f.1 [root@wingo master_nfs]# cp -rf /etc/host* . cp: cannot create regular file `./host.conf': Invalid argument cp: cannot create regular file `./hosts': Invalid argument cp: cannot create regular file `./hosts.allow': Invalid argument cp: cannot create regular file `./hosts.deny': Invalid argument [root@wingo master_nfs]# [root@wingo master_nfs]# cp -rf /etc/sysconfig/network-scripts/ifcfg-eth0 . cp: cannot create regular file `./ifcfg-eth0': Invalid argument [root@wingo master_nfs]# To confirm created a file and directory from nfs client which is successful as: =============================================================================== [root@wingo master_nfs]# echo "hello" >> hello [root@wingo master_nfs]# ls f.1 hello [root@wingo master_nfs]# [root@wingo master_nfs]# mkdir test [root@wingo master_nfs]# Copy of dir to another directory in NFS client succeed but copy of regular file to another regular file failed as: =============================================================================== [root@wingo master_nfs]# cp -r test test1 [root@wingo master_nfs]# touch a [root@wingo master_nfs]# cp a b cp: cannot create regular file `b': Invalid argument [root@wingo master_nfs]# [root@wingo master_nfs]# cp hello hello1 cp: cannot create regular file `hello1': Invalid argument [root@wingo master_nfs]# Version-Release number of selected component (if applicable): ============================================================= glusterfs-3.7dev-0.869 How reproducible: ================= always Steps to Reproduce: =================== 1. Create a cluster 2. Create and start a volume (master) 3. Mount the volume on client (NFS mount) and cd to it 4. cp -rf /etc/host* . Actual results: =============== Fails with invalid argument Expected results: ================= Should successful copy the files to the nfs client
*** This bug has been marked as a duplicate of bug 1210338 ***