From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 25037 invoked from network); 27 Feb 1999 16:23:41 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 27 Feb 1999 16:23:41 -0000 Received: from mail.op.net (d-bm5-09.ppp.op.net [209.152.194.201]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id LAA06537 for ; Sat, 27 Feb 1999 11:21:50 -0500 Received: (from rbowles@localhost) by mail.op.net (8.8.7/8.8.7) id LAA01131 for axp-list@redhat.com; Sat, 27 Feb 1999 11:36:52 -0500 Message-ID: <19990227113652.C883@op.net> Date: Sat, 27 Feb 1999 11:36:52 -0500 From: Robert Bowles To: axp-list@redhat.com Subject: Re: Maximum file size Reply-To: rbowles@infonautics.com References: <36D7EA62.41C67EA6@iis.fhg.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2 In-Reply-To: <36D7EA62.41C67EA6@iis.fhg.de>; from Stefan Schroepfer on Sat, Feb 27, 1999 at 01:51:46PM +0100 X-host-platform: Linux noname 2.2.2-ac5 #11 Fri Feb 26 23:00:21 EST 1999 alpha unknown On Sat, Feb 27, 1999 at 01:51:46PM +0100, Stefan Schroepfer wrote: > This was discussed not too long ago, but I cant find > the answer in the archive: > > What is the maximum file size in ext2 filesystems? > Is there any difference between 32 and 64 bit systems? As per 'struct stat', file size (st_size) is of type 'off_t', which is typedef'd from 'long int'. On a 32-bit system, (2^(32-1))=(2*(1024^3)) or 2 gigabytes. On a 64-bit system, (2^(64-1))=(8*(1024^6)). So, an alpha's ?stat _can_ return an enormous file, but I don't believe ext2 supports it, ( sizes are __u32 ). You _might_ be able to squeeze out a 4gb file (duh, I'm not sure). Maybe I'll give it a try (if I can find that blank 4gb drive). > Is there some filesystem implemented in Linux/Alpha, > which can handle files bigger than 2GB? Though >2gb files might be nice, I don't think its very practical (with today's hardware). Even on the e4000's arrays at work, when oracle wants something bigger that 2gb, we toss it a raw device ( even for 1gb spaces on fibre, performance is measurably better on a raw device than in filesystem (at least on sunos) ) If you're dealing with huge amounts of contiguous data, its usually best to let it live on its own spindle. :) > > Thanks, > Stefan Schroepfer > scr@iis.fhg.de > > -- > To unsubscribe: send e-mail to axp-list-request@redhat.com with > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com > >