From: Chris Wedgwood <chris@cybernet.co.nz>
To: axp-list@redhat.com
Subject: Re: TAR on large file systems (gt 2GB)
Date: Tue, 18 Aug 1998 19:57:32 +1200 [thread overview]
Message-ID: <19980818195732.B25094@caffeine.ix.net.nz> (raw)
In-Reply-To: <35D92F9A.1C54DD13@paralleldata.com>; from Wes Bauske on Tue, Aug 18, 1998 at 07:39:06AM +0000
[-- Attachment #1: Type: text/plain, Size: 1425 bytes --]
On Tue, Aug 18, 1998 at 07:39:06AM +0000, Wes Bauske wrote:
> I'm running 2.1.115, one patch for the X console switching.
>
> One other possible restriction is I'm NFS mounting
> the file system from an Intel Linux box so NFS could
> be unhappy about things but it looks good from mount/df.
>
> Filesystem 1024-blocks Used Available Capacity Mounted on
> /dev/hda2 497699 42908 429087 9% /
> /dev/hda4 1243751 700537 478954 59% /usr
> /dev/hda1 7972 764 7208 10% /dos/c
> /dev/sda1 8573747 6051207 2077943 74% /z/data5
> wsb3:/z/home 5073462 2130201 2680600 44% /z/home
> wsb3:/z/data3 15864375 2996502 12042197 20% /z/data3
> pds04:/z/pds04a 33554432 29215344 4339088 87% /z/pds04a
> pds04:/z/pds04 8601600 4896368 3705232 57% /z/pds04
> wsb:/z/data 10999529 3975501 6452918 38% /z/data
Which partition are you trying to write the tar file to?
If that parition is NFS mounted to the Intel, it won't work, but on a
local file system it shouldn't be a problem (assuming tar isn't
broken).
The attached program creates a 3GB sparse file on a local filesystem
(I just made this quick test now and don't have enough disk space
free for a real file).
If it doesn't work, please send me the output of strace over it or
echo $? after it terminates.
-cw
[-- Attachment #2: test program --]
[-- Type: text/plain, Size: 380 bytes --]
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#define GB (1024ul*1024ul*1024ul)
#define POS (3*GB)
int main()
{
int fd;
char zero = 0;
if((fd = open("big-file.test",O_RDWR|O_CREAT)) == -1)
return 1;
if((lseek(fd,POS,SEEK_SET) == -1))
return 2;
if((write(fd,&zero,1) == -1))
return 3;
close(fd);
return 0;
}
next prev parent reply other threads:[~1998-08-18 7:57 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 [this message]
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
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