[CentOS] Disappearing directory

Fri Jan 3 17:12:02 UTC 2014
David G. Miller <dave at davenjudy.org>

Fred Smith <fredex at ...> writes:

> 
> On Thu, Jan 02, 2014 at 07:05:31PM +0000, Ken Smith wrote:
> > Hi All and happy new year,
> > 
> > Via a cron job a USB disk is mounted on a Centos 6.4 machine for backup 
> > and dismounted after. I've noticed this failing. See below, the backup 
> > directory that was in /mnt had disappeared, so creating it again as 
> > follows...
> > 
<SNIP>
> 

What does mount say is mounted after running your backup script?  An
explanation is that the script mounts something directly on /mnt and it's
still mounted after the script runs.  Unmount that (there may be several if
you've been playing with it for a while).

Cheers,
Dave