From owner-freebsd-stable@FreeBSD.ORG Mon Nov 27 06:16:27 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 E954F16A412 for ; Mon, 27 Nov 2006 06:16:27 +0000 (UTC) (envelope-from security@jim-liesl.org) Received: from qsmtp4.mc.surewest.net (qsmtp.mc.surewest.net [66.60.130.145]) by mx1.FreeBSD.org (Postfix) with SMTP id 164A443D45 for ; Mon, 27 Nov 2006 06:15:29 +0000 (GMT) (envelope-from security@jim-liesl.org) Received: (qmail 15604 invoked from network); 26 Nov 2006 22:12:16 -0800 Received: by simscan 1.1.0 ppid: 15566, pid: 15582, t: 7.4903s scanners: regex: 1.1.0 attach: 1.1.0 clamav: 0.84/m:41/d:2236 spam: 3.0.3 Received: from unknown (HELO daemon.jim-liesl.org) (66.60.173.44) by qsmtp4 with SMTP; 26 Nov 2006 22:12:09 -0800 Received: from daemon.jim-liesl.org (localhost [127.0.0.1]) by daemon.jim-liesl.org (Postfix) with ESMTP id 85CD36191; Sun, 26 Nov 2006 22:20:15 -0800 (PST) Received: from [192.168.1.105] (emperor.jim-liesl.org [192.168.1.105]) by daemon.jim-liesl.org (Postfix) with ESMTP id 632C2614B; Sun, 26 Nov 2006 22:20:15 -0800 (PST) From: secmgr To: Richard Coleman In-Reply-To: <456A5A22.9070408@criticalmagic.com> References: <456A5A22.9070408@criticalmagic.com> Content-Type: text/plain Organization: Message-Id: <1164608160.3488.30.camel@emperor> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) Date: 26 Nov 2006 22:16:00 -0800 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on qsmtp4.surewest.net X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.0.3 Cc: 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:16:28 -0000 On Sun, 2006-11-26 at 19:23, Richard Coleman wrote: > I just bought a large external hard drive for home backups (500g Western Digital My Book). When I > plug it in to my machine (RELENG_6 from about a week ago), the system sees the device just fine: > > Nov 26 22:03:21 neptune kernel: umass0: Western Digital External HDD, rev 2.00/1.06, addr 2 > Nov 26 22:03:21 neptune kernel: uhid1: Western Digital External HDD, rev 2.00/1.06, addr 2, iclass 8/6 > Nov 26 22:03:21 neptune kernel: da0 at umass-sim0 bus 0 target 0 lun 0 > Nov 26 22:03:21 neptune kernel: da0: Fixed Direct Access SCSI-4 device > Nov 26 22:03:21 neptune kernel: da0: 40.000MB/s transfers > Nov 26 22:03:21 neptune kernel: da0: 476940MB (976773168 512 byte sectors: 255H 63S/T 60801C) > > > But when I try to mount the drive (mount -t msdos /dev/da0 /mnt), the system gives the following error: > > Nov 26 22:06:41 neptune kernel: mountmsdosfs(): disk too big, sorry > > I was surprised to see a file system limitation on FreeBSD that Windows does not have. I will > probably reformat the system to ufs2, but thought I would mention this error message. I'm sure > these drives will become increasingly common. Would you share how you initialized this drive, and what parameters you used? FAT32 has a 2 TB limit for the filesystem and 2 GB for a file. The error you saw is thrown when the # of sectors exceeds an unsigned 32 bit integer. BTW, the limit is based on the DOS spec, not FreeBSD. jim