Re: How to use an external USB3.0 drive with 4k sectors?

2012-06-04 Thread Jens Schweikhardt
On Mon, Jun 04, 2012 at 06:58:07AM +0200, Wojciech Puchar wrote:
# 
#  2. Replace the vendor installed NTFS with a UFS file system.
# 
#$ newfs -U /dev/da1s1
# 
#(No, I didn't bother to create BSD partitions)
# 
# but why still create msdos partition?

I didn't create one, I just left it as is. For some reason fdisk would
error out and sysinstall's fdisk would compute bogus capacities: use the
number of sectors and multiply them by 512 instead of 4096--that scared
me to the point I didn't want to have fdisk write to the disk.

Next on my TODO list: learn about gpart.

Regards,

Jens
-- 
Jens Schweikhardt http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to use an external USB3.0 drive with 4k sectors?

2012-06-03 Thread Jens Schweikhardt
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  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  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
FilesystemSizeUsed   Avail Capacity  Mounted on
/dev/da0s1968G8.2k891G 0%/mnt

Wohooo!


Regards,

Jens
-- 
Jens Schweikhardt http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to use an external USB3.0 drive with 4k sectors?

2012-06-03 Thread Wojciech Puchar


2. Replace the vendor installed NTFS with a UFS file system.

  $ newfs -U /dev/da1s1

  (No, I didn't bother to create BSD partitions)


but why still create msdos partition?




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to use an external USB3.0 drive with 4k sectors?

2012-06-02 Thread Jens Schweikhardt
On Thu, May 31, 2012 at 08:26:21PM +0200, Damien Fleuriot wrote:
...
#  When I plug it to one of the two USB3.0 ports (using the xhci driver), I
#  don't get device nodes in /dev created for it, but instead an ever
#  growing list of
#  
# ugen4.2: Jmicron Corp. at usbus4
# umass2: Jmicron Corp. Usb production, class 0/0, rev 2.10/1.00, addr 1 
on usbus4
# ugen4.2: Jmicron Corp. at usbus4 (disconnected)
# umass2: at uhub4, port 4, addr 1 (disconnected)
#  
#  The USB3.0 ports otherwise work fine with a 16BG USB3.0 Stick. Windows 7
#  can use the disk as well on the USB3.0 port, which makes me look for
#  things I have missed. For example, my kernel config is stripped down
#  quite a bit, so it might be that my custom kernel does not have all the
#  necessary drivers built in or kldloaded. Do I need device ada? What is
#  the magic needed to hook up 4k secotr drives via USB3.0?
#  
#  Regards,
#  
# Jens
# 
# Logic dictates that you try with GENERIC, see if that works any better ;)

I tried with a GENERIC from -CURRENT, the detection message is somewhat 
different:

ugen4.2: vendor 0x152d at usbus4
umass0:   SCSI over Bulk-Only; quirks = 0x0100
umass0:10:0:-1: Attached to scbus10

However still no device nodes, AFAICT. Using camcontrol rescan all
followed by camcontrol devlist does not show the drive.

Any chance I can get this drive going on USB 3? Could the
problem be the quirk = 0x0100?

Regards,

Jens
-- 
Jens Schweikhardt http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to use an external USB3.0 drive with 4k sectors?

2012-06-01 Thread Wojciech Puchar

# mount -t ntfs -o ro /dev/da5s1  /mnt
mount_ntfs: /dev/da5s1: Invalid argument
)

your dmesg shows drive is properly detected.

seems like ntfs driver doesn't work OR MBR is't properly handled.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to use an external USB3.0 drive with 4k sectors?

2012-06-01 Thread Jens Schweikhardt
On Thu, May 31, 2012 at 06:14:08PM -0400, Thomas Mueller wrote:
...
# I think you also need xhci driver in kernel config.  xhci is for USB 3.0.

It's there. As I said, using a USB 3 *Stick* works fine. It is recogized as 3.0
and the speed is as expected. It's the *Disk* that is not recognized. They're
both umass devices. I don't need to boot from that disk, I just want to use it
as external data storage.

I have recompiled the kernel with device ada and put ahci_load=YES in
/boot/loader.conf.

When I plug the disk, the log now says

ugen4.2: Jmicron Corp. at usbus4
umass0: Jmicron Corp. Usb production, class 0/0, rev 3.00/1.00, addr 1 on 
usbus4

only once (the old kernel would says so every 20 seconds or so). In contrast,
when I plug the stick in the same port, I get

ugen4.2: JetFlash at usbus4
umass0: JetFlash Mass Storage Device, class 0/0, rev 3.00/a.00, addr 1 on 
usbus4
da0 at umass-sim0 bus 0 scbus8 target 0 lun 0
da0: JetFlash Transcend 16GB 1.00 Removable Direct Access SCSI-5 device
da0: 400.000MB/s transfers
da0: 15082MB (30887936 512 byte sectors: 255H 63S/T 1922C)

and mounting it works. Obviously, for the disk the device nodes aren't 
created...
Is there something different between umass sticks and umass drives?

Regards,

Jens
-- 
Jens Schweikhardt http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to use an external USB3.0 drive with 4k sectors?

2012-06-01 Thread Wojciech Puchar

I have recompiled the kernel with device ada and put ahci_load=YES in
/boot/loader.conf.


you don't need ada driver for USB disk. anyway you need it for your SATA 
disk to make things fast.



and mounting it works. Obviously, for the disk the device nodes aren't 
created...
Is there something different between umass sticks and umass drives?

lost of USB devices are not really standard compliant.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to use an external USB3.0 drive with 4k sectors?

2012-06-01 Thread Jens Schweikhardt
Hi Wojciech et al,

On Fri, Jun 01, 2012 at 10:42:53AM +0200, Wojciech Puchar wrote:
#  # mount -t ntfs -o ro /dev/da5s1  /mnt
#  mount_ntfs: /dev/da5s1: Invalid argument
#  )
# your dmesg shows drive is properly detected.

Yes, but this was only on a USB2 (two) port, and just an auxiliary
information, to show the drive is not dead or otherwise funky.
Once I get it running, I'll put an UFS2 on it.

My goal is to get it recognized on one of the two USB3 ports I have.
All I get there is
Jun  1 11:43:45 hal9000 kernel: ugen4.2: Jmicron Corp. at usbus4
Jun  1 11:43:45 hal9000 kernel: umass0: Jmicron Corp. Usb production, class 
0/0, rev 3.00/1.00, addr 1 on usbus4
and after 100 seconds:
Jun  1 11:45:26 hal9000 kernel: ugen4.2: Jmicron Corp. at usbus4 
(disconnected)
Jun  1 11:45:26 hal9000 kernel: umass0: at uhub4, port 2, addr 1 (disconnected)

There never is a device node like /dev/daN created, like it does
for the USB 3.0 *stick* I have.


Regards,

Jens
-- 
Jens Schweikhardt http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to use an external USB3.0 drive with 4k sectors?

2012-06-01 Thread Gary Aitken
On 06/01/12 04:01, Jens Schweikhardt wrote:

 My goal is to get it recognized on one of the two USB3 ports I have.
 All I get there is
 Jun  1 11:43:45 hal9000 kernel: ugen4.2:Jmicron Corp.  at usbus4
 Jun  1 11:43:45 hal9000 kernel: umass0:Jmicron Corp. Usb production, class 
 0/0, rev 3.00/1.00, addr 1  on usbus4
 and after 100 seconds:
 Jun  1 11:45:26 hal9000 kernel: ugen4.2:Jmicron Corp.  at usbus4 
 (disconnected)
 Jun  1 11:45:26 hal9000 kernel: umass0: at uhub4, port 2, addr 1 
 (disconnected)
 
 There never is a device node like /dev/daN created, like it does
 for the USB 3.0 *stick* I have.

Any chance you have access to a 3.0 drive from a different mfg you can try to 
point the finger at the driver?  seagate go-flex works.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


How to use an external USB3.0 drive with 4k sectors?

2012-05-31 Thread Jens Schweikhardt
hello, world\n

so I decided to try two HW technology advancements in one go.
I have a brand new shiny 1TB USB3.0 external disk, that when plugged
to an USB2(two!) reports

da5 at umass-sim2 bus 2 scbus6 target 0 lun 0
da5: ST1000LM 024 HN-M101MBB  Fixed Direct Access SCSI-2 device
da5: 40.000MB/s transfers
da5: 953869MB (244190646 4096 byte sectors: 255H 63S/T 15200C)

and
# diskinfo -v da5
da5
4096# sectorsize
1000204886016   # mediasize in bytes (931G)
244190646   # mediasize in sectors
0   # stripesize
0   # stripeoffset
15200   # Cylinders according to firmware.
255 # Heads according to firmware.
63  # Sectors according to firmware.
00A123456789# Disk ident.


