[Linux-cluster] with gfs2, permission denied on first attempt to run an executable
Ken Roser
fedora at resork.sent.com
Wed Dec 12 18:58:45 UTC 2007
The problem always occurs when I do this:
$ umount /storage2; mount /dev/emcpowerc1 /storage2; /storage2/program
bash: /storage2/program: Permission denied
$
If I do:
umount /storage2;mount /dev/emcpowerc1 /storage2; strace /storage2/program
I get a very long strace output AND the program does run, thus the
strace doesn't show where the problem is.
Shawn Hood wrote:
> Try running it along with an strace. Compare the results from the
> first and second attempts.
>
> Shawn
>
> On Dec 12, 2007 1:09 PM, Ken Roser <fedora at resork.sent.com> wrote:
>
>> I'm running a two cluster system with both nodes RHEL 5.1. I have
>> shared gfs2 filesystems on a SAN storage device.
>>
>> Everything seems to work except for the first time I attempt to run an
>> executable on one of the gfs2 filesystems. The first time I get
>> "permission denied", but all subsequent attempts work as expected. If I
>> unmount and mount the filesystem, again the "permission denied" problem
>> returns just for the first time I try to execute the file.
>>
>> I'm using lock_dlm with 4 journals. Is there anything I can
>> check/change to diagnose this problem. I see no message in
>> /var/log/messages corresponding to the "permission denied" problem.
>>
>> --
>> Linux-cluster mailing list
>> Linux-cluster at redhat.com
>> https://www.redhat.com/mailman/listinfo/linux-cluster
>>
>>
>
>
>
>
More information about the Linux-cluster
mailing list