On Tue, 2006-07-04 at 17:23 +0200, Kern Sibbald wrote:
> On Tuesday 04 July 2006 17:03, Greg Cope, e-DBA Team wrote:
> > Is this something to do with spares files?
> 
> Sparse should have nothing to do with hard links. However, it could incur a 
> good amount of overhead so you should use that option sparsely :-)

Yes I'll review that - I added it for oracle datafiles (that are sparse
IIRC).

> > Or am I the only person suffering with this?
> 
> I've never seen any problem with hard links other than the 1.38 and older can 
> sometimes be very slow (in the FD) if you have 10's of thousands of hard 
> links -- this is fixed in 1.39.x (I think, because I have not personally 
> tested it).

This is an etc dir so few links (less than 100?)

> >
> > Is it a bug?
> 
> I doubt it.

Thinking about it, it might be another issue.

This host seems to have had disk issues, and the only files that are
there are those that have been used/accessed recently.  However I do not
seem to have any errors from bacula that it could not get/see the
others, which is odd, unless that is all that bacula was shown by the
OS.

> Unless I missed something (possible), you haven't provided any evidence that 
> Bacula is *not* backing up hard links. At least you could list a few hard 
> links that exist on your system, then show that they are not in the list of 
> files backed up.  You might also look at the Support page on the web for what 
> kind of info to supply in a support request.

ok - sorry 

On a know good system;

# ls -la /etc/ | grep init
lrwxrwxrwx   1 root root        11 Nov 15  2005 init.d -> rc.d/init.d

# ls -la /etc/rc.d/init.d/ | head
total 492
drwxr-xr-x   2 root root  4096 May 23 09:15 .
drwxr-xr-x  10 root root  4096 Aug  5  2005 ..
-rwxr-xr-x   1 root root  1128 Mar 16  2005 acpid
-rwxr-xr-x   1 root root   894 Mar 20 19:09 anacron
-rwxr-xr-x   1 root root  1429 Apr 22  2005 apmd
-rwxr-xr-x   1 root root  1176 Apr  8  2005 atd
-rwxr-xr-x   1 root root  2784 Feb  6 19:29 auditd
-rwxr-xr-x   1 root root 18342 Apr 24 15:26 autofs
-rwxr-xr--   1 root root  1477 Nov  5  2005 bacula-dir

The restore;

# ls -la /tmp/bacula-restores/etc/ | grep init
lrwxrwxrwx   1 root root     11 Jul  3 13:20 init.d -> rc.d/init.d
-rw-r--r--   1 root root    658 Dec  1  2003 initlog.conf
lrwxrwxrwx   1 root root     15 Jul  3 13:20 rc.sysinit ->
rc.d/rc.sysinit

Which is good.

But;

# ls -la /tmp/bacula-restores/etc/rc.d/init.d/ 
total 28
drwxr-xr-x   2 root root  4096 Jun 30 15:16 .
drwxr-xr-x  11 root root  4096 Jun 22 12:08 ..
-rwxr-xr-x   1 root root  1288 Oct  8  2003 dhcpd
-rwxr-xr-x   1 root root 10198 Oct 28  2003 functions
-rwxr-xr-x   1 root root  3225 Nov 28  2005 squid

Lots of missing files ....

> In addition, your fileset below includes only /var/log and /etc, and I would 
> not expect to find any hard links (or very few) in those two directories.  
> There may be lots of soft links, but that is a different story.  Perhaps you 
> forgot to include /  ?

I only want these dirs, as from here I can rebuild a host and get it's
state (roughly) and config.

Sorry - I think the issue is different - see above.

Thanks.

Greg


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to