File size limitation?

Conlan Adams conlan.adams at countryfresh.com
Thu Dec 27 04:59:02 GMT 2001


I agree the issue isn't with ext2.  I knew it was an issue of 32 bit
hardware but I didn't know it was an int.  In 2.4 I believe a double long
was used with a trunc so your somewhere in the petabyte range for file
size....

ext2 is a system that rocks though.

-Conlan

> -----Original Message-----
> From: Alexander Saers [mailto:alex at saers.com]
> Sent: Monday, December 24, 2001 3:34 PM
> To: Conlan Adams
> Cc: Steven Henry; samba at lists.samba.org
> Subject: RE: File size limitation?
>
>
> Isn't this because of the limitations of the ext2 filesystem. On x86
> processors you are using a basic int to represent the blocks. Therfore you
> only have 32 bit whitch is about 2 gb of data. If you try to compile it on
> an alpha you have 64 bit.
>
> Maybe they have some kind of hack on 2.4 so that you are not limited to
> the size of int :)
>
> /Alexander
>
>
> On Mon, 24 Dec 2001, Conlan Adams wrote:
>
> > I am assuming you are using a Linux distribution that uses a 2.2 base
> > kernel.  There is a bug in the 2.2 kernel allowing only files
> to only reach
> > 2 GB.  This bug is fixed in the 2.4 series of kernels and to my
> knowledge
> > the file limitation moves up into the hundreds of petabytes
> area.  (AKA out
> > of realistic sizes for most users/corporations at this time)
> >
> > -Conlan
> >      Adams
> >
> > > -----Original Message-----
> > > From: samba-admin at lists.samba.org
> [mailto:samba-admin at lists.samba.org]On
> > > Behalf Of Steven Henry
> > > Sent: Monday, December 24, 2001 10:57 AM
> > > To: samba at lists.samba.org
> > > Subject: File size limitation?
> > >
> > >
> > > When I run backup and send the output to a file on the server,
> > > I get a file limitation of 2g. When I do the same backup to
> > > a snap server, there is no problem.
> > >
> > > Is there a size limitation for a single file?
> > >
> > > Thanks,
> > >
> > > Steven C. Henry
> > > stevench at xnet.com
> > >
> > >
> > > --
> > > To unsubscribe from this list go to the following URL and read the
> > > instructions:  http://lists.samba.org/mailman/listinfo/samba
> > >
> >
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
> >
>
>





More information about the samba mailing list