Re: Maximum slice size - 2 GB? --> Link to the Answer!

Denis Corbin <[email protected]>
Newsgroups gmane.comp.sysutils.backup.dar.general
Message-ID <[email protected]>
Hello,

configure the Makefile (for DAR version 1.x.x) with the same parameters 
and do a

	make uninstall

If this does not work you can try this trick:

remake the same installation but changing the destination directory to 
someting like /tmp/A

then run the attached script giving /tmp/A as first argument and the 
directory where you have installed dar as second argument (but have a 
look at the script first, I have commented out the two last lines for 
you undestand what it does). You really need to understand what the 
script does before using it, if you are not sure, first make a backup of 
you system (with DAR, for example ;-) ).

Cheers,
Denis.




Tristan Rhodes wrote:
> Denis,
> 
> I just wanted to let everyone know about a great discussion on increasing the maximum slice size...
> http://www.99techs.net/cgi-bin/forums/YaBB.pl?board=dartech;action=display;num=1028788542
> 
> I have installed from RPM and uninstalled, then installed from the tarball, but I did not edit the Makefile setting:
> FILEOFFSET = -D_FILE_OFFSET_BITS=64 
> 
> By following the instructions you gave in the discussion, it should be easy for users to enable slices larger than 2 GB.
> 
> My question is, what should I do now that I have installed Dar using the default tarball?  (Is there an easy way to uninstall a program that was installed from a tarball?)
> 
> Tristan
> 
> 
>>>>Denis Corbin <[email protected]> 10/28/03 12:34AM >>>
>>>
> For what I know each filesystem usually implies a limit of the files 
> size, for the current specification of ext2/3 filesystem, the limit is 
> probably over the terabyte, then the implementation in the kernel may 
> also imply a limit, Linux version 2.2.x had a limit around 2GB, if I 
> still don't make any mistake. Last the compilation options used to build 
> dar (check largefile sypport with `dar -V' ) affect the way file are 
> handled. I don't know the ReiserFS,thus I can't tell you what the 
> maximum size it can handle, nor I can speak about its implementation in 
> the Linux kernel.
> 
> Just a trick, if you cannot have as larger files as you want, you still 
> may use slice size which are an exact divisor of the destination 
> storage. Suppose you want to save you data over DVD-R of, let's say, 11 
> GB each, but cannot overcome the 2GB limit for any reason, you can 
> choose a slice size of 1GB, this will allow you to put 11 slices per 
> DVD-R, and thus fullfil each DVD-R.
> 
> Cheers,
> Denis.
> 
> 
> 
> 
> Tristan Rhodes wrote:
> 
>>Denis,
>>
>>I believe the error was "Maximum filesize exceeded" or something close to that.  I have Suse 8.2, with the 2.4 kernel.  What exactly is limiting the filesize?  Is it the filesystem (ReiserFS) or something else?  Is there an easy way to allow larger files? 
>>
>>Thanks for your reply, I have download the pre-release and found a lot of documentation that I hadn't seen yet.
>>
>>Tristan
>>
>>
>>
>>>>>Denis Corbin <[email protected]> 10/21/03 12:00PM >>>
>>>>
>>Hello,
>>
>>I don't think it would be a good reasons to limit the slice size. The 
>>2GB limitation is due to the system (see doc/LIMITATIONS of pre-release 
>>2 (the last for version 2.0.0). Today, less and less system have this 
>>limitation. There is also a limitation at 4GB on some few other systems.
>>
>>In your situation, which error dar exits with ?
>>
>>Cheers,
>>Denis.
>>
>>
>>Tristan Rhodes wrote:
>>
>>
>>>Greetings,
>>>
>>>I believe that the largest slice that Dar can make is 2 GB (file-system limitation?).  When I try to make a larger slice, DAR exits with an error.  
>>>
>>>Perhaps Dar should assume a maximum slice of 2 GB if not specified.  (This would be similar to the "don't compress small files" setting, which is implied).
>>>
>>>Any thoughts?
>>>
>>>Tristan Rhodes
>>>
>>>
>>>
>>>-------------------------------------------------------
>>>This SF.net email is sponsored by OSDN developer relations
>>>Here's your chance to show off your extensive product knowledge
>>>We want to know what you know. Tell us and you have a chance to win $100
>>>http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 
>>>_______________________________________________
>>>Dar-discussions mailing list
>>>Dar-discussions-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org 
>>>https://lists.sourceforge.net/lists/listinfo/dar-discussions 
>>>
>>>
>>>
>>
>>
>>
>>
>>
>>-------------------------------------------------------
>>This SF.net email is sponsored by OSDN developer relations
>>Here's your chance to show off your extensive product knowledge
>>We want to know what you know. Tell us and you have a chance to win $100
>>http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 
>>_______________________________________________
>>Dar-discussions mailing list
>>Dar-discussions-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org 
>>https://lists.sourceforge.net/lists/listinfo/dar-discussions 
>>
>>
>>
>>-------------------------------------------------------
>>This SF.net email is sponsored by: The SF.net Donation Program.
>>Do you like what SourceForge.net is doing for the Open
>>Source Community?  Make a contribution, and help us add new
>>features and functionality. Click here: http://sourceforge.net/donate/ 
>>_______________________________________________
>>Dar-discussions mailing list
>>Dar-discussions-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org 
>>https://lists.sourceforge.net/lists/listinfo/dar-discussions 
>>
>>
>>
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: The SF.net Donation Program.
> Do you like what SourceForge.net is doing for the Open
> Source Community?  Make a contribution, and help us add new
> features and functionality. Click here: http://sourceforge.net/donate/ 
> _______________________________________________
> Dar-discussions mailing list
> Dar-discussions-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org 
> https://lists.sourceforge.net/lists/listinfo/dar-discussions
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?   SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> _______________________________________________
> Dar-discussions mailing list
> Dar-discussions-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/dar-discussions
> 
> 
>
uninstall.csh (text/plain, 368 B)
#!/bin/tcsh -f

set tmpfile = /tmp/res.txt

if("$1" == "" || "$2" == "") then
  echo "usage: $0 <source dir> <destination dir>"
  echo "make a script to remove all files in destination that has been found in source"
endif

cd "$1"
find . -depth \( -type d -exec echo rmdir {} \; \) -o \( ! -type d -exec echo rm {} \; \) > $tmpfile
cd "$2"
# sh $tmpfile
# rm $tmpfile
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.