public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Maximum size of ext2 files on ia32 is?
@ 2001-10-13 21:13 L A Walsh
  2001-10-13 22:52 ` John J Tobin
  0 siblings, 1 reply; 5+ messages in thread
From: L A Walsh @ 2001-10-13 21:13 UTC (permalink / raw)
  To: linux-kernel

I was hesitantly and pleasantly surprised when I was copying across an
unmounted 8G unmounted file partition via dump to an NFS partition.  Until
August, regular backups splitted the dump image (used the "-M" flag to
dump) to into 4 2G files.  My backup disk died so it took some time to
replace it and just got around to doing so (I know, running w/out backups
is like unprotected sex, but lets ignore that critique).  So I startup
dump and it produced 1 9G file.  I was a bit concerned that NFS had
a screwed up mapping of the local file, but the server confirmed the file
size.  'du' confirmed it was 8.8G, I even unmounted, forced an fsck on it
and remounted -- still 8.8G.  I was allocating special partitions to
backup non-dump compatible partitions (win) to the server but find now they
can be backed up into a single 8G+ file.  I notice some utils from my latest
suse72 install (stat) don't know about it either:
> du -sh *
14M     BOOT_101101.dump
8.8G    HOME_101201.dump.001
...
> stat HOME_101201.dump.001
HOME_101201.dump.001: Value too large for defined data typ

So, I have been a bit busy and distracted and all, but when did large 
file support go in for the i386 arch and what is the new max files size?

Congratulations and great work for addressing that limitation!  

Linda

p.s. -- I hope this is a real feature and not considered a bug...:-)

--  -    _    -    _    -    _    -    _    -    _    -    _    -    _    -
L A Walsh, law at sgi dot com     | Senior Engineer
01-650-933-5338                   | Trust Technology, Core Linux, SGI

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Maximum size of ext2 files on ia32 is?
  2001-10-13 21:13 Maximum size of ext2 files on ia32 is? L A Walsh
@ 2001-10-13 22:52 ` John J Tobin
  2001-10-13 23:04   ` L A Walsh
  0 siblings, 1 reply; 5+ messages in thread
From: John J Tobin @ 2001-10-13 22:52 UTC (permalink / raw)
  To: L A Walsh; +Cc: linux-kernel

On Sat, 2001-10-13 at 16:13, L A Walsh wrote:
> I was hesitantly and pleasantly surprised when I was copying across an
> unmounted 8G unmounted file partition via dump to an NFS partition.  Until
> August, regular backups splitted the dump image (used the "-M" flag to
> dump) to into 4 2G files.  My backup disk died so it took some time to
> replace it and just got around to doing so (I know, running w/out backups
> is like unprotected sex, but lets ignore that critique).  So I startup
> dump and it produced 1 9G file.  I was a bit concerned that NFS had
> a screwed up mapping of the local file, but the server confirmed the file
> size.  'du' confirmed it was 8.8G, I even unmounted, forced an fsck on it
> and remounted -- still 8.8G.  I was allocating special partitions to
> backup non-dump compatible partitions (win) to the server but find now they
> can be backed up into a single 8G+ file.  I notice some utils from my latest
> suse72 install (stat) don't know about it either:
> > du -sh *
> 14M     BOOT_101101.dump
> 8.8G    HOME_101201.dump.001
> ...
> > stat HOME_101201.dump.001
> HOME_101201.dump.001: Value too large for defined data typ
> 
> So, I have been a bit busy and distracted and all, but when did large 
> file support go in for the i386 arch and what is the new max files size?
> 
> Congratulations and great work for addressing that limitation!  
> 
> Linda

I had the same problem awhile back it it was attributed to using
outdated fileutils. I recommend getting new ones from www.gnu.org and
seeing if that fixes the problem. It fixed it when I had a similar
problem.

-- 
John Tobin
ogre@sirinet.net; AOL IM: ogre7929
http://ogre.rocky-road.net
http://ogre.rocky-road.net/cdr.shtml


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Maximum size of ext2 files on ia32 is?
  2001-10-13 22:52 ` John J Tobin
@ 2001-10-13 23:04   ` L A Walsh
  2001-10-13 23:29     ` H. Peter Anvin
  0 siblings, 1 reply; 5+ messages in thread
From: L A Walsh @ 2001-10-13 23:04 UTC (permalink / raw)
  To: John J Tobin; +Cc: linux-kernel

John J Tobin wrote:> 
> I had the same problem awhile back it it was attributed to using
> outdated fileutils. I recommend getting new ones from www.gnu.org and
> seeing if that fixes the problem. It fixed it when I had a similar
> problem.
---
	Hmmm.  I have a server at work installed from RH7.1 running 2.4.4.
I did a grep of many files into redirected into a file and that fails at
2G.  But my version of 7.2 Suse doesn't.  I take it this is a recent update
to the file utils?

-linda

--  -    _    -    _    -    _    -    _    -    _    -    _    -    _    -
L A Walsh, law at sgi dot com     | Senior Engineer
01-650-933-5338                   | Trust Technology, Core Linux, SGI

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Maximum size of ext2 files on ia32 is?
  2001-10-13 23:04   ` L A Walsh
@ 2001-10-13 23:29     ` H. Peter Anvin
  2001-10-14  1:30       ` Alan Cox
  0 siblings, 1 reply; 5+ messages in thread
From: H. Peter Anvin @ 2001-10-13 23:29 UTC (permalink / raw)
  To: linux-kernel

Followup to:  <3BC8C86D.4C48828C@sgi.com>
By author:    L A Walsh <law@sgi.com>
In newsgroup: linux.dev.kernel
> 
> 	Hmmm.  I have a server at work installed from RH7.1 running 2.4.4.
> I did a grep of many files into redirected into a file and that fails at
> 2G.  But my version of 7.2 Suse doesn't.  I take it this is a recent update
> to the file utils?
> 

No, it's a matter of if the distributor, who compiled fileutils,
compiled with -D_FILE_OFFSET_BITS=64 or not.

	-hpa
-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt	<amsp@zytor.com>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Maximum size of ext2 files on ia32 is?
  2001-10-13 23:29     ` H. Peter Anvin
@ 2001-10-14  1:30       ` Alan Cox
  0 siblings, 0 replies; 5+ messages in thread
From: Alan Cox @ 2001-10-14  1:30 UTC (permalink / raw)
  To: H. Peter Anvin; +Cc: linux-kernel

> > 2G.  But my version of 7.2 Suse doesn't.  I take it this is a recent update
> > to the file utils?
> 
> No, it's a matter of if the distributor, who compiled fileutils,
> compiled with -D_FILE_OFFSET_BITS=64 or not.
> 

Well grep isnt actually gnu fileutils but the point is mostly valid. grep
also uses mmap so there are some other minor points of consideration

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-10-14  1:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-13 21:13 Maximum size of ext2 files on ia32 is? L A Walsh
2001-10-13 22:52 ` John J Tobin
2001-10-13 23:04   ` L A Walsh
2001-10-13 23:29     ` H. Peter Anvin
2001-10-14  1:30       ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox