From owner-freebsd-usb@FreeBSD.ORG Tue Feb 8 01:23:21 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DD3C106564A for ; Tue, 8 Feb 2011 01:23:21 +0000 (UTC) (envelope-from freebsd_user@guice.ath.cx) Received: from guice.ath.cx (wsip-98-191-59-226.ri.ri.cox.net [98.191.59.226]) by mx1.freebsd.org (Postfix) with ESMTP id E62C68FC0A for ; Tue, 8 Feb 2011 01:23:20 +0000 (UTC) Received: from wtp1.ath.cx (localhost [127.0.0.1]) by guice.ath.cx (8.14.4/8.14.4) with ESMTP id p181NI1N048992; Mon, 7 Feb 2011 20:23:18 -0500 (EST) (envelope-from freebsd_user@guice.ath.cx) Received: from 98.191.59.226 (SquirrelMail authenticated user email) by wtp1.ath.cx with HTTP; Mon, 7 Feb 2011 20:23:19 -0500 Message-ID: <4afb11a2cba1286de56928b6b8c61c00.squirrel@wtp1.ath.cx> In-Reply-To: <201102071853.p17IrlhC009850@belinda.androcles.org> References: <201102071853.p17IrlhC009850@belinda.androcles.org> Date: Mon, 7 Feb 2011 20:23:19 -0500 From: freebsd_user@guice.ath.cx To: freebsd-usb@freebsd.org User-Agent: SquirrelMail/1.4.21 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: nagilum@nagilum.org, Duane.Hesser@gmail.com Subject: Re: mount and umount large capacity external USB HDD (fstab) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Feb 2011 01:23:21 -0000 > > I believe there are 2 limits you may be encountering. The disk is larger > than 2TiB and is low-level formatted with 4096 bytes sectors. The 2TiB > limit results from clculations with 32 bit integers and 512 byte sectors. > > The large sector size is almost certainly the problem with "dd"...you > can read less than a sector, but an attempt to write less than a sector > will fail. Try bs=4k. > > I'm running 8 Stable as of a few days ago. The "fdisk" sources on > this system were updated 11/22/2010, but appear to handle sector sizes > only > up to 2048 bytes. I haven't checked to see if it handles disk or > partition > sizes above 2TiB, but it doesn't matter, it won't handle your disk > properly, > and I doubt that the FBSD 7.3 fdisk would either. There is no option for > sector size, it's a hard-coded limit which is too small. > > Bsdlabel may have similar limits. The version on this system was last > modified 09/26/2010. It reads the sectorsize from the disk and therefore > should have no trouble with a 3tb disk. I don't know whether the 7.3 > fdisk has these modifications, but with fdisk failing, it doesn't matter. > If you are using the disk only under freebsd you might try using > 'bsdlabel' > on the entire disk (da0), but check I suspect your bsdlabel may not be > upgraded yet (check sbin/bsdlabel). > > The manual page for 'gpart' claims that it was introduced in 7.0, and I > would think it would be working reasonably by 7.3. It should be able > to handle large disks and partitions with no trouble, and is much easier > to use than the old stuff. You said in your last email that 'gpart show' > showed nothing, but that may be because it had nothing intelligible to > show. If you haven't tried it yet, and the disk contains no data which > you might lose, then try the recipe from the link I gave you. Create > a couple of partitions, then try 'gpart show'. > > Alternately, you may try getting recent versions of fdisk and bsdlabel > from cvs or svn, increase the sector size limit in fdisk, and try that > route again. > > -- > Duane H. Hesser > Thank you all for your input. We must admit, we have a bit more reading to do to fully understand what "Nagilum" was providing. On the other hand, we do understand more of what Mr. Hesser was saying, however, we aren't prepared to upgrade to to 8.x or start playing around by replacing/updating individual utilities on this 'live 7.3 system'. Perhaps on a test machine 'first'. Until then we will have to take the whimp way out and format the 3TB USB device with NTFS and mount it until we are better versed on exactly where Freebsds' support is for these HDD's that are greater than @-TB in size. We really would like at least one (1) FreeBSD machine that is all, dedicated so to speak, BSD. We will read that recipe. Should anyone make additions to this thread we are all eyes_&_ears.