Re: [CentOS] Disappearing directory

2014-01-07 Thread Ken Smith
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} >

Re: [CentOS] Disappearing directory

2014-01-03 Thread Ron Loftin
I'd suggest looking into the config for automount. On Fri, 2014-01-03 at 22:48 +, Ken Smith wrote: > Dennis Jacobfeuerborn wrote: > > On 03.01.2014 15:37, Leon Fauster wrote: > > > >> Am 03.01.2014 um 15:04 schrieb Ken Smith: > >> > >>> Leon Fauster wrote: > >>> > Am 03.

Re: [CentOS] Disappearing directory

2014-01-03 Thread Ken Smith
Dennis Jacobfeuerborn wrote: > On 03.01.2014 15:37, Leon Fauster wrote: > >> Am 03.01.2014 um 15:04 schrieb Ken Smith: >> >>> Leon Fauster wrote: >>> Am 03.01.2014 um 08:57 schrieb Mauricio Tavares: > On Thu, Jan 2, 2014 at 10:19 PM, Leon Fauster >

Re: [CentOS] Disappearing directory

2014-01-03 Thread David G . Miller
Fred Smith writes: > > On Thu, Jan 02, 2014 at 07:05:31PM +, 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

Re: [CentOS] Disappearing directory

2014-01-03 Thread Dennis Jacobfeuerborn
On 03.01.2014 15:37, Leon Fauster wrote: > Am 03.01.2014 um 15:04 schrieb Ken Smith : >> Leon Fauster wrote: >>> Am 03.01.2014 um 08:57 schrieb Mauricio Tavares: >>> On Thu, Jan 2, 2014 at 10:19 PM, Leon Fauster wrote: >> {snip} Even though it is a workaround - I myself

Re: [CentOS] Disappearing directory

2014-01-03 Thread Leon Fauster
Am 03.01.2014 um 15:04 schrieb Ken Smith : > Leon Fauster wrote: >> Am 03.01.2014 um 08:57 schrieb Mauricio Tavares: >> >>> On Thu, Jan 2, 2014 at 10:19 PM, Leon Fauster >>> wrote: >>> > {snip} >>> Even though it is a workaround - I myself like to use >>> /export/backup -- I do not think t

Re: [CentOS] Disappearing directory

2014-01-03 Thread Ken Smith
Leon Fauster wrote: > Am 03.01.2014 um 08:57 schrieb Mauricio Tavares: > >> On Thu, Jan 2, 2014 at 10:19 PM, Leon Fauster >> wrote: >> >>> Am 02.01.2014 um 20:34 schrieb Ken Smith: >>> Fred Smith wrote: {snip} >> Even though it is a workaround - I myself like to use >

Re: [CentOS] Disappearing directory

2014-01-03 Thread Leon Fauster
Am 03.01.2014 um 08:57 schrieb Mauricio Tavares : > On Thu, Jan 2, 2014 at 10:19 PM, Leon Fauster > wrote: >> Am 02.01.2014 um 20:34 schrieb Ken Smith : >>> Fred Smith wrote: >>> The bash commands in the earlier post are manually entered in a >>> terminal. The cron job isn't active. Even if I set

Re: [CentOS] Disappearing directory

2014-01-02 Thread Mauricio Tavares
On Thu, Jan 2, 2014 at 10:19 PM, Leon Fauster wrote: > Am 02.01.2014 um 20:34 schrieb Ken Smith : >> Fred Smith wrote: >>> On Thu, Jan 02, 2014 at 07:23:26PM +, Ken Smith wrote: >>> Fred Smith wrote: Indeed but what? :-( >>> I'd guess some unintended side-effect of the

Re: [CentOS] Disappearing directory

2014-01-02 Thread Leon Fauster
Am 02.01.2014 um 20:34 schrieb Ken Smith : > Fred Smith wrote: >> On Thu, Jan 02, 2014 at 07:23:26PM +, Ken Smith wrote: >> >>> >>> Fred Smith wrote: >>> >>> Indeed but what? :-( >>> >> I'd guess some unintended side-effect of the backup program/script. >> >> > The bash commands in the ea

Re: [CentOS] Disappearing directory

2014-01-02 Thread Ken Smith
Fred Smith wrote: > On Thu, Jan 02, 2014 at 07:23:26PM +, Ken Smith wrote: > >> >> Fred Smith wrote: >> >>> On Thu, Jan 02, 2014 at 07:05:31PM +, Ken Smith wrote: >>> >>> Hi All and happy new year, {snip}) After the umount the directory vanishes. >

Re: [CentOS] Disappearing directory

2014-01-02 Thread Fred Smith
On Thu, Jan 02, 2014 at 07:23:26PM +, Ken Smith wrote: > > > Fred Smith wrote: > > On Thu, Jan 02, 2014 at 07:05:31PM +, Ken Smith wrote: > > > >> Hi All and happy new year, > >> > >> {snip}) > >> > >> After the umount the directory vanishes. > >> > > I'd guess that something is

Re: [CentOS] Disappearing directory

2014-01-02 Thread Ken Smith
Fred Smith wrote: > On Thu, Jan 02, 2014 at 07:05:31PM +, Ken Smith wrote: > >> Hi All and happy new year, >> >> {snip}) >> >> After the umount the directory vanishes. >> > I'd guess that something is rm-ing the mount point while it's mounted, > so that when you umount it, it disapp

Re: [CentOS] Disappearing directory

2014-01-02 Thread Fred Smith
On Thu, Jan 02, 2014 at 07:05:31PM +, 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 i

Re: [CentOS] Disappearing directory

2014-01-02 Thread Ken Smith
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... > > # cd /mnt > # mkd

[CentOS] Disappearing directory

2014-01-02 Thread Ken Smith
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... # cd /mnt # mkdir backup # mount /dev/sdb1 /m