LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-10-2004, 03:56 PM   #1
lazyboy0001
Member
 
Registered: Mar 2004
Posts: 31

Rep: Reputation: 15
Is there a file size limitation in Linux?


I am wondering if there is a file size limitation in Linux. When I copy a file about 4Gig to my
Linux system, there is always a file writing failure problem when the destination file size is
about 2048Meg. Anyone knows that? And how can we solve the problem?
 
Old 08-10-2004, 04:08 PM   #2
proudclod
Member
 
Registered: May 2004
Distribution: Fedora Core 2
Posts: 381

Rep: Reputation: 30
what filesystem are you using?
 
Old 08-10-2004, 04:08 PM   #3
penguin4
Senior Member
 
Registered: May 2004
Location: california
Distribution: mdklinux8.1
Posts: 1,209

Rep: Reputation: 45
lazyboy0001; only limitations are size of harddrive and the drives u have formatted for use not beyond those configurations.
 
Old 08-10-2004, 04:19 PM   #4
LavaDevil94
Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 46
I think the filesize limit for ext2 and 3 is around 2-4GB. For ReiserFS and XFS, it's around 2TB.
 
Old 08-10-2004, 04:22 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,856

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Yes there is a file size limit.

What distro and what version kernel are you running?

You probably need to recompile the kernel for large file support.

Last edited by michaelk; 08-10-2004 at 04:24 PM.
 
Old 08-10-2004, 04:28 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,974
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
Re: Is there a file size limitation in Linux?

Quote:
Originally posted by lazyboy0001
I am wondering if there is a file size limitation in Linux. When I copy a file about 4Gig to my
Linux system
, there is always a file writing failure problem when the destination file size is
about 2048Meg. Anyone knows that? And how can we solve the problem?
Samba?
It does indeed have a 2GB limit if you
don't add the -o lfs option to the mount
command.


Cheers,
Tink
 
Old 08-10-2004, 04:36 PM   #7
lazyboy0001
Member
 
Registered: Mar 2004
Posts: 31

Original Poster
Rep: Reputation: 15
The OS is Slackware 10.0 with kernel 2.4.26. Well, the file system is FAT32 for sharing files with
WinXP since this is a dual booting system. It sounds like that the FAT32 is the reason, right?
 
Old 08-10-2004, 04:44 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,974
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
Quote:
Originally posted by lazyboy0001
The OS is Slackware 10.0 with kernel 2.4.26. Well, the file system is FAT32 for sharing files with
WinXP since this is a dual booting system. It sounds like that the FAT32 is the reason, right?
Actually the limit for FAT32 is supposedly 4GB ...
http://www.microsoft.com/resources/d...c_fil_tdrn.asp


Cheers,
Tink
 
Old 08-10-2004, 04:49 PM   #9
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 69
I think that this docmentation should provide you with the info you seek. I would say that the answer basically depends on the kernel you are running, the file system type you are using, and the blocksize you are using. -- J.W.
 
Old 08-12-2004, 06:06 PM   #10
millionknives
Member
 
Registered: Jul 2004
Location: Port Charlotte Florida
Distribution: slack 12.1
Posts: 78

Rep: Reputation: 15
Quote:
Originally posted by penguin4
lazyboy0001; only limitations are size of harddrive and the drives u have formatted for use not beyond those configurations.
What about the harddrive size.. how would I go about changing that as I got my new hds and want to use em all (:-D up to a terrabyte if I use em all so wouldnt mind knowing)
 
Old 08-12-2004, 07:20 PM   #11
penguin4
Senior Member
 
Registered: May 2004
Location: california
Distribution: mdklinux8.1
Posts: 1,209

Rep: Reputation: 45
millionknives; think of hd,s as file cabinets, (two{2}drawer- wall size) how much can they hold is only a matter of need to whom ever is using. where
the limitations are partitions(folders) in #,s (in numbers). ever work in office setting? that is my reference.
 
Old 08-12-2004, 08:22 PM   #12
millionknives
Member
 
Registered: Jul 2004
Location: Port Charlotte Florida
Distribution: slack 12.1
Posts: 78

Rep: Reputation: 15
ok so what your saying is that the limitations are based on partions... well is there a partion limitation?(if so what isit this *should* awnser the quiestion thanks)
 
Old 08-12-2004, 08:28 PM   #13
penguin4
Senior Member
 
Registered: May 2004
Location: california
Distribution: mdklinux8.1
Posts: 1,209

Rep: Reputation: 45
millionknives; http://tldp.org/HOWTO/HOWTO-INDEX/ installation-partitions
gives full details. there are pages & pages of information. too much to enter here, got a dialup,sorry.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
file limitation bluetwist Debian 2 08-07-2005 03:55 AM
Samba file size limitation enygma Linux - Networking 2 02-07-2005 02:59 PM
mkisofs, is there a max file size limitation? tsw Linux - Software 4 07-27-2004 04:10 PM
File size limitation? jbrashear Linux - General 7 04-03-2004 01:53 AM
ftp problems: 1.error 550, 2.size limitation petros Linux - Networking 1 06-13-2003 03:28 AM


All times are GMT -5. The time now is 10:53 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration