* File truncated at 2 GB under Linux 2.0.35
@ 1998-10-09 4:00 C. Ray Ng
1998-10-12 4:00 ` G. Hugh SONG
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: C. Ray Ng @ 1998-10-09 4:00 UTC (permalink / raw)
We are constantly writing large files over 2GB limit under
linux/alpha 2.0.32 and the earlier versions as well.
However, after upgraded to RH-5.1, files were truncated to
2^31 bytes long. This happened for both the official
RH-5.1 CD as well as the powertool-5.1.
Using the clean kernel source from Linux HQ plus patches from
Digital failed the same way, both version 2.0.34 and 2.0.35.
I also tried the egcs-1.1b to compile the kernel, but to no
success either. I'm going back to linux 2.0.32!
This was done on a LX164 533MHz, w/IntraServer UW-SCSI alphaPC.
I hope this will get fix before RH-5.2 release!
---
C. Ray Ng Tel: (607) 255-4882
Wilson Synchrotron Lab Fax: (607) 255-8062
Cornell University Internet: crn1@cornell.edu
Ithaca, NY 14853 http://www.lns.cornell.edu
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: File truncated at 2 GB under Linux 2.0.35
1998-10-09 4:00 File truncated at 2 GB under Linux 2.0.35 C. Ray Ng
@ 1998-10-12 4:00 ` G. Hugh SONG
1998-10-12 4:00 ` G. Hugh SONG
1998-10-12 4:00 ` rsimpson
2 siblings, 0 replies; 4+ messages in thread
From: G. Hugh SONG @ 1998-10-12 4:00 UTC (permalink / raw)
C. Ray Ng wrote:
> We are constantly writing large files over 2GB limit under
> linux/alpha 2.0.32 and the earlier versions as well.
>
> However, after upgraded to RH-5.1, files were truncated to
> 2^31 bytes long. This happened for both the official
> RH-5.1 CD as well as the powertool-5.1.
>
> Using the clean kernel source from Linux HQ plus patches from
> Digital failed the same way, both version 2.0.34 and 2.0.35.
>
> I also tried the egcs-1.1b to compile the kernel, but to no
> success either. I'm going back to linux 2.0.32!
>
> This was done on a LX164 533MHz, w/IntraServer UW-SCSI alphaPC.
> I hope this will get fix before RH-5.2 release!
>
> ---
> C. Ray Ng Tel: (607) 255-4882
> Wilson Synchrotron Lab Fax: (607) 255-8062
> Cornell University Internet: crn1@cornell.edu
> Ithaca, NY 14853 http://www.lns.cornell.edu
I think the best solution to your problem is to create /etc/initscript
after
understanding /usr/src/linux/include/linux/sched.h file.
Be careful, if you mess up something in /etc/initscript, literally you
cannot boot up
to your root file system.
Take a look at the man page of initscript.
-
G. Hugh Song
PS: Please remove "Spamspoiler" when replying
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: File truncated at 2 GB under Linux 2.0.35
1998-10-09 4:00 File truncated at 2 GB under Linux 2.0.35 C. Ray Ng
1998-10-12 4:00 ` G. Hugh SONG
@ 1998-10-12 4:00 ` G. Hugh SONG
1998-10-12 4:00 ` rsimpson
2 siblings, 0 replies; 4+ messages in thread
From: G. Hugh SONG @ 1998-10-12 4:00 UTC (permalink / raw)
C. Ray Ng wrote:
> We are constantly writing large files over 2GB limit under
> linux/alpha 2.0.32 and the earlier versions as well.
>
> However, after upgraded to RH-5.1, files were truncated to
> 2^31 bytes long. This happened for both the official
> RH-5.1 CD as well as the powertool-5.1.
>
> Using the clean kernel source from Linux HQ plus patches from
> Digital failed the same way, both version 2.0.34 and 2.0.35.
>
> I also tried the egcs-1.1b to compile the kernel, but to no
> success either. I'm going back to linux 2.0.32!
>
> This was done on a LX164 533MHz, w/IntraServer UW-SCSI alphaPC.
> I hope this will get fix before RH-5.2 release!
>
> ---
> C. Ray Ng Tel: (607) 255-4882
> Wilson Synchrotron Lab Fax: (607) 255-8062
> Cornell University Internet: crn1@cornell.edu
> Ithaca, NY 14853 http://www.lns.cornell.edu
Sorry.
The solution in my previous email message does not apply to you.
Best regards,
G. Hugh Song
--
G. Hugh Song
PS: Please remove "Spamspoiler" when replying
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: File truncated at 2 GB under Linux 2.0.35
1998-10-09 4:00 File truncated at 2 GB under Linux 2.0.35 C. Ray Ng
1998-10-12 4:00 ` G. Hugh SONG
1998-10-12 4:00 ` G. Hugh SONG
@ 1998-10-12 4:00 ` rsimpson
2 siblings, 0 replies; 4+ messages in thread
From: rsimpson @ 1998-10-12 4:00 UTC (permalink / raw)
C. Ray Ng <crn1@cornell.edu> wrote:
: We are constantly writing large files over 2GB limit under
: linux/alpha 2.0.32 and the earlier versions as well.
I had laboured under the impression that this was not possible.
: However, after upgraded to RH-5.1, files were truncated to
: 2^31 bytes long. This happened for both the official
: RH-5.1 CD as well as the powertool-5.1.
It is definately the case that 2.0.35 limits file size to (2^31)-1 bytes.
This is fixed in the 2.1 kernels. The limit is imposed by the ext2 inode
format. Please note that since inode layout changes between 2.0 and 2.1
kernels you may see problems with file creation dates when you switch.
--
----------------------------------------------------------------------------
Richard Simpson
Farnborough, Hants, Uk Fax: 01252 392976
rsimpson@ewrcsdra.demon.co.uk
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1998-10-12 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-10-09 4:00 File truncated at 2 GB under Linux 2.0.35 C. Ray Ng
1998-10-12 4:00 ` G. Hugh SONG
1998-10-12 4:00 ` G. Hugh SONG
1998-10-12 4:00 ` rsimpson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox