Use any M2 NVMe SSD as Storage Volume on Synology NAS

Поделиться
HTML-код
  • Опубликовано: 18 июл 2023
  • n this video, I will show you how to set up any brand M.2 NVMe you already have installed in your Synology NAS as a Storage Pool. Now you can benefit from the performance and low latency of those fast NVMe SSDs and leverage it for Virtual Machine storage for example. All the steps in this video are done with a script for the user 007revad on GitHub, so many thanks for automating that process.
    Resources:
    - github.com/007revad/Synology_...
    - kb.synology.com/en-global/DSM...
    - www.synology.com/en-global/co...

Комментарии • 73

  • @daverussell457
    @daverussell457 9 месяцев назад +66

    Nice video. I am the author of those scripts, and many more Synology scripts.
    I added the "You are brave! :)" in the original beta version of the script and decided to leave it there. Even though the script has been downloaded thousands of times you are the first person to mention the "You are brave! :)" message.

    • @James_2022
      @James_2022 8 месяцев назад +4

      Hi dave,
      Thank you for the script. It worked beautifully. I have a question.
      I have the NVMe storage pool set up as a RAID1, what is the process of replacing 1 of the NVMe SSDs? Would it be:
      1. Shut down the Synology
      2. Remove and Replace the broken NVMe SSD with equal or larger NVMe.
      3. Power on the Synology
      4. ssh in and run the "Synology_HHD_db" (I assume this needs to be done?)
      5. Sit back and let the RAID1 mirror rebuild happen
      Any thoughts?

    • @vikash-tech-wizard
      @vikash-tech-wizard  8 месяцев назад +2

      Thank you for the script! Nice work 👍🏽

    • @sgress960
      @sgress960 8 месяцев назад +1

      Thank you

    • @marijaperkovic194
      @marijaperkovic194 3 месяца назад +1

      Great work !!
      SSD cashing is still working normally....., for the HDD disks or it's main purpose now is only SSD storage pool ?
      My idea is to use it like this (I have 2x500GB crucial 5P+):
      1 storage pool
      --> Volume 1 (250GB) used for SSD caching and
      --> Volume 2 (250GB) used for VM's and storage purposes
      How to do both SSD volume and SSD cache?
      Thanks in advance... for any advice or guidelines...

    • @daverussell457
      @daverussell457 3 месяца назад +1

      @@marijaperkovic194 In DSM a SSD drive can either be used for a cache or a volume, but not both at the same time. In your case I'd use one 500GB NVMe as a read-only cache and the other as volume. And add more memory if you can. Memory is faster than SSDs and works great for caching if you have enough memory.

  • @dennisvanmierlo
    @dennisvanmierlo 10 часов назад

    Hi Vikash,
    I have two Samsung 2TB 990 SSD in my DS1520+. One is configured as a Basic secondary volume for my VM's and the other one is configured as a read-only cache for my main hard disk storage pool.
    I run a 4GB RAM Linux Mint VM with xrdp installed that I access via Microsoft Remote Desktop from my Mac an iPad. It works really well.
    One thing to add on the VM is to install the VM tools QEMU Guest Agent.
    Lot’s of greetings, Dennis 🇳🇱

  • @russheritage
    @russheritage 7 месяцев назад +1

    This works perfectly. Thanks for the detailed explanation!

  • @elodiecemoi3057
    @elodiecemoi3057 9 месяцев назад +4

    Excellent video, cristal clear and detailed enough, althouth I suppose that the 1st script to execute is the one that updates the HDD database (?).
    Congratulations !
    I currently look what 2TB NVMe drives I will buy in the coming days, in order to install VM on them.
    I would also like to thank very much the author of these scripts !

  • @VyletnikDejv
    @VyletnikDejv 9 месяцев назад +1

    Hi, thank you so much for this video! It works well :)

  • @SamAdamsx
    @SamAdamsx 10 месяцев назад +1

    thanks. This was exactly what I wanted to do.

  • @gruicorp
    @gruicorp 5 месяцев назад +1

    Wonderfull, thank so much

  • @nguyencodervn
    @nguyencodervn 2 месяца назад +1

    You are welcome. Work for me.

  • @johndoughto
    @johndoughto 10 месяцев назад +1

    Thanks!!!!

  • @DaveChurchill
    @DaveChurchill 2 месяца назад +1

    Note: You *CAN* use 3rd party drives, there is a dropdown menu on the compatibility list that shows a bunch of popular 3rd party drives, however your 980 is missing. The 970 series is supported for example. Make sure to check if yours is supported before using the script

  • @chadnavarro5507
    @chadnavarro5507 5 месяцев назад +1

    not sure if this will help anyone buy i had to manual update to dsm 7.2.1 before it would work with putty then everything worked thanks for the video really help

  • @oldskewl4life
    @oldskewl4life Месяц назад

    Very nice script but there will be a time in the future when Synology realized that having a local compatibility database is kinda easy to exploit and at that point the created volume might be not usable anymore (at least from within DSM).

  • @alainpean1119
    @alainpean1119 6 месяцев назад +1

    Hi Vikash, thanks for this very clear and detailed tutorial. I my self had bought two SSD M2 Western Digital Red, and I thought they were supported by Synology. But I found it was not the case, I am in the same situation as you were, where the two M2 rives are recognized and healthy, but you cannot create a storage on them.

    • @alainpean1119
      @alainpean1119 6 месяцев назад +1

      And also Thanks to Dave Russel to have created them !

    • @vikash-tech-wizard
      @vikash-tech-wizard  6 месяцев назад

      Indeed that is not possible from the gui and you have to use the command line 👍🏽

  • @okanerdem
    @okanerdem 11 месяцев назад

    Thanks for great video. Just a small question, If I want to restore to factory settings, will this completely revert to the previous process? For example i wanted to came back the old situation, factory reset will do it? Maybe it can be needed if your device has been broken and if you want to sent this warranty.

    • @vikash-tech-wizard
      @vikash-tech-wizard  11 месяцев назад +2

      Just delete the volume and pool and you will be able to add the nvme as cache drive again from the storage manager.

    • @okanerdem
      @okanerdem 11 месяцев назад

      @@vikash-tech-wizardWhen I do this it will revert to the original as if I had never run these commands. I mean So there will be no permanent traces e on the nas device am i right? I'm asking this because when I want to give up after entering these commands, I don't want to make any permanent changes to my nas device

    • @johndoughto
      @johndoughto 10 месяцев назад

      almost nothing is permanent when you do a factory reset - esp if you wipe and remove the pools like Vikash states...

    • @okanerdem
      @okanerdem 10 месяцев назад

      Tnx for the information my friend@@johndoughto

    • @vikash-tech-wizard
      @vikash-tech-wizard  10 месяцев назад +2

      A factory reset will reset the DMS settings and apps. Any data on drives in your NAS, you will have to purge that separately.

  • @BaldAndBearded
    @BaldAndBearded 9 месяцев назад +1

    Is this capable of pcie 4.0 or is it only using 3.0 speeds?

    • @elodiecemoi3057
      @elodiecemoi3057 9 месяцев назад

      I am not an expert of the ssh scripts, but PCIe 3.0 or PCIe 4.0 are related to Hardware standards (hardware communication between the PCIe bus and the rest of the motherboard), they are not related to the content of the ssh scripts.
      So I believe that the script should work with both (and would probably work with PCIe 5.0 in the future if applicable...).

    • @vikash-tech-wizard
      @vikash-tech-wizard  8 месяцев назад

      If you Synology has that hardware spec it will. Check the tech specs on the Synology website.

  • @bmhits5162
    @bmhits5162 10 месяцев назад +2

    Hi, Could you do a video for user who is not familiar with ssh ? like a step by step ( more details in ssh into synology nas ). Thanks

    • @vikash-tech-wizard
      @vikash-tech-wizard  10 месяцев назад +2

      Sure! I will keep that in mind.

    • @bmhits5162
      @bmhits5162 9 месяцев назад +2

      Please do help , i guess there is a bunch of us who is not pc savvy to do that. eg: on how to ssh into synology nas, to install or put in the code by 007revad, simply explain the file system on synology .. etc. Thank you Mr Vikash @@vikash-tech-wizard

  • @marekpietrzyk8863
    @marekpietrzyk8863 10 месяцев назад +1

    Hi, I have ds720+ thanks for this video is it possible to install system on the NVME? because before I install system I'm not able to log in via ssh and upload files etc etc? My goal was to install DSM on NVME and as second storage have 3.5 hdd drive .
    Thanks in advance for your answer

    • @vikash-tech-wizard
      @vikash-tech-wizard  9 месяцев назад

      As far as I know that is not possible.

    • @elodiecemoi3057
      @elodiecemoi3057 9 месяцев назад

      @@vikash-tech-wizard Impossible for DSM, but probably possible for a VM running within VMM ?

    • @vikash-tech-wizard
      @vikash-tech-wizard  8 месяцев назад

      @@elodiecemoi3057 sure, as long as you enable that nvme pool you created for use with VMM as a storage place for vms

  • @boostnet_it_solutions
    @boostnet_it_solutions Месяц назад

    Good Job! That stupid limits of synology ram or pool not on nvme, makes some people to get xpenology rather than buy official nas.

  • @rafet.k8996
    @rafet.k8996 9 месяцев назад +1

    how to add the newly detected NVME to existing volume ? does that possible ?

    • @daverussell457
      @daverussell457 9 месяцев назад +1

      DSM won't let you mix different drive types in the same storage pool.

  • @marijaperkovic194
    @marijaperkovic194 3 месяца назад

    SSD cashing is still working normally.. for the HDD disks or it's main purpose now is only SSD storage pool ?
    My idea is to use it like this (I have 2x500GB crucial 5P+):
    1 storage pool
    --> Volume 1 (250GB) used for SSD caching and
    --> Volume 2 (250GB) used for VM's and storage purposes
    How to do both ?
    Thanks in advance...

    • @vikash-tech-wizard
      @vikash-tech-wizard  2 месяца назад +1

      I’m sure you could do that but you need to have some linux skills to achieve it

  • @elvirhusic8482
    @elvirhusic8482 9 месяцев назад

    Hi, Where do I need to copy script? I have DS923+ with SHR and 4 hdd on Volume1.
    Also, I have only one m.2 256GB and I whould like just to make a pool for begining.
    Thanks

    • @elvirhusic8482
      @elvirhusic8482 9 месяцев назад

      I put it on diferente places on my drive but in Putty nothing happed. It says "syno _create_volume1: command not find"

    • @vikash-tech-wizard
      @vikash-tech-wizard  9 месяцев назад

      You have to run the script from the directory you’ve uploaded it

    • @SladjanVujicic
      @SladjanVujicic 8 месяцев назад

      Hey Vikahs. Is there a tutorial on how to run SSH from NAS. I have no clue how to even start to get to the point where you started coding. Thanks! @@vikash-tech-wizard

  • @marcogiuba
    @marcogiuba 6 месяцев назад

    Is it compatible with ds3615xs and DSM 6 (xpe)? thx

  • @aov_james
    @aov_james 8 месяцев назад

    Hi Vikash for sharing this video. I'm stuck at 7:23 I got putty.exe and logged into NAS. I'm bit confused how to run script I'm getting no such file or directory error message. Do I have to modify script directory or something? Thank you

    • @vikash-tech-wizard
      @vikash-tech-wizard  7 месяцев назад

      You have to fill in the correct path where you placed the script on your syno

    • @aov_james
      @aov_james 7 месяцев назад

      @@vikash-tech-wizard thanks one more clarification! So where do you place .sh file at to be exact?

    • @tonizombie
      @tonizombie 6 месяцев назад

      @@aov_james I put mine in "NasIp/homes/MyUsername" So when i ssh into the nas with my account its usable right away with "sudo ./syno_create_m2_volume"

    • @AngelRodriguez-fe2jd
      @AngelRodriguez-fe2jd 12 дней назад

      @@aov_james Having the same issue. Directory or file not found. I've tried to the file everywhere, but no luck. No one here can seem to tell me where the script is supposed to be placed. I tried putty and Powershell. Same results.

  • @gruicorp
    @gruicorp 5 месяцев назад

    Is it possible to use a M.2 NVMe, and have two partition, one for Storage pool, the other for cache SSD ? Thx

    • @vikash-tech-wizard
      @vikash-tech-wizard  5 месяцев назад +1

      It is linux so with the right linux skills, sure. However, what problem will this solve for you and is there an easier way? No need to make things complicated I would say. But yeah, this is technically possible.

    • @gruicorp
      @gruicorp 5 месяцев назад

      Thx for your reply @@vikash-tech-wizard
      I have a 423+ and 2 slots for NVME with 2x1To. I want to have R&W cache SSD, and also another partition (200Go for exemple) for Virtual Machine on SSD.

    • @vikash-tech-wizard
      @vikash-tech-wizard  5 месяцев назад +1

      Goodluck. Keep in mind that there is no official support for any of that. Make sure you know what you are doing and always have backups

    • @marijaperkovic194
      @marijaperkovic194 3 месяца назад

      @@gruicorp I want to do exactly the same.. Were U successful on this matter ?

  • @BigDash-ds7zg
    @BigDash-ds7zg 6 месяцев назад +1

    Hi Vikash - followed steps and after saying yes to creating array process started - after 3 hours we were at 82% (2x2tb on Raid1). But then shortly after i was disconnected with "client_loop: send disconnect: Broken pipe2.0% % " I thought perhaps I was timed out - and maybe its going again as when I retried the script I received this message below:
    Synology_M2_volume v1.3.16
    DS1821+ DSM 7.2.1-69057-3
    Using options:
    Type yes to continue. Type anything else to do a dry run test.
    yes
    NVMe M.2 nvme0n1 is Samsung SSD 990 PRO 2TB
    Skipping drive as it is being used by DSM
    NVMe M.2 nvme1n1 is Samsung SSD 990 PRO 2TB
    Skipping drive as it is being used by DSM
    Unused M.2 drives found: 0
    What happened? What should I do ? Wait or reformat NVMEs?

    • @vikash-tech-wizard
      @vikash-tech-wizard  6 месяцев назад +1

      I would suggest to add the drives as a cache drive, DSM will format them and then follow the steps again to set them up as a storage volume. Otherwise use linux skills to completely erase the nvme drives from the command prompt and they should be available in DSM again to set them up as cache drive. Take it from there.

    • @BigDash-ds7zg
      @BigDash-ds7zg 6 месяцев назад +1

      Thank you that worked! You are awesome!@@vikash-tech-wizard

  • @glkoop
    @glkoop 6 месяцев назад

    is there max size for m.2 on ds923+

    • @vikash-tech-wizard
      @vikash-tech-wizard  6 месяцев назад

      Not that I know of. Check the tech docs of your Synology.

  • @gruicorp
    @gruicorp 3 месяца назад

    Another question, does it exist another tutorial to use cache SSD for external devices ?

    • @vikash-tech-wizard
      @vikash-tech-wizard  3 месяца назад +1

      Not that I know and would not recommend external cache devices,

  • @TheGoProHD1080p1
    @TheGoProHD1080p1 9 месяцев назад

    My nvme always looses connection and i have to put it outside and back in and it works until the next reboot. Anyone got the same problem?

    • @vikash-tech-wizard
      @vikash-tech-wizard  8 месяцев назад

      This can happen with unsopprted NVMes. If you have an supported one from Synology, get in touch with support.

    • @lenanaH
      @lenanaH Месяц назад

      what brand of drive do you use?

  • @MrKillerno1
    @MrKillerno1 6 месяцев назад

    Do you have any idea why companies doesn't releases NAS drived storages without m.2 nvme or SSD? While they tell you that that much writing, reading and erasing makes the drives live shorter. This is a bullshit story in my opinion, putting such devices in any computer, this R/W cycles are even greater at some point, but hey, let's believe the companies...

    • @vikash-tech-wizard
      @vikash-tech-wizard  5 месяцев назад

      I believe that nvme and ssds nowadays are more than capable handling large reads and writes. But it depends on your budget and your needs when choosing a NAS storage device.