>>>>> On Fri, 23 Jun 2006 13:02:23 -0400, mark bergman said:
> 
> In the message dated: Fri, 23 Jun 2006 12:48:35 BST,
> The pithy ruminations from Martin Simmons on 
> <Re: [Bacula-users] incorrect fstype identification, backups fail (bacula 
> 1.38.
> 9, Irix 6.5)> were:
> => >>>>> On Thu, 22 Jun 2006 14:17:06 -0400, mark bergman said:
> => > 
> => > I'm trying to get bacula to backup some SGI machines running Irix 6.5 
> (64 bit).
> => > 
> => > The bacula-fd executable compiles and runs, and communication between 
> the 
> => > bacula-dir and fd client is successful. However, the filesystem type 
> isn't 
> => > recognized:
> => > 
> 
>       [SNIP!]
> 
> => > 
> => > Is there any way to debug the client-side mechanism that bacula-fd uses 
> to 
> => > determine the fstype?
> => 
> => Setting debug level 200 in the bacula-fd should print the fstype values 
> that
> => it is comparing.  See the function accept_fstype().
> 
> 
> I had tried a debug level of 100 (that sounded like a nice big number), but 
> got 
> no details on the fstype. 
> 
> OK, after more debugging, I find that the problem is that fstype.c claims 
> that 
> fstype() isn't supported on Irix. Here's a snippet from the debug ouput from 
> bacula-fd (1.38.9) on the Irix 6.5 client (athena1):
> 
>       athena1-fd: job.c:189 <dird: JobId=0 Job=*Console*.2006-06-23_12.43.30 
> SDid=0 SDtime=0 Authorization=dummy
>       athena1-fd: job.c:205 Executing JobId= command.
>       athena1-fd: job.c:402 JobId=0 Auth=dummy
>       athena1-fd: job.c:189 <dird: fileset
>       athena1-fd: job.c:205 Executing fileset command.
>       athena1-fd: job.c:604 I
>       athena1-fd: job.c:604 O fMe
>       athena1-fd: job.c:604 WD /var/cache/*
>       athena1-fd: job.c:604 WD /var/run/*
>       athena1-fd: job.c:604 WD /var/spool/clientmqueue/*
>       athena1-fd: job.c:604 WD /lost+found/*
>       athena1-fd: job.c:604 WD */comp_space/*
>       athena1-fd: job.c:604 WF /proc
>       athena1-fd: job.c:604 WF /sys
>       athena1-fd: job.c:604 WF swapfile*
>       athena1-fd: job.c:604 WF swap*.*gb
>       athena1-fd: job.c:604 WF *.o
>       athena1-fd: job.c:604 X ext2
>       athena1-fd: job.c:604 X xfs
>       athena1-fd: job.c:604 X ufs
>       athena1-fd: job.c:604 N
>       athena1-fd: job.c:604 F /
>       athena1-fd: job.c:604 N
>       athena1-fd: job.c:604 E
>       athena1-fd: job.c:604 F /var/tmp/
>       athena1-fd: job.c:604 F /var/spool/bacula/
>       athena1-fd: job.c:604 F /proc/
>       athena1-fd: job.c:604 F /tmp/
>       athena1-fd: job.c:604 F /.journal
>       athena1-fd: job.c:604 F /.fsck
>       athena1-fd: job.c:604 F core
>       athena1-fd: job.c:604 N
>       athena1-fd: job.c:189 <dird: level = full  mtime_only=0
>       athena1-fd: job.c:205 Executing level =  command.
>       athena1-fd: job.c:992 level_cmd: level = full  mtime_only=0
>       athena1-fd: job.c:189 <dird: estimate listing=0
>       athena1-fd: job.c:205 Executing estimate command.
>       athena1-fd: find.c:80 Enter set_find_options()
>       athena1-fd: find.c:83 Leave set_find_options()
>       athena1-fd: find.c:180 F /
>       athena1-fd: fstype.c:259 !!! fstype() not implemented for this OS. !!!
>       athena1-fd: find_one.c:76 Cannot determine file system type for "/"
> 
> 
> However... I can successfully build fstype as a stand-alone executable:
> 
>       gcc -Wall -DTEST_PROGRAM -DHAVE_IRIX_OS -o fstype fstype.c
>       ./fstype /
>       xfs     /
> 
> and it works fine. So, it looks like the OS detection during the configure 
> stage or the autoconfig of the Makefile.in isn't producing the correct 
> Makefile to build fstype under Irix.
> 
> I may try some ugly hacking at the code to get this to work, but that's
> unlikely to produce anything of production quality. I would be very happy to
> accept patches for testing (since there may be a lack of Irix environments
> available).

FWIW, the configure works for me on IRIX 6.5.

What does uname -s return on your system?  The configure expects IRIX.

grep uname config.log   # should see uname -s = IRIX
grep IRIX src/config.h  # should see #define HAVE_IRIX_OS 1

__Martin

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