(The vendor, Jmicron, has put an NTFS on it, with a disk manual as a pdf file.
Strangely, I cannot mount it with
# ll /dev/da5*
crw-r-  1 root  operator0, 236 May 31 15:05 /dev/da5
crw-r-  1 root  operator0, 237 May 31 15:05 /dev/da5s1
# mount -t ntfs -o ro /dev/da5s1  /mnt
mount_ntfs: /dev/da5s1: Invalid argument
)

When I plug it to one of the two USB3.0 ports (using the xhci driver), I
don't get device nodes in /dev created for it, but instead an ever
growing list of

ugen4.2: Jmicron Corp. at usbus4
umass2: Jmicron Corp. Usb production, class 0/0, rev 2.10/1.00, addr 1 on 
usbus4
ugen4.2: Jmicron Corp. at usbus4 (disconnected)
umass2: at uhub4, port 4, addr 1 (disconnected)

The USB3.0 ports otherwise work fine with a 16BG USB3.0 Stick. Windows 7
can use the disk as well on the USB3.0 port, which makes me look for
things I have missed. For example, my kernel config is stripped down
quite a bit, so it might be that my custom kernel does not have all the
necessary drivers built in or kldloaded. Do I need device ada? What is
the magic needed to hook up 4k secotr drives via USB3.0?

Regards,

Jens
-- 
Jens Schweikhardt http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to use an external USB3.0 drive with 4k sectors?

2012-05-31 Thread Damien Fleuriot

On 31 May 2012, at 17:57, Jens Schweikhardt schwe...@schweikhardt.net wrote:

 hello, world\n
 
 so I decided to try two HW technology advancements in one go.
 I have a brand new shiny 1TB USB3.0 external disk, that when plugged
 to an USB2(two!) reports
 
da5 at umass-sim2 bus 2 scbus6 target 0 lun 0
da5: ST1000LM 024 HN-M101MBB  Fixed Direct Access SCSI-2 device
da5: 40.000MB/s transfers
da5: 953869MB (244190646 4096 byte sectors: 255H 63S/T 15200C)
 
 and
 # diskinfo -v da5
 da5
4096# sectorsize
1000204886016   # mediasize in bytes (931G)
244190646   # mediasize in sectors
0   # stripesize
0   # stripeoffset
15200   # Cylinders according to firmware.
255 # Heads according to firmware.
63  # Sectors according to firmware.
00A123456789# Disk ident.
 
 
 (The vendor, Jmicron, has put an NTFS on it, with a disk manual as a pdf file.
 Strangely, I cannot mount it with
 # ll /dev/da5*
 crw-r-  1 root  operator0, 236 May 31 15:05 /dev/da5
 crw-r-  1 root  operator0, 237 May 31 15:05 /dev/da5s1
 # mount -t ntfs -o ro /dev/da5s1  /mnt
 mount_ntfs: /dev/da5s1: Invalid argument
 )
 
 When I plug it to one of the two USB3.0 ports (using the xhci driver), I
 don't get device nodes in /dev created for it, but instead an ever
 growing list of
 
ugen4.2: Jmicron Corp. at usbus4
umass2: Jmicron Corp. Usb production, class 0/0, rev 2.10/1.00, addr 1 
 on usbus4
ugen4.2: Jmicron Corp. at usbus4 (disconnected)
umass2: at uhub4, port 4, addr 1 (disconnected)
 
 The USB3.0 ports otherwise work fine with a 16BG USB3.0 Stick. Windows 7
 can use the disk as well on the USB3.0 port, which makes me look for
 things I have missed. For example, my kernel config is stripped down
 quite a bit, so it might be that my custom kernel does not have all the
 necessary drivers built in or kldloaded. Do I need device ada? What is
 the magic needed to hook up 4k secotr drives via USB3.0?
 
 Regards,
 
Jens
 -- 
 Jens Schweikhardt http://www.schweikhardt.net/
 SIGSIG -- signature too long (core dumped)
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Logic dictates that you try with GENERIC, see if that works any better 
;)___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to use an external USB3.0 drive with 4k sectors?

2012-05-31 Thread Gary Aitken
On 05/31/12 09:57, Jens Schweikhardt wrote:

 so I decided to try two HW technology advancements in one go.
 I have a brand new shiny 1TB USB3.0 external disk, that when plugged
 to an USB2(two!) reports
 
  da5 at umass-sim2 bus 2 scbus6 target 0 lun 0
  da5:ST1000LM 024 HN-M101MBB   Fixed Direct Access SCSI-2 device
  da5: 40.000MB/s transfers
  da5: 953869MB (244190646 4096 byte sectors: 255H 63S/T 15200C)
 
 and
 # diskinfo -v da5
 da5
  4096# sectorsize
  1000204886016   # mediasize in bytes (931G)
  244190646   # mediasize in sectors
  0   # stripesize
  0   # stripeoffset
  15200   # Cylinders according to firmware.
  255 # Heads according to firmware.
  63  # Sectors according to firmware.
  00A123456789# Disk ident.
 
 
 (The vendor, Jmicron, has put an NTFS on it, with a disk manual as a pdf file.
 Strangely, I cannot mount it with
 # ll /dev/da5*
 crw-r-  1 root  operator0, 236 May 31 15:05 /dev/da5
 crw-r-  1 root  operator0, 237 May 31 15:05 /dev/da5s1
 # mount -t ntfs -o ro /dev/da5s1  /mnt
 mount_ntfs: /dev/da5s1: Invalid argument
 )
 
 When I plug it to one of the two USB3.0 ports (using the xhci driver), I
 don't get device nodes in /dev created for it, but instead an ever
 growing list of
 
  ugen4.2:Jmicron Corp.  at usbus4
  umass2:Jmicron Corp. Usb production, class 0/0, rev 2.10/1.00, addr 1  
 on usbus4
  ugen4.2:Jmicron Corp.  at usbus4 (disconnected)
  umass2: at uhub4, port 4, addr 1 (disconnected)
 
 The USB3.0 ports otherwise work fine with a 16BG USB3.0 Stick. Windows 7
 can use the disk as well on the USB3.0 port, which makes me look for
 things I have missed. For example, my kernel config is stripped down
 quite a bit, so it might be that my custom kernel does not have all the
 necessary drivers built in or kldloaded. Do I need device ada? What is
 the magic needed to hook up 4k secotr drives via USB3.0?

According to the handbook you need all of the following drivers:

  scbus da pass uhci ohci ehci usb umass

Don't know if this helps, but 512K sectorsize on usb 3 seems to work fine here:

%diskinfo -v da0
da0
512 # sectorsize
1500301909504   # mediasize in bytes (1.4T)
2930277167  # mediasize in sectors
0   # stripesize
0   # stripeoffset
182401  # Cylinders according to firmware.
255 # Heads according to firmware.
63  # Sectors according to firmware.
NA05EA2N# Disk ident.

dmesg:

ugen0.2: Seagate at usbus0
umass0: Seagate FreeAgent GoFlex, class 0/0, rev 3.00/1.00, addr 1 on usbus0
umass0:  SCSI over Bulk-Only; quirks = 0x4100
umass0:8:0:-1: Attached to scbus8
da0 at umass-sim0 bus 0 scbus8 target 0 lun 0
da0: Seagate FreeAgent GoFlex 211 Fixed Direct Access SCSI-0 device 
da0: 400.000MB/s transfers
da0: 1430799MB (2930277167 512 byte sectors: 255H 63S/T 182401C)

Plugging it in adds only da0, da0s1, and ugen0.2 to /dev

My disk is bigger than what you're dealing with but not the big sector size; 
can't say about that difference.

Gary
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to use an external USB3.0 drive with 4k sectors?

2012-05-31 Thread Thomas Mueller
On 05/31/12 09:57, Jens Schweikhardt wrote:

 so I decided to try two HW technology advancements in one go.
 I have a brand new shiny 1TB USB3.0 external disk, that when plugged
 to an USB2(two!) reports

  da5 at umass-sim2 bus 2 scbus6 target 0 lun 0
  da5:ST1000LM 024 HN-M101MBB   Fixed Direct Access SCSI-2 device
  da5: 40.000MB/s transfers
  da5: 953869MB (244190646 4096 byte sectors: 255H 63S/T 15200C)

 and
 # diskinfo -v da5
 da5
  4096# sectorsize
  1000204886016   # mediasize in bytes (931G)
  244190646   # mediasize in sectors
  0   # stripesize
  0   # stripeoffset
  15200   # Cylinders according to firmware.
  255 # Heads according to firmware.
  63  # Sectors according to firmware.
  00A123456789# Disk ident.


 (The vendor, Jmicron, has put an NTFS on it, with a disk manual as a pdf file.
 Strangely, I cannot mount it with
 # ll /dev/da5*
 crw-r-  1 root  operator0, 236 May 31 15:05 /dev/da5
 crw-r-  1 root  operator0, 237 May 31 15:05 /dev/da5s1
 # mount -t ntfs -o ro /dev/da5s1  /mnt
 mount_ntfs: /dev/da5s1: Invalid argument
 )

 When I plug it to one of the two USB3.0 ports (using the xhci driver), I
 don't get device nodes in /dev created for it, but instead an ever
 growing list of

  ugen4.2:Jmicron Corp.  at usbus4
  umass2:Jmicron Corp. Usb production, class 0/0, rev 2.10/1.00, addr 1  
 on usbus4
  ugen4.2:Jmicron Corp.  at usbus4 (disconnected)
  umass2: at uhub4, port 4, addr 1 (disconnected)
 
 The USB3.0 ports otherwise work fine with a 16BG USB3.0 Stick. Windows 7
 can use the disk as well on the USB3.0 port, which makes me look for

 things I have missed. For example, my kernel config is stripped down
 quite a bit, so it might be that my custom kernel does not have all the
 necessary drivers built in or kldloaded. Do I need device ada? What is
 the magic needed to hook up 4k secotr drives via USB3.0?

