xfs
[Top] [All Lists]

Re: shell filesize limit of 4 GB

To: Todd Raeker <raeker@xxxxxxxxx>
Subject: Re: shell filesize limit of 4 GB
From: Nathan Scott <nathans@xxxxxxx>
Date: Tue, 6 Nov 2001 08:43:54 +1100
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <01110514200900.01355@chemraeker1>; from raeker@umich.edu on Mon, Nov 05, 2001 at 02:20:09PM -0500
References: <01102909435902.11332@chemraeker1> <3BE0C2A6.C1D891BE@umbi.umd.edu> <20011101171046.E541473@wobbly.melbourne.sgi.com> <01110514200900.01355@chemraeker1>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
hello Todd,

On Mon, Nov 05, 2001 at 02:20:09PM -0500, Todd Raeker wrote:
> On Thursday 01 November 2001 01:10, Nathan Scott wrote:
> > tcsh-6.11.00-ns# dd if=/dev/zero of=big bs=1024 seek=687194 count=1
> > 1+0 records in
> > 1+0 records out
> > tcsh-6.11.00-ns# ls -lh big
> > -rw-rw-r--    1 root     root         671M Nov  1 16:56 big
> > tcsh-6.11.00-ns# dd if=/dev/zero of=bigger bs=1024 seek=6871947673 count=1
> > 1+0 records in
> > 1+0 records out
> > tcsh-6.11.00-ns# ls -lh bigger
> > -rw-rw-r--    1 root     root         6.4T Nov  1 16:56 bigger
> > tcsh-6.11.00-ns# dd if=/dev/zero of=sick bs=1024 seek=6871947673699 count=1
> > 1+0 records in
> > 1+0 records out
> > tcsh-6.11.00-ns# ls -lh sick
> > -rw-rw-r--    1 root     root         6.3P Nov  1 16:57 sick
> > tcsh-6.11.00-ns#
> > ...

> Hi All,
> 
>   I started this large file limit issue and am still having problems.  
> Applying the patches above and numerous suggestions still limit me to 4 GB 
> even though tcsh I have supports large files and limit reports unlimited 
> filesize.  
> 
>   I even tried the above dd commands and notice that ls -l reports the 
> correct size but df shows no change.  More important an intended 6 GB file 
> took less than a second to create.

You seem to be contradicting yourself here, or I am reading your
mail wrong... you say you are limited to 4Gb files, then you say
the dd commands report the correct size (clearly greater than 4Gb
in the above cases) and that you created a 6Gb file. (?)

The above dd commands are creating files with holes, so complete
very quickly and take up very little filesystem space, but do
demonstrate the large file support and limit enforcement.  Run
xfs_bmap on the created files and you'll see the holes.

cheers.

-- 
Nathan


<Prev in Thread] Current Thread [Next in Thread>