[Linux-cluster] RHEL AS 4.5 GFS bug after removing a file?

rhurst at bidmc.harvard.edu rhurst at bidmc.harvard.edu
Thu Oct 4 12:50:25 UTC 2007


That worked, thanks!  I did not know about "hash -r" and its purpose for
cases like this.


On Wed, 2007-10-03 at 20:57 +0200, Jos Vos wrote:

> On Wed, Oct 03, 2007 at 02:19:03PM -0400, rhurst at bidmc.harvard.edu wrote:
> 
> > Our /home is mounted on GFS in an 11-node cluster.
> > I develop a script with 755 permission bits in my ~/bin.
> > I test it.
> > After it is tested, I `cp ~/bin/mybackup.sh /usr/local/sbin` (a local
> > ext3 filesystem)
> > Later, I remove ~/bin/mybackup.sh
> > Now whenever I invoke mybackup.sh, bash
> > returns /home/rhurst/bin/mybackup.sh: No such file or directory
> > and `which mybackup.sh` returns /usr/local/sbin/mybackup.sh
> > 
> > Who's caching this wrong here, bash or GFS?
> 
> What happens if you do "hash -r" before invoking "mybackup.sh"  after
> the removal?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20071004/bfa0dd54/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2178 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20071004/bfa0dd54/attachment.p7s>


More information about the Linux-cluster mailing list