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 wo...
Sandshark
Aug 22, 2020Sensei - Experienced User
The OS is treating the SSD like it's in another chassis. If it's on a different controller than the other drives, I can see it doing that. The OS will expand the OS (MD0, aka root) volume across drives in another chassis (such as an eSATA or SAS expansion), but it will not expand the swap partition except in the same chassis. That makes sense since the connection to the other chassis might be slow (like with eSATA). It does normally create that second partition, just not expand a volume into it. That allows you to move the volume to another NAS and it will boot.
Good to know the partition alignment doesn't seem to be an issue. Thanks for testing.
powellandy1
Aug 23, 2020Virtuoso
Interesting.
Just to note after a reboot (having added a 2nd HDD) the SSD became sdc (presumably as on a different controller).
I had to create the partition with sgdisk as mdadm failed:
sgdisk -n 3:0:0 -t 3:FD00 /dev/sdc
I also had to add --force to mdadm as it complained about a 1 disk array:
mdadm --create --verbose --force /dev/md126 --level=1 --raid-devices=1 --name=0a436c4c:M2SSD-0 /dev/sdc3
So I now have:
root@ReadyNAS528X:~# 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 511M 0 raid1 [SWAP]
└─sda3 8:3 0 1.8T 0 part
└─md127 9:127 0 1.8T 0 raid1 /data
sdb 8:16 0 1.8T 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 511M 0 raid1 [SWAP]
└─sdb3 8:19 0 1.8T 0 part
└─md127 9:127 0 1.8T 0 raid1 /data
sdc 8:32 0 111.8G 0 disk
├─sdc1 8:33 0 4G 0 part
│ └─md0 9:0 0 4G 0 raid1 /
├─sdc2 8:34 0 512M 0 part
└─sdc3 8:35 0 107.3G 0 part
└─md126 9:126 0 107.2G 0 raid1 /M2SSD
root@ReadyNAS528X:~# cat /proc/mdstat
Personalities : [raid0] [raid1] [raid10] [raid6] [raid5] [raid4]
md126 : active raid1 sdc3[0]
112433600 blocks super 1.2 [1/1] [U]
md127 : active raid1 sda3[0] sdb3[1]
1948664832 blocks super 1.2 [2/2] [UU]
md0 : active raid1 sda1[0](W) sdb1[2](W) sdc1[1]
4190208 blocks super 1.2 [3/3] [UUU]
md1 : active raid1 sda2[0] sdb2[1]
523264 blocks super 1.2 [2/2] [UU]
unused devices: <none>
root@ReadyNAS528X:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 10M 4.0K 10M 1% /dev
/dev/md0 4.0G 499M 3.2G 14% /
tmpfs 7.8G 0 7.8G 0% /dev/shm
tmpfs 7.8G 3.8M 7.8G 1% /run
tmpfs 3.9G 1.4M 3.9G 1% /run/lock
tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
/dev/md127 1.9T 20M 1.9T 1% /data
/dev/md127 1.9T 20M 1.9T 1% /apps
/dev/md127 1.9T 20M 1.9T 1% /home
/dev/md126 108G 17M 106G 1% /M2SSDBut it doesn't appear right in volume_util:
root@ReadyNAS528X:~# volume_util -s disk pool
==============================================
Disks
==============================================
Disk sda:
HostID: 0a436c4c
Flags: 0x2000
Size: 3907029168 (1863 GB)
Free: 14
Controller 0
Channel: 0
Model: ST2000DM001-1CH164
Serial: W1E24PDJ
Firmware: CC24
Class: SATA (3)
RPM: 7200
SMART data
Reallocated Sectors: 0
Reallocation Events: 0
Spin Retry Count: 0
End-to-End Errors: 0
Command Timeouts: 0
Current Pending Sector Count: 0
Uncorrectable Sector Count: 0
Temperature: 36
Start/Stop Count: 37750
Power-On Hours: 27013
Power Cycle Count: 5225
Load Cycle Count: 179002
Latest Self Test: Passed
Disk sdb:
HostID: 0a436c4c
Flags: 0x0
Size: 3907029168 (1863 GB)
Free: 14
Controller 0
Channel: 1
Model: ST2000DL003-9VT166
Serial: 5YD1JAWV
Firmware: CC32
Class: SATA (2)
RPM: 5900
SMART data
Reallocated Sectors: 0
Reallocation Events: 0
Spin Retry Count: 0
End-to-End Errors: 0
Command Timeouts: 236
Current Pending Sector Count: 0
Uncorrectable Sector Count: 0
Temperature: 36
Start/Stop Count: 2821
Power-On Hours: 22557
Power Cycle Count: 907
Load Cycle Count: 3062
Latest Self Test: Passed
==============================================
Pools
==============================================
Pool root:
Device: /dev/md0
Node: 9:0
HostID: 0a436c4c (native)
UUID: b13fb9d8-e61f-479a-9892-9d897d787e11
Mount point: /
Size: 3790720KB (3 GB)
Available: 3280104KB (3 GB)
RAID Level: 1
State: redundant
Action: idle
Flags: 0x68
Type: btrfs
Tier Flag: Disable
RAIDs:
md0
Size: 8380416
Level: 1
Action: idle
Members: 3
Type: 2
Flags: 0x28
Tier: 0
Data allocation: 0 GB
Metadata allocation: 0 MB
Unallocated: 0 GB
Disks:
sda:
HostID: 0a436c4c
Flags: 0x2000
Size: 3907029168 (1863 GB)
Free: 14
Controller 0
Channel: 0
Model: ST2000DM001-1CH164
Serial: W1E24PDJ
Firmware: CC24
Class: SATA (3)
RPM: 7200
SMART data
Reallocated Sectors: 0
Reallocation Events: 0
Spin Retry Count: 0
End-to-End Errors: 0
Command Timeouts: 0
Current Pending Sector Count: 0
Uncorrectable Sector Count: 0
Temperature: 36
Start/Stop Count: 37750
Power-On Hours: 27013
Power Cycle Count: 5225
Load Cycle Count: 179002
Latest Self Test: Passed
sdb:
HostID: 0a436c4c
Flags: 0x0
Size: 3907029168 (1863 GB)
Free: 14
Controller 0
Channel: 1
Model: ST2000DL003-9VT166
Serial: 5YD1JAWV
Firmware: CC32
Class: SATA (2)
RPM: 5900
SMART data
Reallocated Sectors: 0
Reallocation Events: 0
Spin Retry Count: 0
End-to-End Errors: 0
Command Timeouts: 236
Current Pending Sector Count: 0
Uncorrectable Sector Count: 0
Temperature: 36
Start/Stop Count: 2821
Power-On Hours: 22557
Power Cycle Count: 907
Load Cycle Count: 3062
Latest Self Test: Passed
Pool swap:
Device: /dev/md1
Node: 9:1
HostID: 0a436c4c (native)
UUID: d504d8ea-ef3f-4d5a-9257-151355384db5
Mount point: none
Size: 0KB (0 GB)
Available: 0KB (0 GB)
RAID Level: 1
State: redundant
Action: idle
Flags: 0x28
Type: swap
Tier Flag: Disable
RAIDs:
md1
Size: 1046528
Level: 1
Action: idle
Members: 2
Type: 2
Flags: 0x28
Tier: 0
Disks:
sda:
HostID: 0a436c4c
Flags: 0x2000
Size: 3907029168 (1863 GB)
Free: 14
Controller 0
Channel: 0
Model: ST2000DM001-1CH164
Serial: W1E24PDJ
Firmware: CC24
Class: SATA (3)
RPM: 7200
SMART data
Reallocated Sectors: 0
Reallocation Events: 0
Spin Retry Count: 0
End-to-End Errors: 0
Command Timeouts: 0
Current Pending Sector Count: 0
Uncorrectable Sector Count: 0
Temperature: 36
Start/Stop Count: 37750
Power-On Hours: 27013
Power Cycle Count: 5225
Load Cycle Count: 179002
Latest Self Test: Passed
sdb:
HostID: 0a436c4c
Flags: 0x0
Size: 3907029168 (1863 GB)
Free: 14
Controller 0
Channel: 1
Model: ST2000DL003-9VT166
Serial: 5YD1JAWV
Firmware: CC32
Class: SATA (2)
RPM: 5900
SMART data
Reallocated Sectors: 0
Reallocation Events: 0
Spin Retry Count: 0
End-to-End Errors: 0
Command Timeouts: 236
Current Pending Sector Count: 0
Uncorrectable Sector Count: 0
Temperature: 36
Start/Stop Count: 2821
Power-On Hours: 22557
Power Cycle Count: 907
Load Cycle Count: 3062
Latest Self Test: Passed
Pool data
Device: /dev/md127
Node: 9:127
HostID: 0a436c4c (native)
UUID: eb14a0f9-c989-49d4-ad8c-fe03826aa7fb
Mount point: /data
Size: 1946568512KB (1856 GB)
Available: 1946548464KB (1856 GB)
Snapshot: 17728KB (17 MB)
Data allocation: 0 GB
Data used: 1 MB (0 GB)
Metadata allocation: 1032 MB
Metadata used: 0 MB
Unallocated: 1856 GB
RAID Level: 1
State: redundant
Action: idle
Flags: 0x48
Type: btrfs
Tier Flag: Disable
RAIDs:
md127
Size: 3897329664
Level: 1
Action: idle
Members: 2
Type: 2
Flags: 0x8
Tier: 0
Data allocation: 0 GB
Metadata allocation: 2064 MB
Unallocated: 1856 GB
Disks:
sda:
HostID: 0a436c4c
Flags: 0x2000
Size: 3907029168 (1863 GB)
Free: 14
Controller 0
Channel: 0
Model: ST2000DM001-1CH164
Serial: W1E24PDJ
Firmware: CC24
Class: SATA (3)
RPM: 7200
SMART data
Reallocated Sectors: 0
Reallocation Events: 0
Spin Retry Count: 0
End-to-End Errors: 0
Command Timeouts: 0
Current Pending Sector Count: 0
Uncorrectable Sector Count: 0
Temperature: 36
Start/Stop Count: 37750
Power-On Hours: 27013
Power Cycle Count: 5225
Load Cycle Count: 179002
Latest Self Test: Passed
sdb:
HostID: 0a436c4c
Flags: 0x0
Size: 3907029168 (1863 GB)
Free: 14
Controller 0
Channel: 1
Model: ST2000DL003-9VT166
Serial: 5YD1JAWV
Firmware: CC32
Class: SATA (2)
RPM: 5900
SMART data
Reallocated Sectors: 0
Reallocation Events: 0
Spin Retry Count: 0
End-to-End Errors: 0
Command Timeouts: 236
Current Pending Sector Count: 0
Uncorrectable Sector Count: 0
Temperature: 36
Start/Stop Count: 2821
Power-On Hours: 22557
Power Cycle Count: 907
Load Cycle Count: 3062
Latest Self Test: Passed
Pool M2SSD:
Device:
Node: 0:0
HostID: 0a436c4c (native)
UUID: 00000000-0000-0000-0000-000000000000
Mount point: /M2SSD
Size: 0KB (0 GB)
Available: 0KB (0 GB)
Snapshot: 0KB (0 MB)
Data allocation: 0 GB
Data used: 0 MB (0 GB)
Metadata allocation: 0 MB
Metadata used: 0 MB
Unallocated: 0 GB
RAID Level: unknown
State: inactive
Action: idle
Flags: 0x0
Type: btrfs
Tier Flag: Disable
Disks:And whilst M2SSD appears in the GUI it's not right and you can't manipulate it. It seems that volume_util still isn't recognising.
Thanks
Andy
- SandsharkAug 23, 2020Sensei - Experienced User
I'm afraid I'm out of ideas.
- SandsharkFeb 19, 2021Sensei - Experienced User
powellandy1 wrote:So I now have:
root@ReadyNAS528X:~# 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 511M 0 raid1 [SWAP] └─sda3 8:3 0 1.8T 0 part └─md127 9:127 0 1.8T 0 raid1 /data sdb 8:16 0 1.8T 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 511M 0 raid1 [SWAP] └─sdb3 8:19 0 1.8T 0 part └─md127 9:127 0 1.8T 0 raid1 /data sdc 8:32 0 111.8G 0 disk ├─sdc1 8:33 0 4G 0 part │ └─md0 9:0 0 4G 0 raid1 / ├─sdc2 8:34 0 512M 0 part └─sdc3 8:35 0 107.3G 0 part └─md126 9:126 0 107.2G 0 raid1 /M2SSD
OK, so I checked my system, and I was mistaken about the swap partition. While it did create a partition for it on drives in my EDA500 on an RN516, though it didn't add them to the swap RAID, it has not done so on drives in my external SAS chassis. It does leave a space for it, though. So maybe try deleting the partition you created for swap.
root@RD5200A:/# lsblk sdu 65:64 0 232.9G 0 disk ├─sdu1 65:65 0 4G 0 part │ └─md0 9:0 0 4G 0 raid1 / └─sdu3 65:67 0 228.4G 0 part └─md126 9:126 0 456.5G 0 raid5 /SSD1 root@RD5200A:/# fdisk -l /dev/sds
Disk /dev/sds: 232.9 GiB, 250059350016 bytes, 488397168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disklabel type: gpt Disk identifier: 19434DD1-C91A-4FE4-9517-DCC9619A90EB Device Start End Sectors Size Type /dev/sds1 64 8388671 8388608 4G Linux RAID /dev/sds3 9437248 488397119 478959872 228.4G Linux RAID - spiperovFeb 19, 2021Guide
Strange...
There's a second discussion with the exact same title here:
(https://community.netgear.com/t5/New-ReadyNAS-Users-General/Add-SSD-drive-s-to-RN528X/m-p/1805740#M38176)but because it's from 2019 it must have been archived by NETGEAR because one cannot reply there anymore. Still, there is some quite useful info in it.
Just thought I should share this.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!