007revad / Synology_M2_volume

Easily create an M.2 volume on Synology NAS
MIT License
810 stars 56 forks source link

Can't create raid0 when 6 nvme are populated #86

Closed jdpdata closed 11 months ago

jdpdata commented 11 months ago

My motherboard (Lenovo P520 WorkStation) can take 2 nvme on board, plus I have AIC (Asus HyperX M.2 Gen 4 in PCIe slot 2 for burification x4x4x4x4) that takes another 4 nvme. When all 6 are populated I cannot select all 4 of the AIC nvme drives. It only allows me to select first two nvme on the AIC and the 2 nvme on the motherboard. If I remove 2 nvme on motherboard, then I can select all 4 nvme on AIC.

007revad commented 11 months ago

Does it show all 6 NVMe drives as choices, but gives an error when you select the 3rd a 4th NVMe drives on the AIC?

I've made a change to the script. Can you see if it works properly now:

https://github.com/007revad/Synology_M2_volume/blob/develop/syno_create_m2_volume.sh

jdpdata commented 11 months ago

Yes, exactly. It shows all 6 nvmes, but I can't select the last 2 nvme.Thanks, for the updated scripts. I'll test it out and will post screenshot to my posting.

On Sunday, September 10, 2023 at 04:38:39 PM PDT, Dave Russell ***@***.***> wrote:  

Does it show all 6 NVMe drives as choices, but gives an error when you select the 3rd a 4th NVMe drives on the AIC?

I've made a change to the script. Can you see if it works properly now:

https://github.com/007revad/Synology_M2_volume/blob/develop/syno_create_m2_volume.sh

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

jdpdata commented 11 months ago

image

jdpdata commented 11 months ago

ach, the dread resyncing...will report back when it's done in a couple hours.

image

007revad commented 11 months ago

That looks better.

jdpdata commented 11 months ago

all done. Reboot and I will build volume and r/w cache with the 2 extra nvme.

image

jdpdata commented 11 months ago

image

image

jdpdata commented 11 months ago

Done building my dream NAS. 10.5TB spinning rust for backup cold storage. Dual nvme R/W cache and super fast NVME volume for my database projects. Thank you Dave! You and Christian (ARC) made this possible.

007revad commented 11 months ago

I just discovered that DSM only supports up to 4 drives for RAID 1.

And JBOD, RAID 0, RAID 5, RAID 6, RAID F1, RAID 10, SHR all support an unlimited number of drives! :o)

There are limits for Synology models that support RAID groups... but the script doesn't create RAID Groups so I'll go with unlimited. https://kb.synology.com/en-in/DSM/tutorial/What_is_RAID_Group

jdpdata commented 11 months ago

My Lenovo P520 still has open PCIe slots. I can add 6 more nvme for a total of 12 nvme. This thing is a beast with 48 PCIe lanes for burification. It's an excellent pickup for $225 on eBay. Cheap way to go burification with AIC cards.

007revad commented 11 months ago

I can buy a P520 on ebay here for the equivalent of $257 USD with free postage. But I have no idea if the specs are any good? No idea what I should be looking for.

Lenovo P520 W-2123 4C/8T 3.6Ghz 16GB Ram 256GB NVMe 2TB HDD P1000 W10P

There are others available: https://www.ebay.com.au/sch/i.html?_from=R40&_nkw=Lenovo+P520

jdpdata commented 11 months ago

Mine is W-2145 8-core 16 threads 11MB cache. 32G ECC ram. No HDD No GPU for $225. Basically you want the fastest Xeon CPU you can afford. Most are 2133 which are lower end 6 core 12 threads. ECC ram get at least 32G I've seen some with 64G but don't worry you can always buy more ram. Buy barebones with CPU and RAM only. You save more money that way and can add your own storage and GPU.

Another Reddit user turned me on to this machine. What's great about it is the Xeon CPU has 48 PCIe lanes and the motherboard has a ton of PCIe slots., 2x PCIe x16 slot that you can use as burification x4x4x4x4. What that means is each x4 lane allow nvme to run at it's full potential. So with two x16 slots you can run 8 nvme (4 nvme each slot). x8 slot can run 2 more nvme and another 2 nvme on-board the motherboard, totaling max support of 12 nvme. This is a Gen3 board, so you'll only get Gen3 speed. but it's fast enough in a raid configuration in DSM so doesn't really matter it's not Gen4. This is server/workstation grade board. It's an incredible deal if you want to try burification. Most consumer boards don't have this much PCIe slot and Intel i7/i5 have very few PCIe lanes so you're limited.

jdpdata commented 11 months ago

Just for reference Xeon W-2145 will run $100 already on eBay. So for another ~$125 you get an awesome board and some ECC ram. Keep in mind Xeon CPU has no build-in iGPU, so you need to budget for a cheap GPU. I think DSM can boot headless after installation so you can remove the GPU afterwards. You can also game on this machine. It's very powerful but run silent. I love it so much I picked up two of them. Will build that other one as my workstation with more burification goodies. Looking to do 14,000 MB/s r/w in Windows. It's just insane speed for my large databases.

jdpdata commented 11 months ago

Note P520C is the lower end workstation. Get the P520 it supports up to 512GB ECC ram on 8 DIMM, 4 channels.

007revad commented 11 months ago

I found a cheap P520 W-2145 with no RAM, GPU, HDD or OS at http://pcserverandparts.com but they want $500 to ship to Australia!

jdpdata commented 11 months ago

Hey that's where I bought 2 of mine P520. They do a really good job refurbishing them. The outside case are scratch with use but inside it looks brand new. Shipping is going to be killer for you. See if you can find local seller. These workstations are all over eBay, very easy to find them. If you were local to me, heck I'd give you one to develop on. You do God's work with these scripts.