From owner-freebsd-usb@FreeBSD.ORG Mon Feb 7 06:21:12 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 C12A9106566B for ; Mon, 7 Feb 2011 06:21:12 +0000 (UTC) (envelope-from email@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 80C748FC18 for ; Mon, 7 Feb 2011 06:21:12 +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 p176LBSC044271; Mon, 7 Feb 2011 01:21:11 -0500 (EST) (envelope-from email@guice.ath.cx) Received: from 98.191.59.226 (SquirrelMail authenticated user email) by wtp1.ath.cx with HTTP; Mon, 7 Feb 2011 01:21:11 -0500 Message-ID: Date: Mon, 7 Feb 2011 01:21:11 -0500 From: email@guice.ath.cx To: Duane.Hesser@gmail.com 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: freebsd-usb@freebsd.org 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: Mon, 07 Feb 2011 06:21:12 -0000 I really hope we aren't as ignorant as what these articles are making us appear to be ... We will try and not be long winded on this. OUR GOAL: To add a USB 3TB drive, with a UFS2 fs, to an already running x86 FreeBSD 7.3-p1 system. PROBLEMS – The following sections from the FBSD Handbook are erroneous and/or not properly working with this device. 18.3.1 Using sysinstall(8) – After all is said and done, we are only left with da0s1, da0s2 and da0s3 within /dev. 18.3.2 Using Command Line Utilities 18.3.2.1 Using Slices – some of the commands in this section do not yield positive results and fail. Example, as seen in the handbook: WORKSTATION# dd if=/dev/zero of=/dev/da0 bs=1k count=1 dd: /dev/da0: Invalid argument 1+0 records in 0+0 records out 0 bytes transferred in 0.000108 secs (0 bytes/sec) When we edit the ‘bs=1k’ to ‘bs=512k’ this appears to complete successfully. Another example: WORKSTATION# fdisk -BI da0 ******* Working on device /dev/da0 ******* fdisk: /boot/mbr: length must be a multiple of sector size Honestly, how does this stuff make it in to the handbook? Lets look at a final example from the handbook; how is a novice suppose to know what to do in the resulting file after using the following command, bsdlabel -e da0s1 The system we are working on/with … - WORKSTATION# uname -r 7.3-RELEASE-p1 - WORKSTATION# df -h Filesystem Size Used Avail Capacity Mounted on /dev/ad4s1a 484M 412M 33M 93% / devfs 1.0K 1.0K 0B 100% /dev /dev/ad4s1f 3.4G 168K 3.2G 0% /tmp /dev/ad4s1d 106G 23G 74G 23% /usr /dev/ad4s1e 29G 4.3G 22G 16% /var - USB DEVICE: (3TB) da0 at umass-sim0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-4 device da0: 40.000MB/s transfers da0: 2861588MB (732566645 4096 byte sectors: 255H 63S/T 45600C) Everyone says read the handbook, then when we do, this is what we get.