Yes, I was able to build everything on both 1.38.0 and 1.36.3 which I am still using.
I made a patch to src/stored/dev.c. The diff between the two 1.36.3 files is this:

aps2:zeus> diff /tmp/dev.c dev.c
432a433
>    struct mtrdpos mt_rdpos;
497c498,506
<
---
>       mt_rdpos.long_format = 1;
>       if (ioctl(dev->fd, MTIOCRDPOS, (char *)&mt_rdpos) < 0) {
>          berrno be;
>          clrerror_dev(dev, -1);
>          Mmsg2(&dev->errmsg, _("ioctl MTRDPOS error on %s. ERR=%s.\n"),
>             dev->dev_name, be.strerror());
>          return 0;
>       }
>       Dmsg2(100, "POS file=%d block=%d\n", mt_rdpos.un.l.file_num, mt_rdpos.un.l.blk_num);

With this change I got everithing working (even if I did not tried bacula-dir).

I am not yet using it on production because of some system problem on the compaq machine, but I made a couple of full backups.
If someone needs a newer version I can build it, but I cannot test it (my environment is still 1.36.3 and migration to 1.38 will take some care, because of the number of clients).

--------------------------------------------------------------------------
Ferdinando Pasqualetti
G.T.Dati srl
Tel. 0557310862 - 3356172731 - Fax 055720143




"Heigl Florian - Munich-MR - external" <[EMAIL PROTECTED]> wrote on 13/12/2005 16.23.19:

> Hi,
>
> did You get btape to work flawless by now?
>
> Florian
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf
> > Of Ferdinando Pasqualetti
> > Sent: Thursday, November 10, 2005 10:44 AM
> > To: bacula-users@lists.sourceforge.net
> > Subject: [Bacula-users] Bacula-sd un Tru64
> >
> >
> > Hello bacula-users,
> > I want to run bacula storage daemon on a Tru64 system,
> > because that system can see directly some tape drives and I
> > want (possibly) avoid to throgh the network with the backup.
> > I compiled with no errors both 1.36.3 and 1.38.0, and in both
> > cases and with 3 different tape devices (2 Compaq/Digital
> > SDX-500C and an HP Ultrium-2)  I get errors repositioning the
> > tape for an additional job. Tapes drive are on a fiber link
> > and are seen also by a Linux (RH 4AS), and the SD over there
> > works correctly.
> > The problem is shown also with btape, here is the part in
> > error (obviously in Linux everything is correct).
>
------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to