Newifi-D2 + Oric 3159U3 JMS578 USB3 hard drive

How to use a Seagate 4Tb hard disk drive in a USB 3 Orico enclosure @ 5Gb/s

Setup

  • OS: OpenWrt 19.07.7 / LuCI openwrt-19.07 + USB packages + ntfs-3g (NOT kmod-fs-ntfs)
  • Hard disk enclosure: Oric 3159U3 (JMS578 controller)
  • HD: Seagate 4Tb, NTFS format (ID: 0080:0578 found with lsusb command)
  • One line in file /etc/modules.d/usb-storage: usb-storage quirks=0080:0578:u

System log extract

Mon May 24 12:14:36 2021 kern.info kernel: [ 1377.283464] usb 2-1: new SuperSpeed USB device number 3 using xhci-mtk
Mon May 24 12:14:36 2021 kern.warn kernel: [ 1377.315822] usb 2-1: UAS is blacklisted for this device, using usb-storage instead
Mon May 24 12:14:36 2021 kern.info kernel: [ 1377.323543] usb-storage 2-1:1.0: USB Mass Storage device detected
Mon May 24 12:14:36 2021 kern.info kernel: [ 1377.330123] usb-storage 2-1:1.0: Quirks match for vid 0080 pid 0578: 800000
Mon May 24 12:14:36 2021 kern.info kernel: [ 1377.337316] scsi host0: usb-storage 2-1:1.0
Mon May 24 12:14:37 2021 kern.notice kernel: [ 1378.374111] scsi 0:0:0:0: Direct-Access     External USB 3.0          0104 PQ: 0 ANSI: 6
Mon May 24 12:14:37 2021 kern.notice kernel: [ 1378.384529] sd 0:0:0:0: [sda] Very big device. Trying to use READ CAPACITY(16).
Mon May 24 12:14:37 2021 kern.notice kernel: [ 1378.392072] sd 0:0:0:0: [sda] 7814037168 512-byte logical blocks: (4.00 TB/3.64 TiB)
Mon May 24 12:14:37 2021 kern.notice kernel: [ 1378.399856] sd 0:0:0:0: [sda] 4096-byte physical blocks
Mon May 24 12:14:37 2021 kern.notice kernel: [ 1378.405574] sd 0:0:0:0: [sda] Write Protect is off
Mon May 24 12:14:37 2021 kern.debug kernel: [ 1378.410357] sd 0:0:0:0: [sda] Mode Sense: 47 00 00 08
Mon May 24 12:14:37 2021 kern.notice kernel: [ 1378.415854] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Mon May 24 12:14:37 2021 kern.info kernel: [ 1378.501523]  sda: sda1 sda2
Mon May 24 12:14:37 2021 kern.notice kernel: [ 1378.507545] sd 0:0:0:0: [sda] Attached SCSI disk
Mon May 24 12:14:41 2021 daemon.notice ntfs-3g[3793]: Version 2017.3.23 integrated FUSE 27
Mon May 24 12:14:41 2021 daemon.notice ntfs-3g[3793]: Mounted /dev/sda2 (Read-Write, label "Media2", NTFS 3.1)
Mon May 24 12:14:41 2021 daemon.notice ntfs-3g[3793]: Cmdline options:
Mon May 24 12:14:41 2021 daemon.notice ntfs-3g[3793]: Mount options: allow_other,nonempty,relatime,fsname=/dev/sda2,blkdev,blksize=4096
Mon May 24 12:14:41 2021 daemon.notice ntfs-3g[3793]: Ownership and permissions disabled, configuration type 1

Newifi-D2 router used: