[TriLUG] tar-1.14 can't make large files
Joseph Mack NA3T
jmack at wm7d.net
Sat Jul 31 13:48:03 EDT 2004
On Fri, 30 Jul 2004, Jeremy Portzer wrote:
> On Fri, 2004-07-30 at 12:03, Joseph Mack NA3T wrote:
> > On Fri, 30 Jul 2004, Jeremy Portzer wrote:
> > > Try a test like this:
> > > dd if=/dev/zero of=file1 bs=1045876 count=1500
> > hmm. it's not tar then. I can't even create a file of 1.5G, but can create
> > 750MB, and 1024MB. (I have plenty of free space, about 60G).
Had another bright idea.
I found another linux machine that can make 3G files with dd. It has
glibc-2.3.1 while my machine has glibc-2.3.2. Both machine have the same
mke2fs-1.32. I nfs mounted my disk onto the machine that can write large
files and now I can write a large file written onto my disk. So it isn't
the file system on my disk.
the only thing that dd does is open(0, O_LARGE_FILE) /dev/zero and
write(1, O_LARGE_FILE) file1.
I looked at /usr/include/limits.h and /usr/lib/gcc...../include/limits.h
and they look the same on both machines.
open and write have to be glibc, so did I do something funny on my
compile of glibc? my compile was
objdir:# ../configure --prefix=/usr --enable-add-ons
there aren't any LARGE_FILE options to glibc, so I can't imagine I've
turned it off. Anyhow I don't understand why I can't write files bigger
than 1G (rather than 2G, which is the small file limit)
Just incase anyone has any more ideas...
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!
More information about the TriLUG