From owner-freebsd-questions@FreeBSD.ORG Thu Dec 13 20:32:44 2007 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 C5F0116A41B for ; Thu, 13 Dec 2007 20:32:44 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id 448A913C4CE for ; Thu, 13 Dec 2007 20:32:44 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-253-25-183.bredband.comhem.se ([83.253.25.183]:57742 helo=falcon.midgard.homeip.net) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1J2ujb-0006lt-4D for freebsd-questions@freebsd.org; Thu, 13 Dec 2007 21:32:43 +0100 Received: (qmail 30358 invoked from network); 13 Dec 2007 21:32:35 +0100 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 13 Dec 2007 21:32:35 +0100 Received: (qmail 72307 invoked by uid 1001); 13 Dec 2007 21:32:35 +0100 Date: Thu, 13 Dec 2007 21:32:35 +0100 From: Erik Trulsson To: Chris Whitehouse Message-ID: <20071213203235.GA72291@owl.midgard.homeip.net> Mail-Followup-To: Chris Whitehouse , Patrick.Baldwin@studsvik.com, freebsd-questions@freebsd.org References: <475F1727.8050501@studsvik.com> <20071212111050.GA4575@basement.net> <47600343.2000300@studsvik.com> <476015D9.6070604@onetel.com> <47614A15.2060003@gmail.com> <4761564C.8010305@studsvik.com> <476155C4.7050905@onetel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <476155C4.7050905@onetel.com> User-Agent: Mutt/1.5.16 (2007-06-09) X-Originating-IP: 83.253.25.183 X-Scan-Result: No virus found in message 1J2ujb-0006lt-4D. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1J2ujb-0006lt-4D d1dd313ca9b5b9390a04f9cf722b11de Cc: Patrick.Baldwin@studsvik.com, freebsd-questions@freebsd.org Subject: Re: Mounting Western Digital USB drive? 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: Thu, 13 Dec 2007 20:32:44 -0000 On Thu, Dec 13, 2007 at 03:54:44PM +0000, Chris Whitehouse wrote: > Patrick Baldwin wrote: >> Tsetsbold Narantungalag wrote: >>> Hi, >>> >>> have you tried this before: >>> >>> #mount_msdosfs /dev/da0s1 /mnt/usb >>> >> I hadn't initially, but I have now: >> # mount_msdosfs /dev/da0s1 /mnt/usbdrive >> mount_msdosfs: /dev/da0s1: Invalid argument >> And dmesg: >> umass0: Western Digital External HDD, rev 2.00/1.04, addr 2 >> da0 at umass-sim0 bus 0 target 0 lun 0 >> da0: Fixed Direct Access SCSI-4 device >> da0: 40.000MB/s transfers >> da0: 152627MB (312581808 512 byte sectors: 255H 63S/T 19457C) >> mountmsdosfs(): disk too big, sorry >> mountmsdosfs(): disk too big, sorry >> mountmsdosfs(): disk too big, sorry >> ...which seems to suggest the drive is to big for mount_msdosfs >> to work. >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" > Did you see my reply the other day? > > I don't know how it is now but there used to be an upper limit on FAT32 > filesystem size in FreeBSD, 128gb I believe. You could get round it by > recompiling your kernel with MSDOSFS_LARGE but there were some limitations > on it's use. I'm sure google would find further info. In the latest versions of FreeBSD this has been changed from a kernel option, to a mount time option. Try 'mount_msdosfs -o large /dev/da0s1 /mnt/usb' If that does not help you might wish to run 'fdisk /dev/da0' and 'file /dev/da0s1' to find out what the disk is already formatted as. If nothing else works I guess you can always use fdisk/bsdlabel/newfs to reformat the disk with a standard FreeBSD filesystem - assuming that there is not already some files on that disk that you wish to read. -- Erik Trulsson ertr1013@student.uu.se