Re: 2gig File Limit

2003-03-19 Thread Justin Bauer
On Wed, 2003-03-19 at 03:54, Jeffrey L. Taylor wrote:

> The app, dd in this case, also has to support the larger file size.
> It is a different API, not just an extension/change to the existing
> API.  I don't know if dd supports the new API.  Try some other
> program.
> 
> Jeffrey
> 

The partimage app is what I was originally looking for.  It even worked
around the 2gig limit by creating a volumes of the image.

Thanks for your help,

Justin Bauer
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: 2gig File Limit

2003-03-19 Thread Joao Paulo
Justin Bauer wrote:

Hi,

I am having a problem creating a disk image larger than 2gig's with dd.  I'm
using sid(up-to-date), my kernel is debian's 2.4.20-k7, and my filesystem
that the file needs to be on is reiserfs.  I've looked around (googling) to
see about the 2gig limits, and it seems like I've got all the right versions
of my kernel/reiser/etc.  Is there something else I'm missing?
My output looks like this:

# dd if=/dev/zero of=2gigtest
dd: writing to `2gigtest': File too large
4194305+0 records in
4194304+0 records out
2147483648 bytes transferred in 106.708356 seconds (20124794 bytes/sec)
Thanks,

Justin

 

I have the same problem with mkisofs with a 2.8GB file.
Still waiting.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: 2gig File Limit

2003-03-19 Thread Jeffrey L. Taylor
Quoting Justin Bauer <[EMAIL PROTECTED]>:
> Hi,
> 
> I am having a problem creating a disk image larger than 2gig's with dd.  I'm
> using sid(up-to-date), my kernel is debian's 2.4.20-k7, and my filesystem
> that the file needs to be on is reiserfs.  I've looked around (googling) to
> see about the 2gig limits, and it seems like I've got all the right versions
> of my kernel/reiser/etc.  Is there something else I'm missing?
> 

The app, dd in this case, also has to support the larger file size.
It is a different API, not just an extension/change to the existing
API.  I don't know if dd supports the new API.  Try some other
program.

Jeffrey


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



2gig File Limit

2003-03-19 Thread Justin Bauer
Hi,

I am having a problem creating a disk image larger than 2gig's with dd.  I'm
using sid(up-to-date), my kernel is debian's 2.4.20-k7, and my filesystem
that the file needs to be on is reiserfs.  I've looked around (googling) to
see about the 2gig limits, and it seems like I've got all the right versions
of my kernel/reiser/etc.  Is there something else I'm missing?

My output looks like this:

# dd if=/dev/zero of=2gigtest
dd: writing to `2gigtest': File too large
4194305+0 records in
4194304+0 records out
2147483648 bytes transferred in 106.708356 seconds (20124794 bytes/sec)


Thanks,

Justin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: 2gig file

2000-07-17 Thread brian moore
On Mon, Jul 17, 2000 at 05:04:53PM -0500, Jens B. Jorgensen wrote:
> Brian Schramm wrote:
> 
> > OK.  I am dealing with a 2gig file size limit on Linux.  I have been
> > reading up on this all day to very little luck as to how to fix it.  If
> > I recomend someone to go to debian for an upgrade will this fix it?  I
> > am after any fix I can get and at this time changing dist. is just as
> > good for me as anything else.
> >
> > Please someone help me see the lite on this.
> 
> This is due to a limitation of the ext2 filesystem.  I believe the
> reiserfs filesystem supports longer files than this but you'd need
> to patch your kernel source to add this.  I also don't know if it's
> really ready for prime time yet.

No, it's not a limit of ext2.

It's a limit of Unix on 32-bit machines.  (How would you pass a 64 bit
offset to lseek() or get back a 64-bit offset without breaking
existing code?)

Fortunately, this has been worked out.  STFW for "Large File Summit" and
read the papers (gack, google is scary).  64-bit-files-on-32-bit-hardware
is coming with the 2.4 kernel.  (This is done with new system calls,
see the LFS papers for more info.)

-- 
Brian Moore   | Of course vi is God's editor.
  Sysadmin, C/Perl Hacker | If He used Emacs, He'd still be waiting
  Usenet Vandal   |  for it to load on the seventh day.
  Netscum, Bane of Elves.



Re: 2gig file

