Jump to content
XPEnology Community

Use nvme/m.2 hard drives as storage pools in Synology


yanjun

Recommended Posts

No my brix had no hdd cable and the spacer is only for m.2 nvme, my version of this mini pc just won't allow it, I managed to install Arc Loader on an external ssd in usb 3.1, DS3622xs+, whit addons: ubs sata, nvmestorage, nvmeenable, drivedbpatch, but unfortunately I can't create storage pool on nvme m.2.

Untitled-1.jpg

  • Like 1
Link to comment
Share on other sites

22 hours ago, apriliars3 said:

Classic method to use NVME as storage.

- ls /dev/nvme*
- fdisk -l /dev/nvme0n1
- synopartition --part /dev/nvme0n1 12
- cat /proc/mdstat
- mdadm --create /dev/md3 --level=1 --raid-devices=1 --force /dev/nvme0n1p3
- mkfs.btrfs -f /dev/md4

 

I tried the script but the singe 2tb i have in my build didn't show. However using your "classic method" worked but I have only 1tb available. is that expected?


Btw, should the last line be "mkfs.btrfs -f /dev/md3"?

Link to comment
Share on other sites

5 hours ago, trublu said:

 

I tried the script but the singe 2tb i have in my build didn't show. However using your "classic method" worked but I have only 1tb available. is that expected?


Btw, should the last line be "mkfs.btrfs -f /dev/md3"?

ok, copy other time with md3. Sorry. 

 

If you have more than 2 disks, for example 4 disks, need put md5.

 

- ls /dev/nvme*
- fdisk -l /dev/nvme0n1
- synopartition --part /dev/nvme0n1 12
- cat /proc/mdstat
- mdadm --create /dev/md3 --level=1 --raid-devices=1 --force /dev/nvme0n1p3
- mkfs.btrfs -f /dev/md3

 

With your 2TB nvme, show fdisk -l /dev/nvme0n1 the correct size available? If not, put your correct nvme that show you ls /dev/nvme*

Edited by apriliars3
Link to comment
Share on other sites

17 hours ago, apriliars3 said:

ok, copy other time with md3. Sorry. 

 

If you have more than 2 disks, for example 4 disks, need put md5.

 

- ls /dev/nvme*
- fdisk -l /dev/nvme0n1
- synopartition --part /dev/nvme0n1 12
- cat /proc/mdstat
- mdadm --create /dev/md3 --level=1 --raid-devices=1 --force /dev/nvme0n1p3
- mkfs.btrfs -f /dev/md3

 

With your 2TB nvme, show fdisk -l /dev/nvme0n1 the correct size available? If not, put your correct nvme that show you ls /dev/nvme*

 

fdisk -l /dev/nvme0n1 shows the following

/dev/nvme0n1p1          256    4980735    4980480   2.4G fd Linux raid autodetect
/dev/nvme0n1p2      4980736    9175039    4194304     2G fd Linux raid autodetect
/dev/nvme0n1p3      9437184 2000397734 1990960551 949.4G fd Linux raid autodetect


I have just one 2tb though
Starting to think I was shipped the wrong size

  • Confused 1
Link to comment
Share on other sites

  • 4 weeks later...
On 4/6/2023 at 6:51 AM, oswaldini said:

Will it work with DS918+ ?

I got it to work on DS918+  DSM 7.2-64570

 

edit /etc/synoinfo.conf
support_m2_pool="yes"
support_disk_compatibility="no"
drive_db_test_url="127.0.0.1"


edit /etc.defaults/synoinfo.conf
support_m2_pool="yes"
support_disk_compatibility="no"

echo 1 > /run/synostorage/disks/nvme1n1/m2_pool_support
rm /run/synostorage/disks/nvme1n1/sys_not_support

edit /usr/lib/libhwcontrol.so.1

0002e1c0: 0000 4889 f348 85f6 747e 803e 00b8 0100  ..H..H..t~.>....
0002e1d0: 0000 9090 488b 5424 2864 482b 1425 2800  ....H.T$(dH+.%(.
               ^^^^

0002e300: 743e 803e 00b8 0100 0000 9090 5bc3 6690  t>.>........[.f.
                                   ^^^^

 

I had no luck until I edited /etc.defaults/synoinfo.conf and I added drive_db_test_url to /etc/synoinfo.conf. 

  • Like 1
Link to comment
Share on other sites

  • 5 months later...
On 5/22/2023 at 3:01 PM, apriliars3 said:

ok, copy other time with md3. Sorry. 

 

If you have more than 2 disks, for example 4 disks, need put md5.

 

- ls /dev/nvme*
- fdisk -l /dev/nvme0n1
- synopartition --part /dev/nvme0n1 12
- cat /proc/mdstat
- mdadm --create /dev/md3 --level=1 --raid-devices=1 --force /dev/nvme0n1p3
- mkfs.btrfs -f /dev/md3

 

With your 2TB nvme, show fdisk -l /dev/nvme0n1 the correct size available? If not, put your correct nvme that show you ls /dev/nvme*

 

Hi there, I managed to make my raid5 of 4 nmve drives, but now, how i get to use it on the nas? Like how do I assing a volume?

Link to comment
Share on other sites

38 minutes ago, AleAmadoC said:
 
Hi there, I managed to make my raid5 of 4 nmve drives, but now, how i get to use it on the nas? Like how do I assing a volume?


This complex script you are about to reference is old script. rr or tcrp-mshell is already running in the form of an addon. However, dsm cannot be installed on a system configured only with nvme. You will need at least one sata disk. You need to complete the installation starting from dsm with the help of this sata disk. Volumeization of nvme is the next step. When configuring a storage pool in Disk Manager, you will be able to use the volumetric NVME already enabled by the addon.


Sent from my iPhone using Tapatalk

Edited by Peter Suh
Link to comment
Share on other sites

1 hour ago, Peter Suh said:


This complex script you are about to reference is old script. rr or tcrp-mshell is already running in the form of an addon. However, dsm cannot be installed on a system configured only with nvme. You will need at least one sata disk. You need to complete the installation starting from dsm with the help of this sata disk. Volumeization of nvme is the next step. When configuring a storage pool in Disk Manager, you will be able to use the volumetric NVME already enabled by the addon.


Sent from my iPhone using Tapatalk

 

Well I just had to restart, when I restarted synology detected the m.2 drives, well in my case u.2 drives and asked to assemble the volume, its working doing it like the example,

 

And Thank you Peter, I do have installed DSM on a Sata, all is on a VM Esx with direct access to the U.2 Disks.

 

Now I know its on the loader as an add on for the next installs,

 

RS4021xs+

DSM 7.2.1-69057 Update 3

 

Thank you,

Edited by AleAmadoC
  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...