From owner-freebsd-questions@FreeBSD.ORG Sat Jun 18 20:12:50 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CDF8F1065675 for ; Sat, 18 Jun 2011 20:12:50 +0000 (UTC) (envelope-from bernt@bah.homeip.net) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) by mx1.freebsd.org (Postfix) with ESMTP id 4B0238FC15 for ; Sat, 18 Jun 2011 20:12:49 +0000 (UTC) Received: from kw.homeip.net (c80-217-64-49.bredband.comhem.se [80.217.64.49]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id p5IJmmUW038612; Sat, 18 Jun 2011 21:48:49 +0200 (CEST) (envelope-from bernt@bah.homeip.net) Message-ID: <4DFD0120.4020500@bah.homeip.net> Date: Sat, 18 Jun 2011 21:48:48 +0200 From: Bernt Hansson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; sv-SE; rv:1.9.2.17) Gecko/20110508 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: David Banning References: <20110618185359.GA92347@skytracker.ca> In-Reply-To: <20110618185359.GA92347@skytracker.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: mounting a hard drive via usb 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, 18 Jun 2011 20:12:50 -0000 2011-06-18 20:53, David Banning skrev: > I am attempting to clone a drive by connecting the prospective "copy" > drive via usb. I've just recently upgraded to FBSD 8.2 > > Here is what I get when I insert the drive; > > Jun 18 14:36:29 3s1 kernel: da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 > Jun 18 14:36:29 3s1 kernel: da0:< > Fixed Direct Access SCSI-2 device > Jun 18 14:36:29 3s1 kernel: da0: 40.000MB/s transfers > Jun 18 14:36:29 3s1 kernel: da0: Attempt to query device size failed: NOT READY, Medium not present > Jun 18 14:36:29 3s1 kernel: (da0:umass-sim0:0:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0 > Jun 18 14:36:29 3s1 kernel: (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error > Jun 18 14:36:29 3s1 kernel: (da0:umass-sim0:0:0:0): SCSI status: Check Condition > Jun 18 14:36:29 3s1 kernel: (da0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present) > Jun 18 14:36:29 3s1 kernel: (da0:umass-sim0:0:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0 > Jun 18 14:36:29 3s1 kernel: (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error > Jun 18 14:36:29 3s1 kernel: (da0:umass-sim0:0:0:0): SCSI status: Check Condition > Jun 18 14:36:29 3s1 kernel: (da0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present) > > I notice that the /dev/da0s1.. entries are gone now from my /dev directly > (maybe this is part of the upgrade to 8.2) so all I have in /dev is > /dev/da0 > > My first thought was using MAKEDEV but that is redundant now I understand. > > I also read that mounting drives via usb have to be done with the -a msdosfs > option because they are seen as SCSI drives. Not really. I do something like mount -t /dev/da0 /mnt Then I'll check /dev/da* and viola there is /dev/da0sX, you get an error when trying to mount /dev/da0 "Device not configured" I'm running FreeBSD 8.2-STABLE #0: > Wondering how I would go about mounting this drive - right now it's an old > FreeBSD drive which I just want to wipe.