Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Wes Bauske" <wsb@paralleldata.com>
To: axp-list@redhat.com
Subject: Re: TAR on large file systems (gt 2GB)
Date: Tue, 18 Aug 1998 07:47:49 +0000	[thread overview]
Message-ID: <35D931A5.D82A04C8@paralleldata.com> (raw)
In-Reply-To: Pine.LNX.3.96.980818030108.19106A-100000@albert

mgraffam@mhv.net wrote:
> 
> On Tue, 18 Aug 1998, Wes Bauske wrote:
> 
> > I'm trying to save off a copy of one of my file systems.
> > It's larger than 2GB total size but there are no files
> > larger than 2GB. I've tried it several times now and it
> > always hangs. I moved some stuff out of the file system
> > to get it below 2GB and it works. This leads me to believe
> > there is some sort of limit in tar. I looked back thru
> > the RH list archives and found only references to slow
> > tar.
> 
> Hmm.. I can't say for sure, but I suspect someone is using a
> signed 32-bit int somewhere (either in tar, or maybe in the
> FS code, or something). 2^32 / 2 = 2g (divide out half of the
> space for negative numbers, which we never use since a file size
> of -1 is insane).
> 
> > Is there another command to use instead of tar??
> 
> Well, I don't know where this 2g file is supposed to get stored..
> did you try doing something like: tar cvf - * > /dev/tape
> 

I used "tar -cvf /dev/st0 ." in the appropriate directory
so it never touches the file system on output.

It surprises me that tar has the problem because the same
problem would exist on Cray's and under DEC UNIX so it should
have been sorted out a while back.

A while back I ran into a Fujitsu UNIX mainframe that
had a weird tar format. It could be cpio can use the
newest tar formats and tar doesn't.

cpio man page says it can do:

              bin    The obsolete binary format.

              odc    The old (POSIX.1) portable format.

              newc   The  new  (SVR4) portable format, which sup-
                     ports file systems having more than 65536 i-
                     nodes.

              crc    The new (SVR4) portable format with a check-
                     sum added.

              tar    The old tar format.

              ustar  The POSIX.1 tar format.  Also recognizes GNU
                     tar  archives,  which  are  similar  but not
                     identical.

I'll try cpio though and see what it can do with newc and ustar.


Wes


  reply	other threads:[~1998-08-18  7:49 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-18  6:31 TAR on large file systems (gt 2GB) Wes Bauske
1998-08-18  6:43 ` Michal Jaegermann
1998-08-18  7:39   ` Wes Bauske
1998-08-18  7:57     ` Chris Wedgwood
1998-08-18 13:33   ` Jeff Sturm
1998-08-18  6:52 ` Barrett G. Lyon
1998-08-18  7:18 ` mgraffam
1998-08-18  7:47   ` Wes Bauske [this message]
1998-08-18  8:03     ` Chris Wedgwood
1998-08-18 19:34       ` Wes Bauske
1998-08-18 21:59         ` Wes Bauske
1998-08-19 12:54           ` Miguel Barreiro Paz
1998-08-20 18:33             ` Wes Bauske
1998-08-18 16:46     ` Michal Jaegermann
  -- strict thread matches above, loose matches on Subject: below --
1998-08-18  9:24 Jim Leven
read-only archive

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