Re: RHEL AS 4.5 GFS bug after removing a file?

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

 



On Wed, Oct 03, 2007 at 02:19:03PM -0400, rhurst@xxxxxxxxxxxxxxxxx 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?

-- 
--    Jos Vos <jos@xxxxxx>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204

--
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