LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 10-05-2004, 08:09 AM   #1
npuetz
LQ Newbie
 
Registered: Oct 2004
Distribution: RedHat 9
Posts: 11

Rep: Reputation: 0
File size limit exceeded


Here is my problem. I am attempting to create an image of a 20 GB hard drive (via the dd command). However, during the imaging process, the dd command craps out after 16 GB and gives me a "File size limit exceeded" error. I have tried a number of different things like reformatiing the drive I am writting to and moving partitions around on the drive I am writting. I get the same error. I have plenty of space available (currently I have 53GB of free space that I can write to). I found a post talking about being able to extend this limit using the "ulimit command, but was curious if anyone has ran into the same problem and how they went about solving it. Here is a link to the post that I refered to above. Thanks!
 
Old 10-05-2004, 12:12 PM   #2
warhorse
LQ Newbie
 
Registered: Aug 2002
Location: Pittsburgh
Distribution: Debian
Posts: 24

Rep: Reputation: 15
What filesystem are you using? If the size of the block address is too small, you won't be able to physically address more data, hence the limit.
 
Old 10-05-2004, 12:31 PM   #3
npuetz
LQ Newbie
 
Registered: Oct 2004
Distribution: RedHat 9
Posts: 11

Original Poster
Rep: Reputation: 0
I am using Linux Ext2.
 
Old 10-05-2004, 01:51 PM   #4
warhorse
LQ Newbie
 
Registered: Aug 2002
Location: Pittsburgh
Distribution: Debian
Posts: 24

Rep: Reputation: 15
Basically, the metadata for each file can only store so many names of blocks, so if your file takes more than that number, you're sunk. I suggest you reformat that partition with a larger block size so that you can hold more data per file.

A quick Google search claims that the maximum ext2 file size is 2GB or 4GB, depending on the website, but it doesn't mention the blocksize. If you're already at 16GB for one file then those website's math must not take into account large blocksizes.
 
Old 10-06-2004, 08:34 AM   #5
amfoster
Member
 
Registered: Aug 2004
Distribution: debian, SuSE
Posts: 365

Rep: Reputation: 34
Type ulimit -a and see if you are restricted to creating files over aq certain size.
 
Old 10-06-2004, 08:34 AM   #6
amfoster
Member
 
Registered: Aug 2004
Distribution: debian, SuSE
Posts: 365

Rep: Reputation: 34
Type ulimit -a and see if you are restricted to creating files over aq certain size.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
File size limit exceeded XaViaR Linux - General 4 09-21-2005 11:02 PM
file size limit exceeded squid... mchitrakar Linux - Software 2 10-13-2004 02:18 PM
file size limit exceeded mchitrakar Linux - General 2 10-12-2004 01:47 PM
File size limit exceeded... Faeroon Linux - General 20 01-02-2003 07:57 PM
unzipping: file size limit exceeded peeples Linux From Scratch 9 10-15-2002 08:17 AM


All times are GMT -5. The time now is 06:28 PM.

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