LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   2GB File Limit AS2.1 (https://www.linuxquestions.org/questions/red-hat-31/2gb-file-limit-as2-1-a-110869/)

jbovaird 10-31-2003 01:14 PM

2GB File Limit AS2.1
 
Hi - I am running Advanced Server 2.1 and would like to know how to enable filesystem support for files larger than 2GB.

I'm fairly new to the world of Linux, so if this is a simple quesion to answer (and actually I hope it is!!), I apologise....

Thanks!!

misc 10-31-2003 03:30 PM

You don't need to enable it. But which program is it?

trickykid 10-31-2003 04:03 PM

Quote:

Originally posted by misc
You don't need to enable it. But which program is it?
In some cases you do, you have to recompile the kernel to enable large file system support. Its not a program but a file. I would hate to see or run a program that is 2GB in size... talk about being slow.. ;)

misc 10-31-2003 04:06 PM

Quote:

Its not a program but a file.
Haha, funny. It's a program, not a file. The program must support large files.

trickykid 11-01-2003 10:43 AM

Quote:

Originally posted by misc
Haha, funny. It's a program, not a file. The program must support large files.
I've never heard of any program that didn't support larger files, I wouldn't think that it would care. Its the filesystem and kernel that doesn't support file sizes over 2gb, a common question asked all the time as the default kernel usually doesn't support over 2gb files.

jbovaird 11-01-2003 12:46 PM

It's the Oracle database trying to create a tablespace with a datafile larger than 2GB...

Someone asked me this question, so I don't have a lot more information about the kernel version or configuration. I will try to get more details and post them....

Thanks for the responses....

trickykid 11-01-2003 03:07 PM

Quote:

Originally posted by jbovaird
It's the Oracle database trying to create a tablespace with a datafile larger than 2GB...

Someone asked me this question, so I don't have a lot more information about the kernel version or configuration. I will try to get more details and post them....

Thanks for the responses....

Just with this information its your current kernel that doesn't support files 2gb or larger. It doesn't have anything to do with a program not supporting a file over 2gb.

Tell whoever asked you this to just recompile the kernel and include large file support in it. That's all it needs. :)

misc 11-01-2003 04:57 PM

Consider searching Google for "Oracle Large File Support".

Quote:

Originally posted by trickykid
I've never heard of any program that didn't support larger files, I wouldn't think that it would care.
Its the filesystem and kernel that doesn't support file sizes over 2gb,

That's a wrong assumption. Large File Support is a kernel and glibc and userspace thing. Applications need special support for handling files larger than 2 GiB, such as 64-bit file pointers or the O_LARGEFILE parameter and Large File Support specific error return codes.

Quote:

a common question asked all the time as the default kernel usually doesn't support over 2gb files.
Note that the original poster refers to Red Hat Enterprise Linux AS 2.1.

trickykid 11-01-2003 08:33 PM

Quote:

Originally posted by misc
Consider searching Google for "Oracle Large File Support".

That's a wrong assumption. Large File Support is a kernel and glibc and userspace thing. Applications need special support for handling files larger than 2 GiB, such as 64-bit file pointers or the O_LARGEFILE parameter and Large File Support specific error return codes.

Like I said before, its most likely his kernel, not the program. The latest oracle supports over 2gb files, so if he can't create a file larger than 2gb, he needs to enable large file system support in the kernel.

Regards.

PS. I searched myself on "Oracle Large File Support" and just about everything points directly back to the kernel itself. And Redhat AS 2.1 is just like every other distro, it still uses the Linux kernel... :rolleyes:

trickykid 11-01-2003 08:34 PM

Quote:

Originally posted by misc
Haha, funny. It's a program, not a file. The program must support large files.
Oh and gee.. you first say its the program, then you turn around and then mention also its the kernel.. hmmm....

misc 11-01-2003 09:10 PM

Quote:

Originally posted by trickykid
Oh and gee.. you first say its the program, then you turn around and then mention also its the kernel.. hmmm....
No. It's the program, when the operating system supports LFS. You don't get it. I didn't turn around, because both kernel and glibc on AS 2.1 support LFS. AS 2.1 is based upon Red Hat Linux 7.2/7.3 and comes with a 2.4.9 (!) kernel. So, if an application running on AS 2.1 doesn't support LFS, it's an application issue, not a kernel/glibc issue.

jbovaird 11-01-2003 10:38 PM

This is definately a kernel problem - the Oracle database certainly supports files over 2GB - and I was pretty sure that AS2.1 supported >2GB files, just wasn't sure how to enable it.

Sorry to stir things up....

trickykid 11-01-2003 10:54 PM

Quote:

Originally posted by jbovaird
This is definately a kernel problem - the Oracle database certainly supports files over 2GB -
:D

Glad to be of help anytime and glad to know it was a simple kernel problem that only takes a simple recompile to solve.

misc 11-01-2003 11:13 PM

With a 2.4 kernel? What do you recompile?

misc 11-03-2003 03:55 AM

This thread should not die such a sudden death.



--
Typo corrected.


All times are GMT -5. The time now is 02:20 AM.