Gary Aitken free...@dreamchaser.org responded:

 According to the handbook you need all of the following drivers:

   scbus da pass uhci ohci ehci usb umass

 Don't know if this helps, but 512K sectorsize on usb 3 seems to work fine 
 here:

 %diskinfo -v da0
 da0
 512 # sectorsize
 1500301909504   # mediasize in bytes (1.4T)
 2930277167  # mediasize in sectors
 0   # stripesize
 0   # stripeoffset
 182401  # Cylinders according to firmware.
 255 # Heads according to firmware.
 63  # Sectors according to firmware.
 NA05EA2N# Disk ident.

 dmesg:

 ugen0.2: Seagate at usbus0
 umass0: Seagate FreeAgent GoFlex, class 0/0, rev 3.00/1.00, addr 1 on usbus0
 umass0:  SCSI over Bulk-Only; quirks = 0x4100
 umass0:8:0:-1: Attached to scbus8
 da0 at umass-sim0 bus 0 scbus8 target 0 lun 0
 da0: Seagate FreeAgent GoFlex 211 Fixed Direct Access SCSI-0 device
 da0: 400.000MB/s transfers
 da0: 1430799MB (2930277167 512 byte sectors: 255H 63S/T 182401C)

 Plugging it in adds only da0, da0s1, and ugen0.2 to /dev

 My disk is bigger than what you're dealing with but not the big sector size;
 can't say about that difference.

I think you also need xhci driver in kernel config.  xhci is for USB 3.0.

I have a Western Digital My Book Essentials 3 TB USB 3.0 hard drive, and that 
works with FreeBSD and Linux, but not NetBSD.

As far as I know, Linux and FreeBSD are the only open-source OSes that support 
USB 3.0.

But I don't think the motherboard supports directly booting from this USB 3.0.

This USB 3.0 hard drive is not recognized when plugged in to USB 2.0 port on 
the motherboard, but is recognized when plugged in to USB 2.0 port on a USB 
bracket connected to USB 2.0 headers on the motherboard.  This would be useful 
with NetBSD, and possibly for booting with GRUB2.

That Western Digital 3.0 TB USB 3.0 was partitioned with one MBR partition, 
formatted for NTFS.  

I needed the System Rescue CD (http://sysresccd.org/) to copy the software 
files from the CD, and to migrate MBR partition scheme to GPT.  Then I deleted 
the big NTFS partition and added my partitions.

FreeBSD sees these partitions as /dev/da0p1, /dev/da0p2 and so on.

Tom
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to use an external USB3.0 drive with 4k sectors?

2012-05-31 Thread Warren Block

On Thu, 31 May 2012, Jens Schweikhardt wrote:


so I decided to try two HW technology advancements in one go.
I have a brand new shiny 1TB USB3.0 external disk, that when plugged
to an USB2(two!) reports

   da5 at umass-sim2 bus 2 scbus6 target 0 lun 0
   da5: ST1000LM 024 HN-M101MBB  Fixed Direct Access SCSI-2 device
   da5: 40.000MB/s transfers
   da5: 953869MB (244190646 4096 byte sectors: 255H 63S/T 15200C)

(The vendor, Jmicron, has put an NTFS on it, with a disk manual as a pdf file.
Strangely, I cannot mount it with
# ll /dev/da5*
crw-r-  1 root  operator0, 236 May 31 15:05 /dev/da5
crw-r-  1 root  operator0, 237 May 31 15:05 /dev/da5s1
# mount -t ntfs -o ro /dev/da5s1  /mnt
mount_ntfs: /dev/da5s1: Invalid argument
)


It may not actually be an NTFS filesystem.  Try
# file -s /dev/da5s1

Much more likely to be a USB problem than something to do with block 
size.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org