SCIENTIFIC-LINUX-USERS Archives

October 2004

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Pierre-Francois Honore <[log in to unmask]>
Reply To:
Pierre-Francois Honore <[log in to unmask]>
Date:
Fri, 1 Oct 2004 13:21:24 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (29 lines)
On Fri, 2004-10-01 at 02:02 -0500, Stefano Stalio wrote:
> Apparently i can not create files larger than 2Gb on my SL302 system (my
> filesystems are ext3).

It seems that itīs not a feature since on my SL302 Dell (kernel
2.4.21-15.0.3.ELsmp ext3 filesystem):
$ dd if=/dev/zero of=toto &
$ ls -lah toto
-rw-r--r--    1 pfhonore dapsap       3.3G Oct  1 12:58 toto

One way that I know to set a limit on file size, is the option fsize
in /etc/security/limits.conf. If I add to this file
pfhonore              hard    fsize   10000
then (after logout and login as pfhonore)
$ dd if=/dev/zero of=toto bs=1M count=3300
File size limit exceeded
$ ls -la toto
-rw-r--r--    1 pfhonore dapsap   10240000 Oct  1 13:02 toto


> I verified that this is possible on redhat9. I took a quick glance
> in the kernel configuration but could not find a switch for large file
> support.
> Is this a problem that can be solved, a feature or what?
> 
> Thanks, Stefano Stalio
-- 
Pierre-Francois Honore <[log in to unmask]>

ATOM RSS1 RSS2