From owner-freebsd-questions@FreeBSD.ORG Sat Dec 20 13:56:30 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2BF3106564A for ; Sat, 20 Dec 2008 13:56:30 +0000 (UTC) (envelope-from cwhiteh@onetel.com) Received: from smtp1.betherenow.co.uk (smtp1.betherenow.co.uk [87.194.0.68]) by mx1.freebsd.org (Postfix) with SMTP id 80DB18FC14 for ; Sat, 20 Dec 2008 13:56:30 +0000 (UTC) (envelope-from cwhiteh@onetel.com) Received: from [192.168.1.68] (93-97-24-219.zone5.bethere.co.uk [93.97.24.219]) by smtp1.betherenow.co.uk (Postfix) with ESMTP id BCCE49819F for ; Sat, 20 Dec 2008 13:56:28 +0000 (GMT) Message-ID: <494CF98C.8080304@onetel.com> Date: Sat, 20 Dec 2008 13:56:28 +0000 From: Chris Whitehouse User-Agent: Thunderbird 2.0.0.7pre (X11/20081217) MIME-Version: 1.0 To: User Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: mount_msdosfs -o large? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Dec 2008 13:56:31 -0000 Hi, I have a 250gb usb hard disk formatted fat32. With just mount_msdosfs I get %mount_msdosfs /dev/da0s1 mnt/usb mount_msdosfs: /dev/da0s1: Disk too big, try '-o large' mount option: Invalid argument The large option does seem to work: %mount_msdosfs -o large /dev/da0s1 mnt/usb %mount ... /dev/da0s1 on /usr/home/chrisw/mnt/usb (msdosfs, local, nosuid, mounted by chrisw) % However I can't find anything about the large option in man pages for mount, mount_msdosfs or fstab. Would this be suitable text to go in the -o options section of mount_msdosfs(8)? large Mount a filesystem larger than 128gb 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. I got the warning out of /sys/fs/msdosfs/msdosfs_vfsops.c on my FreeBSD eco 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #1: Tue Dec 16 18:28:48 GMT 2008 root@eco:/usr/obj/usr/src/sys/GENERIC i386 box. Thanks Chris