Koozali.org: home of the SME Server

Flexbackup to disk and large files on SME 6.0beta3

Matthieu Perreira Da Sil

Flexbackup to disk and large files on SME 6.0beta3
« on: December 12, 2003, 10:28:38 AM »
Hello all,

I've modified the backup scripts of my SME 6.0beta3 box to backup
everything to another disk of the box. Everything works fine but, i
noticed that when I want to restore from a big archive (>4Go) flexbackup
tells me that the archive file doesn't exist. But if I do the same with
a smaller one, everything works fine.
If I untar the archive manually (with tar -xzf) everything works fine
also. So from what I tested it seems that the perl version (5.6.1)
shipped with SME 6.0beta3 is not compiled with uselargefiles options...
Has anybody ever had this kind of problem ?
As I'm not a perl guru, is there a way to enable the use of large files
in perl without recompiling or reinstalling (with a config switch for
example) ?
As SME is mainly based in perl, I don't want to modifiy the perl
packages without being sure that in wont cause any trouble..

Thanks,

Matthieu Perreira Da Silva

Charlie Brady

Re: Flexbackup to disk and large files on SME 6.0beta3
« Reply #1 on: December 12, 2003, 04:41:07 PM »
Matthieu Perreira Da Silva wrote:

> Has anybody ever had this kind of problem ?

Yes, restore from desktop backup has a size limitation.

> As I'm not a perl guru, is there a way to
> enable the use of large files  in perl
> without recompiling or reinstalling (with
> a config switch for example) ?

No.

FTR, I don't know why RH haven't enabled large file support in their build.

Charlie

Reinhold

Re: Flexbackup to disk and large files on SME 6.0beta3
« Reply #2 on: December 12, 2003, 08:37:51 PM »
Matthieu,
Charlie pls. help here ;-)  ,

About a month ago I noticed this "problem" and was given a (seemingly) simple answer (not around here):

...to check for support you do:
#perl -V | grep LARGE_FILES
#
#If nothing comes up, then you don't have it.
#
#> If not where is a good place to
#> look for instructions on re-compiling perl with large file support?
#
#Download the latest source version from http://www.cpan.org and take
#the default answers to the numerous questions that are asked
#during the installation.

Sure as hell "nothing" comes up so we (SME) don't have large file support.
Sure as hell "cpan" is a djungle to me ... wouldn't even really know what to download - before I could even answer all those questions .-/
There is: http://www.cpan.org/src/5.0/stable.tar.gz to download however.

Charlie: Any leads ? - I'm a cgi fumbler (@ best).
Does it make sense to try compiling when Charlie Brady himself takes the original RH rpm ?

Matthieu Perreira Da Sil

Re: Flexbackup to disk and large files on SME 6.0beta3
« Reply #3 on: December 16, 2003, 04:06:18 PM »
It's clear that don't have time to try to recompile perl with large file support...
Anyway, it's very strange that RH package were not compiled with large fil e support.
If anybody has perl RPM compiled with large file support, I take it !!!
If not, I hope that the people that have decided to continue the v6.x and v7.x of SME developper releses will take this problem into account.