LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 10-31-2003, 01:14 PM   #1
jbovaird
LQ Newbie
 
Registered: Oct 2003
Posts: 3

Rep: Reputation: 0
Question 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!!
 
Old 10-31-2003, 03:30 PM   #2
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
You don't need to enable it. But which program is it?
 
Old 10-31-2003, 04:03 PM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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..
 
Old 10-31-2003, 04:06 PM   #4
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
Quote:
Its not a program but a file.
Haha, funny. It's a program, not a file. The program must support large files.
 
Old 11-01-2003, 10:43 AM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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.
 
Old 11-01-2003, 12:46 PM   #6
jbovaird
LQ Newbie
 
Registered: Oct 2003
Posts: 3

Original Poster
Rep: Reputation: 0
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....
 
Old 11-01-2003, 03:07 PM   #7
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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.
 
Old 11-01-2003, 04:57 PM   #8
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
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.
 
Old 11-01-2003, 08:33 PM   #9
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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...
 
Old 11-01-2003, 08:34 PM   #10
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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....
 
Old 11-01-2003, 09:10 PM   #11
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
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.
 
Old 11-01-2003, 10:38 PM   #12
jbovaird
LQ Newbie
 
Registered: Oct 2003
Posts: 3

Original Poster
Rep: Reputation: 0
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....
 
Old 11-01-2003, 10:54 PM   #13
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

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


Glad to be of help anytime and glad to know it was a simple kernel problem that only takes a simple recompile to solve.
 
Old 11-01-2003, 11:13 PM   #14
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
With a 2.4 kernel? What do you recompile?
 
Old 11-03-2003, 03:55 AM   #15
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
This thread should not die such a sudden death.



--
Typo corrected.

Last edited by misc; 11-03-2003 at 03:13 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Very confused about 2GB file size limit! nkendrick Linux - General 6 09-29-2005 07:14 PM
samba limit on file sizes about 2GB adler321 Linux - Software 7 09-22-2004 07:59 AM
Redhat 9.0 >2GB file limit Wilbs Red Hat 2 08-12-2004 01:26 PM
mencoder file size limit 2GB chii-chan Linux - Software 3 10-22-2003 04:27 AM
Is there a way round the 2gb File size Limit smurf Linux - General 2 07-10-2002 02:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 08:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration