NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
powellandy1
Aug 21, 2020Virtuoso
Add SSD to RN528X
Hi
Following on from https://community.netgear.com/t5/New-ReadyNAS-Users-General/Add-SSD-drive-s-to-RN528X/td-p/1776859
I've just had a go at adding an M2 SSD to my new 528X. It seems have worked!!
I purchased a TS120GMTS420S from Amazon (£28.46). Installed it in the M2 slot on the back of the motherboard (convenient cut out although I had taken the MB out to add 16GB RAM as well). See pictures at end.
SSHing in you can see it's recognised as sdb. I currently only have 1 2TB scratch disk in for testing.
root@MediaMaster:~# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 1.8T 0 disk ├─sda1 8:1 0 4G 0 part │ └─md0 9:0 0 4G 0 raid1 / ├─sda2 8:2 0 512M 0 part │ └─md1 9:1 0 511.4M 0 raid1 [SWAP] └─sda3 8:3 0 1.8T 0 part └─md127 9:127 0 1.8T 0 raid1 /data sdb 8:16 0 111.8G 0 disk
So I then did the following. Please note I am in no way a linux expert and there is some guesswork here.... if I've done something wrong please tell me!! It does seem to work though!!
I hope this is helpful. Always grateful for feedback.
Andy
root@MediaMaster:~# sgdisk -p /dev/sda Disk /dev/sda: 3907029168 sectors, 1.8 TiB Model: ST2000DM001-1CH1 Sector size (logical/physical): 512/4096 bytes Disk identifier (GUID): ADF28647-D80F-4CCC-A198-687D3F12D704 Partition table holds up to 128 entries Main partition table begins at sector 2 and ends at sector 33 First usable sector is 34, last usable sector is 3907029134 Partitions will be aligned on 64-sector boundaries Total free space is 4093 sectors (2.0 MiB) Number Start (sector) End (sector) Size Code Name 1 64 8388671 4.0 GiB FD00 2 8388672 9437247 512.0 MiB FD00 3 9437248 3907025071 1.8 TiB FD00 root@MediaMaster:~# sgdisk -a 64 -n 1:64:8388671 -t 1:FD00 /dev/sdb Creating new GPT entries in memory. The operation has completed successfully. root@MediaMaster:~# sgdisk -a 64 -n 2:8388672:9437247 -t 2:FD00 /dev/sdb The operation has completed successfully. root@MediaMaster:~# sgdisk -p /dev/sdb Disk /dev/sdb: 234441648 sectors, 111.8 GiB Model: TS120GMTS420S Sector size (logical/physical): 512/512 bytes Disk identifier (GUID): D67DA5F5-04E3-43CB-A67E-76F2F5B281F4 Partition table holds up to 128 entries Main partition table begins at sector 2 and ends at sector 33 First usable sector is 34, last usable sector is 234441614 Partitions will be aligned on 64-sector boundaries Total free space is 225004397 sectors (107.3 GiB) Number Start (sector) End (sector) Size Code Name 1 64 8388671 4.0 GiB FD00 2 8388672 9437247 512.0 MiB FD00 root@MediaMaster:~# cat /proc/mdstat Personalities : [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] md127 : active raid1 sda3[0] 1948662784 blocks super 1.2 [1/1] [U] md1 : active raid1 sda2[0] 523712 blocks super 1.2 [1/1] [U] md0 : active raid1 sda1[0] 4190208 blocks super 1.2 [1/1] [U] unused devices: <none> root@MediaMaster:~# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 1.8T 0 disk ├─sda1 8:1 0 4G 0 part │ └─md0 9:0 0 4G 0 raid1 / ├─sda2 8:2 0 512M 0 part │ └─md1 9:1 0 511.4M 0 raid1 [SWAP] └─sda3 8:3 0 1.8T 0 part └─md127 9:127 0 1.8T 0 raid1 /data sdb 8:16 0 111.8G 0 disk ├─sdb1 8:17 0 4G 0 part └─sdb2 8:18 0 512M 0 part root@MediaMaster:~# mdadm --manage /dev/md0 --add /dev/sdb1 mdadm: added /dev/sdb1 root@MediaMaster:~# mdadm --manage /dev/md1 --add /dev/sdb2 mdadm: added /dev/sdb2 root@MediaMaster:~# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 1.8T 0 disk ├─sda1 8:1 0 4G 0 part │ └─md0 9:0 0 4G 0 raid1 / ├─sda2 8:2 0 512M 0 part │ └─md1 9:1 0 511.4M 0 raid1 [SWAP] └─sda3 8:3 0 1.8T 0 part └─md127 9:127 0 1.8T 0 raid1 /data sdb 8:16 0 111.8G 0 disk ├─sdb1 8:17 0 4G 0 part │ └─md0 9:0 0 4G 0 raid1 / └─sdb2 8:18 0 512M 0 part └─md1 9:1 0 511.4M 0 raid1 [SWAP] root@MediaMaster:~# cat /proc/mdstat Personalities : [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] md127 : active raid1 sda3[0] 1948662784 blocks super 1.2 [1/1] [U] md1 : active raid1 sdb2[1](S) sda2[0] 523712 blocks super 1.2 [1/1] [U] md0 : active raid1 sdb1[1](S) sda1[0] 4190208 blocks super 1.2 [1/1] [U] unused devices: <none> root@MediaMaster:~# mdadm --grow /dev/md0 --raid-devices=2 raid_disks for /dev/md0 set to 2 root@MediaMaster:~# mdadm --grow /dev/md1 --raid-devices=2 raid_disks for /dev/md1 set to 2 root@MediaMaster:~# cat /proc/mdstat Personalities : [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] md127 : active raid1 sda3[0] 1948662784 blocks super 1.2 [1/1] [U] md1 : active raid1 sdb2[1] sda2[0] 523712 blocks super 1.2 [2/1] [U_] [===>.................] recovery = 17.2% (90112/523712) finish=0.2min speed=30037K/sec md0 : active raid1 sdb1[1] sda1[0] 4190208 blocks super 1.2 [2/1] [U_] [==>..................] recovery = 14.3% (600512/4190208) finish=0.5min speed=100085K/sec unused devices: <none> root@MediaMaster:~# cat /proc/mdstat Personalities : [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] md127 : active raid1 sda3[0] 1948662784 blocks super 1.2 [1/1] [U] md1 : active raid1 sdb2[1] sda2[0] 523712 blocks super 1.2 [2/2] [UU] md0 : active raid1 sdb1[1] sda1[0] 4190208 blocks super 1.2 [2/2] [UU] unused devices: <none> root@MediaMaster:~# echo writemostly > /sys/block/md0/md/dev-sda1/state root@MediaMaster:~# echo writemostly > /sys/block/md1/md/dev-sda2/state root@MediaMaster:~# cat /proc/mdstat Personalities : [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] md127 : active raid1 sda3[0] 1948662784 blocks super 1.2 [1/1] [U] md1 : active raid1 sdb2[1] sda2[0](W) 523712 blocks super 1.2 [2/2] [UU] md0 : active raid1 sdb1[1] sda1[0](W) 4190208 blocks super 1.2 [2/2] [UU] unused devices: <none>
19 Replies
- powellandy1Virtuoso
I guess one question I have would be:
Ideally an SSD should be partitioned on 2048 sector boundry and this was the sgdisk default. I overrode it to 64 sectors to mirror the original partitions exactly. Is this necessary?? Or as long as they are the same size in sectors does thte starting sector matter??
- SandsharkSensei
When creating volumes on a drive that the GUI cannot see, it is best to use the Netgear utility volume_util (aka rnutil volume_util), not do everything manually. volume_util --help will point you in the right direction. Once the volume is created, the GUI should see it, and everything else can be done from there.
Note that this is for devices the GUI is not designed to see, such as the M2 SSD here or a drive in a non-Netgear external SAS chassis (on compatible rack mount systems), not for a drive that simply fails to show up when it should.
- powellandy1Virtuoso
Thanks.
I'll factory reset, clear the SSD and have a play.
- spiperovGuide
Thank you for the nice photos of the RN528X motherboard!
I see now how it differs from the 6-bay RN526X - the PCI-style connectors for the HDD backplane are longer, allowing for more SATA lanes.
I'm still curious though, what controller is used for the 2 extra disks? The D-1508 has only 6 built-in SATA channels. And the extra Marvel 88SE9170 chip on the motherboard (at least that's what my RN526X has) provides only 2 extra SATA channels - one for the M.2 and one for the eSATA connector on the back.Is it possible that the 8-disk RN528X has a different Marvel chip? Can you post the output of
lspci|grep SATA
Also, it might be instructive to see the output of `lsscsi`. Here's for example mine, with 5 bays occupied with 4TB WDs, an M.2 SSD in the slot on the back, and an external Seagate USB-enclosure:
root@RN526X:~# lsscsi [0:0:0:0] disk ATA WDC WD4000FYYZ-0 1K03 /dev/sda [1:0:0:0] disk ATA WDC WD4000FYYZ-0 1K03 /dev/sdb [2:0:0:0] disk ATA WDC WD4000FYYZ-0 1K03 /dev/sdc [3:0:0:0] disk ATA WDC WD4000FYYZ-0 1K03 /dev/sdd [4:0:0:0] disk ATA WDC WD4000FYYZ-0 1K03 /dev/sde [10:0:0:0] disk ATA TS128GMTS400SE2 5L5 /dev/sdf [13:0:0:0] disk Seagate Backup+ Hub BK D781 /dev/sdg
- powellandy1Virtuoso
Hi
root@MediaMaster:~# lspci|grep SATA 00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05) 05:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 02) 06:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 02) 09:00.0 SATA controller: Marvell Technology Group Ltd. Device 9170 (rev 13)
and
root@MediaMaster:~# lsscsi [0:0:0:0] disk ATA WDC WD140EMFZ-11 0A81 /dev/sda [1:0:0:0] disk ATA WDC WD140EMFZ-11 0A81 /dev/sdb [2:0:0:0] disk ATA WDC WD140EMFZ-11 0A81 /dev/sdc [3:0:0:0] disk ATA WDC WD140EMFZ-11 0A81 /dev/sdd [4:0:0:0] disk ATA WDC WD140EDFZ-11 0A81 /dev/sde [5:0:0:0] disk ATA WDC WD140EDFZ-11 0A81 /dev/sdf [6:0:0:0] disk ATA WDC WD140EMFZ-11 0A81 /dev/sdg [10:0:0:0] disk ATA TS120GMTS420S 9A0 /dev/sdh
Cheers
A
- spiperovGuide
Hmmm... This is interesting - from your lsscsi output one might conclude that you have 7 disks connected to the 6-channel SATA controller that's built into the D-1508 CPU. Which - if true - implies the presense of a SATA switch (on the HDD backplane?).
Maybe if you also post the output of 'ls -al /sys/block/sd*' ?
Here's my output for reference:root@RN526X:/data/tmp# ls -al /sys/block/sd* lrwxrwxrwx 1 root root 0 Jan 13 02:05 /sys/block/sda -> ../devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda lrwxrwxrwx 1 root root 0 Jan 13 02:05 /sys/block/sdb -> ../devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0/block/sdb lrwxrwxrwx 1 root root 0 Jan 13 02:05 /sys/block/sdc -> ../devices/pci0000:00/0000:00:1f.2/ata3/host2/target2:0:0/2:0:0:0/block/sdc lrwxrwxrwx 1 root root 0 Jan 13 02:05 /sys/block/sdd -> ../devices/pci0000:00/0000:00:1f.2/ata4/host3/target3:0:0/3:0:0:0/block/sdd lrwxrwxrwx 1 root root 0 Jan 13 02:07 /sys/block/sde -> ../devices/pci0000:00/0000:00:1f.2/ata5/host4/target4:0:0/4:0:0:0/block/sde lrwxrwxrwx 1 root root 0 Jan 13 02:07 /sys/block/sdf -> ../devices/pci0000:00/0000:00:1c.0/0000:05:00.0/ata11/host10/target10:0:0/10:0:0:0/block/sdf lrwxrwxrwx 1 root root 0 Jan 31 14:18 /sys/block/sdg -> ../devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2.1/3-2.1:1.0/host13/target13:0:0/13:0:0:0/block/sdg
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!