Bacula-users

Re: [Bacula-users] Could not stat "/mnt/nas1stuff/": ERR=Host is down

2017-06-07 20:50:46
Subject: Re: [Bacula-users] Could not stat "/mnt/nas1stuff/": ERR=Host is down
From: Ivan Adzhubey <iadzhubey AT rics.bwh.harvard DOT edu>
To: <bacula-users AT lists.sourceforge DOT net>, <ian AT zti.co DOT za>
Date: Wed, 7 Jun 2017 20:49:52 -0400
Hi Ian,

Looks like your directory is set up to automount and Bacula does not know how 
to handle it properly. You might need to write a small Bash script doing just 
what you tried manually: "cd /home/ian/nas1stuff/; ls -lh" and then specify it 
as RunBeforeJob in your director's config. Note, cd into automounted directory 
followed by ls would "enable" the mount and make it visible to Bacula.

--Ivan

On Wednesday, June 7, 2017 3:50:30 PM EDT Ian Douglas wrote:
> Hi all
> 
> Lately I've been getting errors like
> 
>   Could not stat "/mnt/nas1stuff/": ERR=Host is down
> 
> where I'm trying to back up files from a NAS box (FreeNAS), and the target
> folder is mounted on this box, as was recommended to me on this list.
> 
> So the folder does not get backed up.
> 
> If I run the job manually then it works.
> 
> Other succeeding jobs run right after the failed one work okay.
> 
> Oddly enough I tried from the command line and results were puzzling:
> 
> ====================
> ~ $ ls /home/ian/nas1stuff/
> ls: cannot access '/home/ian/nas1stuff/': Host is down
> ~ $ cd
> ~ $ cd /home/ian/nas1stuff/
> ~/nas1stuff $ ls /home/ian/nas1stuff/
> 
> and that worked... so why would I get a Host is down message?
> 
> 
> So now trying to determine where the problem is...
> 
> 1. Bacula ?
> 2. FreeNAS ?
> 3. something on my system doing the SMB stuff ?
> 
> Something else?
> 
> I don't know if it is related but lately I've noticed a lot of up/down
> traffic between this box and the three NAS boxes... even when I'm not
> actually doing anything on the NAS boxes. Am just worried it's some malware
> encrypting my drives. This box is Linux, the three NAS boxes are FreeNAS
> (== FreeBSD based).
> 
> Any ideas as to where to look to solve the issue gratefully received. Google
> was not helpful, unless I searched for the wrong things...
> 
> Thanks, Ian



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users


ADSM.ORG Privacy and Data Security by https://kimlaw.us