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

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



To anyone interested in this --

The problem was not related to the kernel, but to ulimit.  
/etc/login.defs has ULIMIT set to 1GB for some reason.   However, it is
not clear to me why some accounts use this value, while other accounts
ignore it.  In any case, if you comment out the ULIMIT line, all accounts
no longer have the 1GB restriction and you can create files up to the real
2GB limit.


On 26 Jan 1998, John Goerzen wrote:

> Steve Hsieh <steveh@eecs.umich.edu> writes:
> 
> > Sorry if my previous post on this made it out as well.
> > 
> > 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?
> 
> I am getting bigger than 1 gig:
> 
> garfield /scratch$ cat /dev/zero > test
> cat: write error: No space left on device
> garfield /scratch$ ls -l
> total 1433633
> drwx------   4 jgoerzen jgoerzen     1024 Jan 19 13:19 jgoerzen
> drwxr-xr-x   2 root     root        12288 Dec 14 11:26 lost+found
> -rw-rw-r--   1 jgoerzen jgoerzen 1462290432 Jan 26 20:46 test
> 
> Kernel 2.0.33, libc6.
> 
> This is well over a gig.
> 
> John
> 
> 
> -- 
> John Goerzen          | Developing for Debian GNU/Linux (www.debian.org)
> Custom Programming    | Debian GNU/Linux is a free replacement for
> jgoerzen@complete.org | DOS/Windows -- check it out at www.debian.org.
> ----------------------+----------------------------------------------
> Find out how to avoid all those pesky crashes, lockups, application errors,
> and slow applications at http://www.debian.org -- Debian can replace Windows
> 95 with a much more stable operating system.
> 
> 
> --
> 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: