xfs
[Top] [All Lists]

Re: Large file support in Linux

To: Mike Xu <mkexu@xxxxxxxxxxxxx>
Subject: Re: Large file support in Linux
From: Nathan Scott <nathans@xxxxxxx>
Date: Wed, 8 Dec 2004 10:57:18 +1100
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <001601c4dc95$6b764f50$8ce77ecf@mkexu>
References: <001601c4dc95$6b764f50$8ce77ecf@mkexu>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.3i
On Tue, Dec 07, 2004 at 11:46:18AM -0800, Mike Xu wrote:
> Hello,
> 
> I am testing the patch for the large file support (> 2TB) on Linux. After I

Do you mean the Large Block Device (LBD) patch?  Which kernel
version are you using?

> executed the command mkfs.xfs to create a file system of more than 2 TB, I
> did a mount, but I got the following error:
> 
> XFS: File system is too large to be mounted on this system.
> 
> I checked the source, the error is from the file xfs_mount.c 
> 
> #if !XFS_BIG_BLKNOS
> 
>         xxxxx("XFS: File system is too large to be mounted on this
> system.");
> 
> #endif
> 
> Should I define XFS_BIG_BLKNOS in the header file xfs_types.h?

No, when the LBD patch is enabled XFS_BIG_BLKNOS is automatically
enabled (for 2.6 kernels, where LBD is merged).  For 2.4 kernels,
you will want to use XFS from CVS (i.e. not mainline) along with
the LBD patch.

cheers.

-- 
Nathan


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