Re: with gfs2, permission denied on first attempt to run an executable

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

 



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@xxxxxxxxxxxxxxx> 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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster





--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux