From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 4306 invoked from network); 18 Aug 1998 07:49:19 -0000 Received: from smtp.paralleldata.com (HELO paralleldata.com) (38.153.145.2) by mail2.redhat.com with SMTP; 18 Aug 1998 07:49:19 -0000 Received: by paralleldata.com from localhost (router,SLMail V2.5); Tue, 18 Aug 1998 02:50:02 -0500 Received: by paralleldata.com from paralleldata.com (208.252.119.8::mail daemon; unverified,SLMail V2.5); Tue, 18 Aug 1998 02:50:01 -0500 Sender: "Wsb" Message-ID: <35D931A5.D82A04C8@paralleldata.com> Date: Tue, 18 Aug 1998 07:47:49 +0000 From: "Wes Bauske" Organization: Parallel Data Systems X-Mailer: Mozilla 4.04 [en] (X11; U; Linux 2.0.33 i686) MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: TAR on large file systems (gt 2GB) References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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