Ok, so I guess ext4 with 64-bit, or another filesystem for us. Thanks Andreas & Eric for all the help.<br><br><div class="gmail_quote">On Fri, Mar 26, 2010 at 3:38 PM, Andreas Dilger <span dir="ltr"><<a href="mailto:adilger@dilger.ca">adilger@dilger.ca</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On 2010-03-26, at 16:05, Arun Nair wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
So I'm guessing switching the system to 64-bit would fix this for us. How about increasing the block size from the current 4k? Would that be an option too?<br>
</blockquote>
<br></div>
Not in the near future, unless you are running on PPC/ARM/SPARC that can also handle large pages.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">
On Fri, Mar 26, 2010 at 2:10 PM, Eric Sandeen <<a href="mailto:sandeen@redhat.com" target="_blank">sandeen@redhat.com</a>> wrote:<br>
On 03/26/2010 03:50 PM, Arun Nair wrote:<br>
> Eric,<br>
><br>
> Thanks for the quick reply... see my responses inline...<br>
><br>
> On Fri, Mar 26, 2010 at 12:16 PM, Eric Sandeen <<a href="mailto:sandeen@redhat.com" target="_blank">sandeen@redhat.com</a><br>
> <mailto:<a href="mailto:sandeen@redhat.com" target="_blank">sandeen@redhat.com</a>>> wrote:<br>
><br>
>     On 03/26/2010 01:52 PM, Arun Nair wrote:<br>
>     > Hi -<br>
>     ><br>
>     > (I apologize for the ext4 question in an ext3 mailer, but I couldn't<br>
>     > find a user list for ext4.)<br>
><br>
>     <a href="mailto:linux-ext4@vger.kernel.org" target="_blank">linux-ext4@vger.kernel.org</a> <mailto:<a href="mailto:linux-ext4@vger.kernel.org" target="_blank">linux-ext4@vger.kernel.org</a>> :)<br>
>      but that's ok.<br>
><br>
><br>
> Saw that but thought it was a dev-only list, sorry. Next time :)<br>
<br>
*shrug* I think user questions are welcome too.  At least I don't mind.<br>
<br>
...<br>
<br>
> dd fails as mentioned above. xfs_io errors too:<br>
> [root@camanoe]# xfs_io -F -f -c "pwrite 8T 1M" bigfile2<br>
> pwrite64: File too large<br>
<br>
Oh.  Well, then!  Must be something else.<br>
<br>
oh, ok:<br>
<br>
sbi->s_bitmap_maxbytes = ext4_max_bitmap_size();<br>
<br>
static loff_t ext4_max_size(int blkbits, int has_huge_files)<br>
{<br>
       loff_t res;<br>
       loff_t upper_limit = MAX_LFS_FILESIZE;<br>
<br>
<snip><br>
<br>
       /* Sanity check against vm- & vfs- imposed limits */<br>
       if (res > upper_limit)<br>
               res = upper_limit;<br>
<br>
       return res;<br>
}<br>
<br>
and:<br>
<br>
/* Page cache limit. The filesystems should put that into their s_maxbytes<br>
  limits, otherwise bad things can happen in VM. */<br>
#if BITS_PER_LONG==32<br>
#define MAX_LFS_FILESIZE (((u64)PAGE_CACHE_SIZE << (BITS_PER_LONG-1))-1)<br>
<br>
so it's only giving us 31 bits of pages, not 32.  This limits it to 8T<br>
on a 32-bit machine with 4k pages.<br>
<br>
I'm not honestly sure if there is anything in the vm that can't actually<br>
cope with a 32-bit offset... but until proven otherwise, probably not<br>
going to change this without a lot of testing & inspection.<br>
<br>
-Eric<br>
<br></div></div>
_______________________________________________<br>
Ext3-users mailing list<br>
<a href="mailto:Ext3-users@redhat.com" target="_blank">Ext3-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/ext3-users" target="_blank">https://www.redhat.com/mailman/listinfo/ext3-users</a><br>
</blockquote>
<br>
<br>
Cheers, Andreas<br>
<br>
<br>
<br>
<br>
<br>
</blockquote></div><br>