Hi all,
I have 4 x 2 TB drives connected to SATA HAT powered by 12V 5A 60W power adapter. Drives are seen correctly and I already configured a working RAID 5 array.
pi@nas-pi:~ $ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 1.8T 0 disk
└─sda1 8:1 0 1.8T 0 part
└─md0 9:0 0 5.5T 0 raid5 /media/raid
sdb 8:16 0 1.8T 0 disk
└─sdb1 8:17 0 1.8T 0 part
└─md0 9:0 0 5.5T 0 raid5 /media/raid
sdc 8:32 0 1.8T 0 disk
└─sdc1 8:33 0 1.8T 0 part
└─md0 9:0 0 5.5T 0 raid5 /media/raid
sdd 8:48 0 1.8T 0 disk
└─sdd1 8:49 0 1.8T 0 part
└─md0 9:0 0 5.5T 0 raid5 /media/raid
mmcblk0 179:0 0 59.6G 0 disk
├─mmcblk0p1 179:1 0 256M 0 part /boot
└─mmcblk0p2 179:2 0 59.4G 0 part /
I am getting slow write speeds (around 40-50 MB/s)
pi@nas-pi : ~ $ dd if=/dev/zero of=/media/raid/test-write bs=1M count=5120
5120+0 records in
5120+0 records out
5368709120 bytes (5.4 GB, 5.0 GiB) copied, 120.856 s, 44.4 MB/s
Reading some posts I was trying to disable UAS for the drives. I have 3 WD drives and 1 Seagate (this is a test will be updating drives to WD RED).
The problem is that lsusb only show two drives
pi@nas-pi : ~ $ lsusb
Bus 002 Device 002: ID 1058:0a10 Western Digital Technologies, Inc.
Bus 002 Device 003: ID 1058:0a10 Western Digital Technologies, Inc.
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Is there a way to find the unshown drives without need to disconnect and reconnect them? I need to find VendorIDs to disable UAS.
As already said drives are all working fine and RAID configured correctly.
pi@nas-pi : ~ $ cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4]
md0 : active raid5 sdd1[4] sdc1[2] sdb1[1] sda1[0]
5860048896 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU]
bitmap: 2/15 pages [8KB], 65536KB chunk
unused devices:
Thank you