xfs
[Top] [All Lists]

RE: shell filesize limit of 4 GB

To: "'Nathan Scott'" <nathans@xxxxxxx>, Todd Raeker <raeker@xxxxxxxxx>
Subject: RE: shell filesize limit of 4 GB
From: "Gonyou, Austin" <austin@xxxxxxxxxxxxxxx>
Date: Mon, 5 Nov 2001 16:38:20 -0600
Cc: linux-xfs@xxxxxxxxxxx
Sender: owner-linux-xfs@xxxxxxxxxxx
It seems that is his dilemma. He's feeling somehow that he's limited to 4gb,
perhaps a program states it(perl) or some such thing, but he can still make
files larger than 4gb. That might make one disconcerted, no?

-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-796-9023
email: austin@xxxxxxxxxxxxxxx 

> -----Original Message-----
> From: Nathan Scott [mailto:nathans@xxxxxxx]
> Sent: Monday, November 05, 2001 3:44 PM
> To: Todd Raeker
> Cc: linux-xfs@xxxxxxxxxxx
> Subject: Re: shell filesize limit of 4 GB
> 
> 
> 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>