[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian max file size is 1GB instead of 2GB?



Well, lets see:

kadamski@krypton:~$ cat /dev/zero >xxx
cat: write error: File too large
kadamski@krypton:~$ ls -l xxx
-rw-r--r--   1 kadamski users    2147482624 Jan 25 12:02 xxx
kadamski@krypton:~$ cat /proc/version 
Linux version 2.0.33 (root@krypton) (gcc version 2.7.2.1) #6 Sun Dec 28 23:08:15 EST 1997
kadamski@krypton:~$ df .
Filesystem         1024-blocks  Used Available Capacity Mounted on
/dev/sda2            3966376 2813561   947608     75%   /

I remember doing this in 2.0.29 and getting only 1G for files, so
something changed in the newer kernel.

Krzysztof


On 24 Jan 1998, Kirk Hilliard wrote:

> On 24 Jan, Steve Hsieh <sryan@emmy.dartmouth.edu> wrote:
> > 
> > It seems that on Debian, the maximum single file size on ext2fs is 1GB and
> > not 2GB.  Can someone confirm this, and suggest how to fix the problem,
> > if possible?
> 
> To which Stephen P. Ryan <sryan@emmy.dartmouth.edu> replied:
> > 
> > I no longer have the space to test this, but I did have a 2GB file in
> > a 2.5GB partition on a Debian 1.3 system several months ago.  
> 
> Well, I've got a bunch of free space here.  Let's see:
> 
>   $ # Try to make a 1.5GB file.
>   $ perl -le '$_=6x1023; print while ++$i<=1024*512*3' > big
>   $ ls -l big 
>   -rw-r--r--   1 kirk     kirk     1073741824 Jan 24 22:53 big
>   $ echo "hello" >> big
>   $ ls -l big 
>   -rw-r--r--   1 kirk     kirk     1073741824 Jan 24 22:55 big
>   $ wc big 
>   1048576 1048576 1073741824 big
> 
> Exactly 1GB.  FWIW, this is a 486/33 running stock Debian 1.3 using
> the kernel from a 1997-06-20 rescue disk.
> 
> Kirk Hilliard
> 
> 
> --
> TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
> debian-user-request@lists.debian.org . 
> Trouble?  e-mail to templin@bucknell.edu .
> 


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: