Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id fA5LjJv22430 for linux-xfs-outgoing; Mon, 5 Nov 2001 13:45:19 -0800 Received: from sgi.com (sgi.SGI.COM [192.48.153.1]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id fA5LjD022408 for ; Mon, 5 Nov 2001 13:45:13 -0800 Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via SMTP id NAA04069 for ; Mon, 5 Nov 2001 13:45:12 -0800 (PST) mail_from (nathans@wobbly.melbourne.sgi.com) Received: from wobbly.melbourne.sgi.com (wobbly.melbourne.sgi.com [134.14.55.135]) by larry.melbourne.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id IAA12145; Tue, 6 Nov 2001 08:43:55 +1100 Received: (from nathans@localhost) by wobbly.melbourne.sgi.com (SGI-8.9.3/8.9.3) id IAA72305; Tue, 6 Nov 2001 08:43:54 +1100 (AEDT) Date: Tue, 6 Nov 2001 08:43:54 +1100 From: Nathan Scott To: Todd Raeker Cc: linux-xfs@oss.sgi.com Subject: Re: shell filesize limit of 4 GB Message-ID: <20011106084354.B589522@wobbly.melbourne.sgi.com> References: <01102909435902.11332@chemraeker1> <3BE0C2A6.C1D891BE@umbi.umd.edu> <20011101171046.E541473@wobbly.melbourne.sgi.com> <01110514200900.01355@chemraeker1> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <01110514200900.01355@chemraeker1>; from raeker@umich.edu on Mon, Nov 05, 2001 at 02:20:09PM -0500 Sender: owner-linux-xfs@oss.sgi.com Precedence: bulk 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