Bacula-users

Re: [Bacula-users] bacula and curlftpfs 0.9.2 does not work (anymore)

2010-03-03 15:18:53
Subject: Re: [Bacula-users] bacula and curlftpfs 0.9.2 does not work (anymore)
From: Dennis Petschull <d.petschull AT two4 DOT it>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 3 Mar 2010 20:54:57 +0100
Hi,

I am still very interested in this topic.
Is anyone using Bacula with FTP as storage backend? How do you handle this 
situation?

Thanks for your help!

Cheers,
Dennis

--
two4.IT
http://www.two4.it
--

Am Samstag 13 Februar 2010 21:41:04 schrieb Dennis Petschull:
> Hi Karsten and others,
> 
> I have encountered the same issue some time ago, too.
> Did you ever find a solution/workaround/alternative for it?
> I would be very interested!
> 
> Cheers,
> Dennis
> 
> --
> two4.IT
> http://www.two4.it
> --
> 
> On Wednesday 6 January 2010 21:31 Karsten Schulze wrote:
> > I believe that bacula does not work anymore with curlftpfs (version
> > 0.9.2). I have found several reports which describe a similar behavior.
> > https://bugs.launchpad.net/ubuntu/+source/curlftpfs/+bug/367091
> > http://sourceforge.net/projects/curlftpfs/forums/forum/542750/topic/32958
> >31
> >
> > Finally I "found" the release notes of curlftpfs 0.9.2:
> > http://sourceforge.net/project/shownotes.php?release_id=602461
> > "Be aware that some applications might not be able to "save" files on
> > curlftpfs from 0.9.2 on, because we don't support open(read+write) or
> > open(write) and seek anymore."
> >
> > I have written a small program to test this functionality. You can use
> > it to verify your environment.
> > #include <stdio.h>
> > #include <string.h>
> >
> >   int main(void) {
> >     //FILE *fp = fopen("/home/bacula/test","w+b");
> >     //works fine (without curlftpfs)
> >     //FILE *fp = fopen("/home/bacula/archive/Daten/Backup/test","a+b");
> >     //create flags: 0x442 /Daten/Backup/test 0100644 umask=0000
> >     //ftpfs: operation ftpfs_open failed because Operation not supported
> >     //FILE *fp = fopen("/home/bacula/archive/Daten/Backup/test","a+");
> >     //create flags: 0x442 /Daten/Backup/test 0100644 umask=0000
> >     //ftpfs: operation ftpfs_open failed because Operation not supported
> >     //FILE *fp = fopen("/home/bacula/archive/Daten/Backup/test","w+");
> >     //create flags: 0x242 /Daten/Backup/test 0100644 umask=0000
> >     //ftpfs: operation ftpfs_open failed because Operation not supported
> >     FILE *fp = fopen("/home/bacula/archive/Daten/Backup/test","w+b");
> >     //create flags: 0x242 /Daten/Backup/test 0100644 umask=0000
> >     //ftpfs: operation ftpfs_open failed because Operation not supported
> >
> >     fprintf(stdout, "I try to open file\n");
> >     if(fp==NULL)
> >     {
> >       fprintf(stdout,"Error: can't open file.\n");
> >       return 1;
> >     }
> >     else {
> >       char str[40];
> >       int i;
> >
> >       strcpy(str,"somecharacters");
> >       printf("File opened successfully. Writing....\n\n");
> >       for (i=0;i<8;i++) {
> >         fputc(str[i],fp);
> >       }
> >     }
> >     fclose(fp);
> >     return 0;
> >   }
> >
> > I would recommend that the documentation of bacula should mention this
> > incompatibility.
> > Using a ftp service you have to find an alternative (which one?)
> >
> > Br, Karsten
> 
> ---------------------------------------------------------------------------
> --- SOLARIS 10 is the OS for Data Centers - provides features such as
>  DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
> http://p.sf.net/sfu/solaris-dev2dev
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>