xfs
[Top] [All Lists]

Re: Large files

To: gigo@xxxxxxxxxxxxxxxxxx
Subject: Re: Large files
From: lord@xxxxxxx
Date: Thu, 26 Oct 2000 15:26:43 -0500
Cc: Russell Cattelan <cattelan@xxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: Your message of "Thu, 26 Oct 2000 20:39:01 +0200
Sender: owner-linux-xfs@xxxxxxxxxxx
You need a glibc with the large file support included, and associated
unix utils. This is probably more to do with your linux distribution
than anything else.

I have created files with a size of 2^43 - 1 bytes on Redhat 6.2 and
7.0:


laptop{lord}: ls -l
total 4
-rw-r--r--    1 lord     lord     8796093022207 Oct 26 15:28 bigfile
laptop{lord}: uname -a
Linux laptop.americas.sgi.com 2.4.0-XFS-test10 #5 Thu Oct 26 14:33:44 CDT 2000 
i686 unknown

Steve

> 
> 
> On Thu, 26 Oct 2000, Russell Cattelan wrote:
> 
> > 
> > How big is this file?
> > Linux  does support files larger than 2gig; (the traditional 2^31
> > limitation)
> > 
> > Please send more info, like size of file, output/errors from ls or rm.
> > 
> > -Russell
> > 
> 
>  Well, after reformatting my test partition ( it is 6Gb only ) I did the 
> following:
> > dd if=/dev/zero of=BIG_FILE bs=10M count=300
> > df .
> /dev/hdb1              6292648   3072144   3220504  49% /mnt/mnt1
> > ls -l BIG_FILE
> /bin/ls: BIG_FILE: Value too large for defined data type
> > strace ls -l BIG_FILE
> (...)
> lstat("BIG_FILE", 0xbffffa88)           = -1 EOVERFLOW (Value too large for d
efi
> ned data type)
> >
> 
> When filesystem was created:
> > /sbin/mkfs -t xfs -f /dev/hdb1
> meta-data=/dev/hdb1              isize=256    agcount=8, agsize=196796 blks
> data     =                       bsize=4096   blocks=1574362, imaxpct=25
>          =                       sunit=0      swidth=0 blks, unwritten=0
> naming   =version 2              bsize=4096
> log      =internal log           bsize=4096   blocks=1200
> realtime =none                   extsz=65536  blocks=0, rtextents=0 
> >
> 
> Unfortunately it is an IDE disk...
> In real life I have to work with files 8G...
> Thank You for attention, Russel.
> G.

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