개소리 왈왈/컴퓨터2015. 3. 28. 09:26

사용중인 녀석은

3BON-S35S 로 2TB를 꽂아서 쓰던 건데

[링크 : http://prod.danawa.com/info/?pcode=980046&]


여기다가 4TB를 꽂으니 인식이 안되서

칩셋을 찾아더니 JMicron JM23309를 사용한 칩셋이다.

데이터 시트 상으로는 LBA48을 지원해서 이론상으로는 128PiB 까지 인식이 되어야 하는 건데..

[링크 : http://en.wikipedia.org/wiki/Logical_block_addressing]

[링크 : http://www.chinaeds.com/zl/2007102620325297882.pdfjm20339



아무튼 로그 상으로는 SATA to USB 컨트롤러를 그치면

4TB 짜리 WD 디스크가 1.8TB로 인식을 해버리고 디스크 정보라던가 마운트를 시도하면

알수없는 file system이라면서 인식을 하지 않는다.

[  705.076085] usb 1-6: new high-speed USB device number 3 using ehci-pci

[  705.208918] usb 1-6: New USB device found, idVendor=152d, idProduct=2339

[  705.208931] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=5

[  705.208938] usb 1-6: Product: USB to ATA/ATAPI Bridge

[  705.208943] usb 1-6: Manufacturer: JMicron

[  705.208948] usb 1-6: SerialNumber: 1E34FFFFFFFF

[  705.283199] usb-storage 1-6:1.0: USB Mass Storage device detected

[  705.283484] scsi8 : usb-storage 1-6:1.0

[  705.283768] usbcore: registered new interface driver usb-storage

[  705.313829] usbcore: registered new interface driver uas


[    2.990457] scsi 6:0:0:0: Direct-Access     WDC WD40EZRX-00SPEB0          PQ: 0 ANSI: 2 CCS

[    2.991789] sd 6:0:0:0: Attached scsi generic sg1 type 0

[    2.992179] sd 6:0:0:0: [sdb] 3519069872 512-byte logical blocks: (1.80 TB/1.63 TiB)

[    2.993272] sd 6:0:0:0: [sdb] Write Protect is off

[    2.993281] sd 6:0:0:0: [sdb] Mode Sense: 00 38 00 00

[    2.994269] sd 6:0:0:0: [sdb] Asking for cache data failed

[    2.994278] sd 6:0:0:0: [sdb] Assuming drive cache: write through

[    3.031761]  sdb: unknown partition table

[    3.035276] sd 6:0:0:0: [sdb] Attached SCSI disk 


$ sudo fdisk -l


Disk /dev/sda: 320.1 GB, 320072933376 bytes

255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x000ac755


   Device Boot      Start         End      Blocks   Id  System

/dev/sda1   *        2048   621012991   310505472   83  Linux

/dev/sda2       621015038   625141759     2063361    5  Extended

/dev/sda5       621015040   625141759     2063360   82  Linux swap / Solaris


WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.



Disk /dev/sdb: 1801.8 GB, 1801763774464 bytes

256 heads, 63 sectors/track, 218196 cylinders, total 3519069872 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x00000000


   Device Boot      Start         End      Blocks   Id  System

/dev/sdb1               1  4294967295  2147483647+  ee  GPT 


$ sudo parted /dev/sda print

Model: ATA WDC WD3200BEVT-0 (scsi)

Disk /dev/sda: 320GB

Sector size (logical/physical): 512B/512B

Partition Table: msdos


Number  Start   End    Size    Type      File system     Flags

 1      1049kB  318GB  318GB   primary   ext4            boot

 2      318GB   320GB  2113MB  extended

 5      318GB   320GB  2113MB  logical   linux-swap(v1)


$ sudo parted /dev/sdb print

Error: 부적절한 인수 during seek for read on /dev/sdb 


혹시나 하는 마음에 SATA 케이블을 이용 로컬에 바로 붙여서 부팅을 해보니

용량을 제대로 인식한다 -_-

[    2.466401] scsi 3:0:0:0: Direct-Access     ATA      WDC WD40EZRX-00S 0A80 PQ: 0 ANSI: 5

[    2.466705] sd 3:0:0:0: [sdb] 7814037168 512-byte logical blocks: (4.00 TB/3.63 TiB)

[    2.466709] sd 3:0:0:0: [sdb] 4096-byte physical blocks

[    2.466723] sd 3:0:0:0: Attached scsi generic sg1 type 0

[    2.466764] sd 3:0:0:0: [sdb] Write Protect is off

[    2.466767] sd 3:0:0:0: [sdb] Mode Sense: 00 3a 00 00

[    2.466792] sd 3:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA

[    2.560959]  sdb: sdb1 sdb2

[    2.561389] sd 3:0:0:0: [sdb] Attached SCSI disk 



아무튼.. 원래 사용하던 2TB 하드는 정상적으로 인식을 하는데

윈도우에서는 4TB를 쓸 수 있었던 것을 봐서는 리눅스에 내장된(Ubuntu 14.04 LTS / 32bit desktop edition)

드라이버의 문제로 보여진다.

[  705.076085] usb 1-6: new high-speed USB device number 3 using ehci-pci

[  705.208918] usb 1-6: New USB device found, idVendor=152d, idProduct=2339

[  705.208931] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=5

[  705.208938] usb 1-6: Product: USB to ATA/ATAPI Bridge

[  705.208943] usb 1-6: Manufacturer: JMicron

[  705.208948] usb 1-6: SerialNumber: 1E34FFFFFFFF

[  705.283199] usb-storage 1-6:1.0: USB Mass Storage device detected

[  705.283484] scsi8 : usb-storage 1-6:1.0

[  705.283768] usbcore: registered new interface driver usb-storage

[  705.313829] usbcore: registered new interface driver uas

[  706.280751] scsi 8:0:0:0: Direct-Access     ST2000DM 001-1CH164            PQ: 0 ANSI: 2 CCS

[  706.281609] sd 8:0:0:0: Attached scsi generic sg2 type 0

[  706.289238] sd 8:0:0:0: [sdc] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)

[  706.289961] sd 8:0:0:0: [sdc] Write Protect is off

[  706.289971] sd 8:0:0:0: [sdc] Mode Sense: 00 38 00 00

[  706.290594] sd 8:0:0:0: [sdc] Asking for cache data failed

[  706.290604] sd 8:0:0:0: [sdc] Assuming drive cache: write through

[  706.322024]  sdc: sdc1

[  706.325373] sd 8:0:0:0: [sdc] Attached SCSI disk 



결론 : 엌 괜히 NAS 질렀나?


+ askubuntu에 던져는 놨는데 어떻게 대응되려나?

[링크 : http://askubuntu.com/questions/602327/jmicron-jm20339-usb-sata-controller-problem]

'개소리 왈왈 > 컴퓨터' 카테고리의 다른 글

시리얼 / 패러럴 핀 헤더 확장  (0) 2015.04.03
시리얼 / 패러럴 백패널 확장  (0) 2015.04.01
NAS가 필요 하려나..  (0) 2015.03.27
하드 도착!  (0) 2015.03.25
ASUS Express Gate ?  (0) 2015.03.19
Posted by 구차니