2000-07-17 Thread Phil Brutsche
A long time ago, in a galaxy far, far way, someone said...

> Actually, I think there are a whole LOT of issues with file 
> sizes > 2GB on ext2 and 32-bit machines. Best place to look for an
> explanation would be a searchable archive of the Linux kernel mailing
> list, like:
> 
> http://www.uwsg.indiana.edu/hypermail/linux/kernel/index.html
> 
> and do a search with the keywords along the lines of:
> 
> 2G file size limit
> 
> Unfortunately I don't think there is currently a "stable" solution to
> this problem. ext3 and reiserfs exist, and may solve the problem, but
> I think they're still pretty much considered beta, at best.

ext3 is late alpha/early beta
reiserfs is very late beta/production quality

The file size limit has less to do with the file system (hence why an
alpha or UltraSPARC can have huge files - I've seen up to 16GB) and more
to do with limits in what the file system interfaces with - the VFS.

> I'm not even sure you can use them with a 2.2.x kernel, you may have
> to use a "development" kernel, ie., 2.3.x series kernel.

reiserfs works just fine with 2.3.x/2.4.x.  The 2.3.x/2.4.x series has had
fixed the "can't have >2GG files on ix86" problem fixed for quite some
time now, too.

> Also, of course, you could solve the problem by going with a
> DEC/Compaq Alpha or Sparc 64-bit machine running Linux.

Provided, of course, you can afford one of the things :)

-- 
--
Phil Brutsche   [EMAIL PROTECTED]

"There are two things that are infinite; Human stupidity and the
universe. And I'm not sure about the universe." - Albert Einstien



Re: 2gig file

2000-07-17 Thread Gary Hennigan
"Jens B. Jorgensen" <[EMAIL PROTECTED]> writes:
> Brian Schramm wrote:
> 
> > OK.  I am dealing with a 2gig file size limit on Linux.  I have been
> > reading up on this all day to very little luck as to how to fix it.  If
> > I recomend someone to go to debian for an upgrade will this fix it?  I
> > am after any fix I can get and at this time changing dist. is just as
> > good for me as anything else.
> >
> > Please someone help me see the lite on this.
> 
> This is due to a limitation of the ext2 filesystem. I believe the
> reiserfs filesystem supports longer files than this but you'd need
> to patch your kernel source to add this. I also don't know if it's
> really ready for prime time yet.

Actually, I think there are a whole LOT of issues with file 
sizes > 2GB on ext2 and 32-bit machines. Best place to look for an
explanation would be a searchable archive of the Linux kernel mailing
list, like:

http://www.uwsg.indiana.edu/hypermail/linux/kernel/index.html

and do a search with the keywords along the lines of:

2G file size limit

Unfortunately I don't think there is currently a "stable" solution to
this problem. ext3 and reiserfs exist, and may solve the problem, but
I think they're still pretty much considered beta, at best. I'm not
even sure you can use them with a 2.2.x kernel, you may have to use a
"development" kernel, ie., 2.3.x series kernel. Also, of course, you
could solve the problem by going with a DEC/Compaq Alpha or Sparc
64-bit machine running Linux.

Gary



Re: 2gig file

2000-07-17 Thread Jens B. Jorgensen
Brian Schramm wrote:

> OK.  I am dealing with a 2gig file size limit on Linux.  I have been
> reading up on this all day to very little luck as to how to fix it.  If
> I recomend someone to go to debian for an upgrade will this fix it?  I
> am after any fix I can get and at this time changing dist. is just as
> good for me as anything else.
>
> Please someone help me see the lite on this.

This is due to a limitation of the ext2 filesystem. I believe the reiserfs 
filesystem
supports longer files than this but you'd need to patch your kernel source to 
add
this. I also don't know if it's really ready for prime time yet.

--
Jens B. Jorgensen
[EMAIL PROTECTED]




2gig file

2000-07-14 Thread Brian Schramm
OK.  I am dealing with a 2gig file size limit on Linux.  I have been
reading up on this all day to very little luck as to how to fix it.  If
I recomend someone to go to debian for an upgrade will this fix it?  I
am after any fix I can get and at this time changing dist. is just as
good for me as anything else.

Please someone help me see the lite on this.

Thanks 

Brian
-- 
Brian Schramm
[EMAIL PROTECTED]
www.linuxexpert.org