How to use an external USB3.0 drive with 4k sectors?
    Jens Schweikhardt 
    schweikh at schweikhardt.net
       
    Sun Jun  3 20:26:56 UTC 2012
    
    
  
I solved it. No kernel or other driver installations necessary
beyond those I already had (xhci).
1. Hook up disk to USB 2 Port.
    -> System detects drive and creates device nodes:
    ugen3.2: <Jmicron Corp.> at usbus3
    umass1: <MSC Bulk-Only Transfer> on usbus3
    da1 at umass-sim1 bus 1 scbus9 target 0 lun 0
    da1: <ST1000LM 024 HN-M101MBB 0000> Fixed Direct Access SCSI-2 device
    da1: 40.000MB/s transfers
    da1: 953869MB (244190646 4096 byte sectors: 255H 63S/T 15200C)
2. Replace the vendor installed NTFS with a UFS file system.
   $ newfs -U /dev/da1s1
   (No, I didn't bother to create BSD partitions)
3. Hook up disk to USB 3 Port.
    -> Now system detects drive and creates device nodes:
    ugen4.2: <Jmicron Corp.> at usbus4
    umass0: <Jmicron Corp. Usb production, class 0/0, rev 3.00/1.00, addr 1> on usbus4
    da1 at umass-sim0 bus 0 scbus8 target 0 lun 0
    da1: <ST1000LM 024 HN-M101MBB 0000> Fixed Direct Access SCSI-2 device
    da1: 400.000MB/s transfers
    da1: 953869MB (244190646 4096 byte sectors: 255H 63S/T 15200C)
4. Mount
    $ mount /dev/da1s1 /mnt
    $ df /mnt
    Filesystem    Size    Used   Avail Capacity  Mounted on
    /dev/da0s1    968G    8.2k    891G     0%    /mnt
Wohooo!
Regards,
	Jens
-- 
Jens Schweikhardt http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)
    
    
More information about the freebsd-questions
mailing list