mounting a hard drive via usb

Bernt Hansson bernt at bah.homeip.net
Sat Jun 18 20:12:50 UTC 2011


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 <filesystem> /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.


More information about the freebsd-questions mailing list