Install Python with largefile support. Yes, but it won't be enough if your linux doesn't support it. In this case you can try to use external access products like LocalFs, AdaptableStorage (Not sure about the spelling), ExtFile-ExtImage, DirectoryStorage, etc.. Or enabling Large File Support in your linux by migrating to Reiserfs (from suse), XFS (from sgi), JFS (from IBM), Ext3fs, etc..
An easy way to know if your linux support large files is to type: dd if=/dev/zero of=big_file_test bs=1024 count=2600000 * Make sure you have at least 3Gb free space. It will try to create a file (big_file_test) bigger than 2Gb. If you see: "File too large" it means your system doesn't support large files. Then, with the file you just create, you can follow this instructions to check if your python support LFS: http://www.zope.org/Members/beacon/install_instructions
And maybe check the mailing list archive since this question has been asked and answered several times. This one helps too ;) and perhaps checking linux newsgroups.
Regards, Josef
On Fri, Jan 31, 2003 at 08:01:35PM +0100, Josef Meile wrote:
Then, with the file you just create, you can follow this instructions to check if your python support LFS: http://www.zope.org/Members/beacon/install_instructions
I have seen a situation where Seb's test passes, but python was not really working with large files. AFAICT the cause was that I did not do "make clean" before recompiling python with large file support. Instead, do this: cd $WHERE_YOU_PUT_PYTHON_SOURCE/Lib/tests python test_largefile.py That's much more thorough and informative. -- Paul Winkler http://www.slinkp.com Look! Up in the sky! It's PETULANT WHITE CONDOM WARRIOR! (random hero from isometric.spaceninja.com)
On Fri, Jan 31, 2003 at 01:13:19PM -0800, Paul Winkler wrote:
cd $WHERE_YOU_PUT_PYTHON_SOURCE/Lib/tests python test_largefile.py
sorry, that's Lib/test -- Paul Winkler http://www.slinkp.com Look! Up in the sky! It's ROBOT UNIVERSE! (random hero from isometric.spaceninja.com)
participants (2)
-
Josef Meile -
Paul Winkler