[Lustre-discuss] Permission denied error when mv files

Aaron Everett aeverett at ForteDS.com
Thu Mar 5 17:01:22 PST 2009


Hello all,

 

I am running Lustre 1.6.6 on 3 OST's and 1 MDS with 1.6.6 clients. I am
also running Sun Grid Engine and have approximately 70 client nodes, all
multiple processors. The Lustre machines are running RHEL5
2.6.18-92.1.10.el5_lustre.1.6.6smp and clients are running RHEL4
2.6.9-67.0.22.EL_lustre.1.6.6smp.

 

I am using autofs on the clients to mount the Lustre filesystem. My
/etc/auto.lustre file contains:

 

work    -fstype=lustre  -flock  lustrefs:/lustre

 

We are seeing a reproducible error if we try to mv a file from /tmp to
the lustre filesystem. If we cp the same file, there is no error.

 

[aeverett at rdlogin02 ~]$ 

[aeverett at rdlogin02 ~]$ touch /tmp/ae.test

[aeverett at rdlogin02 ~]$ mv /tmp/ae.test /lustre/work/aeverett/ae.file

mv: cannot create regular file `/lustre/work/aeverett/ae.file':
Permission denied

[aeverett at rdlogin02 ~]$ cp /tmp/ae.test /lustre/work/aeverett/ae.file

[aeverett at rdlogin02 ~]$ ls -al /lustre/work/aeverett/ae.file 

-rw-r--r--  1 aeverett users 0 Mar  5 19:57
/lustre/work/aeverett/ae.file

[aeverett at rdlogin02 ~]$

 

How does writing the file during a mv differ from a cp? Should I change
my flags for the automount? Any help is appreciated!

 

Regards,

Aaron

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20090305/97bc655e/attachment.htm>


More information about the lustre-discuss mailing list