On Jan 19 2008 10:15, Eric Sandeen wrote:
>> 16:51 localhost:~ # strace -e mount mount /dev/md0 /mnt
>> mount("/dev/md0", "/mnt", "xfs", MS_MGC_VAL, NULL) = -1 E2BIG (Argument
>> list too long)
>> mount: Argument list too long
>> 16:51 localhost:~ # uname -a
>> Linux localhost 126.96.36.199-ccj63-regular #1 SMP 2007/10/26 14:17:15 UTC
>> i686 athlon i386 GNU/Linux
>> CONFIG_LBD=y. Do I need an extra flag for mkfs?
>Nope; this is probably that you can't do > 16T on a 32 bit box (core
>linux restriction, pretty much)
>get an x86_64, I think :)
Hm, JFS fails too.
But btrfs 0.11 can mount it.
>dmesg would also yield more information about the cause of the mount
XFS: file system too large to be mounted on this system
XFS: SB validate fialed
>(Hm, argument list too long is an interesting result tho...)
I suppose it's right here:
#if XFS_BIG_BLKNOS /* Limited by ULONG_MAX of page cache index */
if (nblocks >> (PAGE_CACHE_SHIFT - sbp->sb_blocklog) > ULONG_MAX)
#else /* Limited by UINT_MAX of sectors */