From owner-freebsd-stable@FreeBSD.ORG Mon Nov 27 06:49:33 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1065016A412; Mon, 27 Nov 2006 06:49:33 +0000 (UTC) (envelope-from rcoleman@criticalmagic.com) Received: from saturn.criticalmagic.com (saturn.criticalmagic.com [64.74.207.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id D348943D82; Mon, 27 Nov 2006 06:48:27 +0000 (GMT) (envelope-from rcoleman@criticalmagic.com) Received: from neptune.criticalmagic.com (adsl-074-229-078-253.sip.asm.bellsouth.net [74.229.78.253]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "neptune.criticalmagic.com", Issuer "Critical Magic Root Certificate" (verified OK)) by saturn.criticalmagic.com (Postfix) with ESMTP id F361539808; Mon, 27 Nov 2006 01:49:25 -0500 (EST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by neptune.criticalmagic.com (Postfix) with ESMTP id 6DF046D409; Mon, 27 Nov 2006 01:49:25 -0500 (EST) Message-ID: <456A8A75.7020401@criticalmagic.com> Date: Mon, 27 Nov 2006 01:49:25 -0500 From: Richard Coleman Organization: Critical Magic User-Agent: Thunderbird 1.5.0.8 (X11/20061110) MIME-Version: 1.0 To: Rink Springer References: <456A5A22.9070408@criticalmagic.com> <20061127063409.GA38831@rink.nu> <20061127063844.GB38831@rink.nu> In-Reply-To: <20061127063844.GB38831@rink.nu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: trhodes@FreeBSD.org, freebsd-stable@freebsd.org Subject: Re: Large msdosfs disk will not mount on RELENG_6 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Nov 2006 06:49:33 -0000 Rink Springer wrote: > On Mon, Nov 27, 2006 at 07:34:09AM +0100, Rink Springer wrote: >> Looking at /sys/fs/msdosfs/msdosfs_vfsops.c seems to hint the existance >> of options MSDOSFS_LARGE; this avoids the error message and will let you >> mount the disk. > > Oh, and before I forget: this option is defined in /sys/conf/NOTES as > well (a pure #ifdef in source code is not enough, of course :-) > > --- > # Experimental support for large MS-DOS filesystems. > # > # WARNING: This uses at least 32 bytes of kernel memory (which is not > # reclaimed until the FS is unmounted) for each file on disk to map > # between the 32-bit inode numbers used by VFS and the 64-bit > # pseudo-inode > # numbers used internally by msdosfs. This is only safe to use in > # certain > # controlled situations (e.g. read-only FS with less than 1 million > # files). > # Since the mappings do not persist across unmounts (or reboots), these > # filesystems are not suitable for exporting through NFS, or any other > # application that requires fixed inode numbers. > options MSDOSFS_LARGE > --- > > Regards, It didn't occur to me to check NOTES, since this is on a very GENERIC box. I did check the man pages for both msdosfs and mount_msdosfs, as well as the "storage" chapter in the handbook. I didn't see this error message or that kernel option mentioned there. Richard Coleman rcoleman@criticalmagic.com