Code Monkey home page Code Monkey logo

synology_m2_volume's Introduction

Synology M2 volume

Donate committers.top badge

Description

Easily create an M.2 volume on Synology NAS without a lot of typing and no need for any how-to guides. And you don't need Synology branded NVMe drives.

This script creates the RAID and storage pool on your NVMe drive(s) so you can then create the volume in the Storage Manager.

All you have to do is run the script and type yes and 1, 2, 3 or 4 to answer some simple questions. Then go to Storage Manager and select Create Volume.

It also allows you to create a storage pool/volume spanning internal NVMe drives and NVMe drives in a Synology M.2 PCIe card.

For Xpenology users the script supports an unlimited number of NVMe drives (except for RAID 1 and Basic).

Supports DSM 7 and later

For DSM 6 use v1 and run without the auto update option.

NEW in v2

  • Now shows "M.2 Drive #" the same as storage manager.
  • Now uses synostgpool command which allows the following: (Thanks to Severe_Pea_2128 on reddit)
    • Now supports JBOD, SHR, SHR2 and RAID F1.
    • Added choice of multi-volume or single-volume storage pool. Multi-volume allows overprovisioning.
    • Added option to skip drive check.
    • No longer need to reboot after running the script.
    • No longer need to do an online assemble.
  • Removed drive check progress as it was not possible with synostgpool.
    • You can see the drive check progress in Storage Manager.
  • Removed dry run mode as it was not possible with synostgpool.
  • Removed support for SATA M.2 drives.
    • If you have SATA M.2 drives use v1 and run without the auto update option.

RAID levels supported

RAID Level Min Drives Required Maximum Drives Script version
SHR 1 1 or more drives Unlimited v2 and later (DSM 7 only)
SHR 2 4 or more drives Unlimited v2 and later (DSM 7 only)
Basic 1 drive 1 drive all
JBOD 1 or more drives Unlimited v2 and later (DSM 7 only)
RAID 0 2 or more drives Unlimited all
RAID 1 2 or more drives 4 drives all
RAID 5 3 or more drives Unlimited all
RAID 6 4 or more drives Unlimited v1.3.15 and later
RAID 10 4 or more drives Unlimited v1.3.15 and later
RAID F1 3 or more drives Unlimited v2 and later (DSM 7 only)

If RAID F1 is selected the script enables RAID F1 on Synology models that don't officially support RAID F1.

Confirmed working on

Click here to see list
Model DSM version M.2 card Notes
All DSM 6 Use v1 run without auto update option
RS2423+ DSM 7.2-64570 Update 1
DS1823xs+ DSM 7.2-64561 M2D20
DS923+ DSM 7.2.1-69057 Update 5
DS923+ DSM 7.2.1-69057 Update 2
DS923+ DSM 7.1.1-42962 Update 5
DS723+ DSM 7.2.1-69057 Update 3
DS723+ DSM 7.2-64570 Update 1
DS723+ DSM 7.1.1-42962 Update 4
DS423+ DSM 7.2.1-69057 Update 3
DS423+ DSM 7.2-64570 Update 3
DS423+ DSM 7.1.1-42962 Update 4
DS3622xs+ DSM 7.2-64216 Beta E10M20-T1
DS3622xs+ DSM 7.1.1-42962 Update 1
DS2422+ DSM 7.2.1-69057 Update 4 E10M20-T1
DS1522+ DSM 7.2.1-69057 Update 4
DS1522+ DSM 7.2-64570
DS1522+ DSM 7.1.1-42962 Update 4
DS1821+ DSM 7.2.1-69057 Update 4 E10M20-T1 Also needs Synology enable_M2_card
DS1821+ DSM 7.2.1-69057 Update 4 M2D20 Also needs Synology enable_M2_card
DS1821+ DSM 7.2.1-69057 Update 4 M2D18 Also needs Synology enable_M2_card
DS1821+ DSM 7.2.1-69057 Update 4
DS1821+ DSM 7.2.1-69057 Update 3
DS1821+ DSM 7.2.1-69057 Update 2
DS1821+ DSM 7.2.1-69057 Update 1
DS1821+ DSM 7.2.1-69057
DS1821+ DSM 7.2-64570 Update 3
DS1821+ DSM 7.2-64570 Update 1 E10M20-T1 Also needs Synology enable_M2_card
DS1821+ DSM 7.2-64570 Update 1 M2D18 Also needs Synology enable_M2_card
DS1821+ DSM 7.2-64570 Update 1
DS1821+ DSM 7.2-64570
DS1821+ DSM 7.2-64561
DS1821+ DSM 7.2-64216 Beta
DS1821+ DSM 7.2-64213 Beta
DS1821+ DSM 7.1.1-42962 Update 4
DS1621+ DSM 7.2-64570 Update 1 E10M20-T1 Also needs Synology enable_M2_card
DS1621+ DSM 7.2-64570 Update 1
DS1621+ DSM 7.1.1-42962 Update 4
RS1221+ DSM 7.2-64570 Update 1 E10M20-T1
RS1221+ DSM 7.1.1 E10M20-T1
DS1520+ DSM 7.2.1-69057 Update 2
DS1520+ DSM 7.2-64570 Update 1
DS1520+ DSM 7.1.1-42962 Update 4
DS920+ DSM 7.2.1-69057 Update 5
DS920+ DSM 7.2.1-69057 Update 4
DS920+ DSM 7.2.1-69057 Update 3
DS920+ DSM 7.2.1-69057 Update 2
DS920+ DSM 7.2.1-69057 update 1
DS920+ DSM 7.2.1-69057
DS920+ DSM 7.2-64570 Update 1
DS920+ DSM 7.2-64561
DS920+ DSM 7.2-64216 Beta
DS920+ DSM 7.1.1-42962 Update 1
DS918+ DSM 7.2-64570 Update 3
RS820+ DSM 7.2-64570 Update 3 M2D20
DS720+ DSM 7.2.1-69057 Update 4
DS720+ DSM 7.2.1-69057 Update 3
DS720+ DSM 7.2.1-69057 Update 2
DS720+ DSM 7.2.1-69057 Update 1
DS720+ DSM 7.2.1-69057
DS720+ DSM 7.2-64570 Update 3
DS720+ DSM 7.2-64570 Update 1
DS720+ DSM 7.2-64570
DS720+ DSM 7.2-64561
DS720+ DSM 7.2-64216 Beta
DS420+ DSM 7.2-64570 Update 1
DS1819+ DSM 7.2-64216 Beta M2D20
DS1819+ DSM 7.1.1 M2D20
DS1019+ DSM 7.2.1-69057 Update 2
DS1019+ DSM 7.2-64561
DS1019+ DSM 7.1.1-42962 Update 4
DS1618+ DSM 7.1.1 M2D18
DS918+ DSM 7.2.1-69057 Update 5
DS918+ DSM 7.2-64561
DS918+ DSM 7.1.1
DS3617xs DSM 7.2-64570 M2D20

Important

If you later update DSM and your M.2 drives are shown as unsupported and the storage pool is shown as missing, and online assemble fails, you need to run the Synology_HDD_db script. The Synology_HDD_db script should run after every DSM update.

Download the script

  1. Download the latest version Source code (zip) from https://github.com/007revad/Synology_M2_volume/releases
  2. Save the download zip file to a folder on the Synology.
  3. Unzip the zip file.

To run the script via SSH

How to enable SSH and login to DSM via SSH

sudo -s /volume1/scripts/syno_create_m2_volume.sh

Note: Replace /volume1/scripts/ with the path to where the script is located.

Troubleshooting

If the script won't run check the following:

  1. If the path to the script contains any spaces you need to enclose the path/scriptname in double quotes:
    sudo -s "/volume1/my scripts/syno_create_m2_volume.sh"
  2. Make sure you unpacked the zip or rar file that you downloaded and are trying to run the syno_create_m2_volume.sh file.
  3. Set the syno_create_m2_volume.sh file as executable:
    sudo chmod +x "/volume1/scripts/syno_create_m2_volume.sh"

Options:

  -a, --all        List all M.2 drives even if detected as active
  -s, --steps      Show the steps to do after running this script
  -h, --help       Show this help message
  -v, --version    Show the script version

What to do after running the script

  1. Create the volume as you normally would:
    • Select the new Storage Pool > Create > Create Volume.
    • Set the allocated size.
      • Optionally enter a volume description. Be creative :)
    • Click Next.
    • Select the file system (Btrfs or ext4) and click Next.
    • Optionally enable Encrypt this volume and click Next.
      • Create an encryption password or enter your existing encryption password.
    • Confirm your settings and click Apply to finish creating your M.2 volume.
  2. Optionally enable and schedule TRIM:
    • Storage Pool > ... > Settings > SSD TRIM
    • Note: DSM 7.1.1. has no SSD TRIM setting for M.2 storage pools
    • Note: DSM 7.2 Beta has no SSD TRIM setting for M.2 RAID 0 or RAID 5

How to repair a NVMe storage pool or upgrade to larger drives


DSM 7 screen shots

Create SHR Storage Pool

Create Volume

Volume description

Allocate volume capacity

Select file system

Success!

Enable TRIM

synology_m2_volume's People

Contributors

007revad avatar shraymonks avatar vaishraj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

synology_m2_volume's Issues

NOT working on Synology 720+ with DSM 6.2.4 update 7.

NOT working on Synology 720+ with DSM 6.2.4 update 7.
It will create the storage pool, but the volume is not created. I do not see any option for creating a volume from the SSD storage pool.

Config: two 500GB SSD, configured in RAID 1.

I had this working on DSM 7.1.1 with RAID 0, but I downgraded to DSM 6 and the script is not able to create the volume.

Originally posted by @Ruben-Isai in #52 (comment)

Upgrade DSM test 7.1=> 7.2 with M2 storage pool mounted

Has anyone tested upgrading from 7.1 to 7.2 (now beta) with M2 storage pool already created?
I am in this situation and above the storage pool made with the M2s I have all my VMs.

When the upgrade to version 7.2 (official) comes out I don't want to have any unpleasant surprises.

Thank you

Change from Basic to Raid

I added a second NVME and I am trying to change from basic and Raid without losing data and unable to do so.

Any suggestions?

Kudos!

Thanks for this work!

In case you've not seen it before, shellcheck is a great linter for shell, and integrates with a bunch of editors (I use the this extension with vscode, fwiw).

It didn't find anything horrible here--just a few nits:

 shellcheck syno_create_m2_volume.sh 

In syno_create_m2_volume.sh line 79:
[ "$BASH" ] && ! shopt -qo posix || {
            ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.


In syno_create_m2_volume.sh line 127:
    minor=$(get_key_value /etc.defaults/VERSION minor)
    ^---^ SC2034 (warning): minor appears unused. Verify use (or export if used externally).


In syno_create_m2_volume.sh line 151:
args="$@"
     ^--^ SC2124 (warning): Assigning an array to a string! Assign as array, or use * instead of @ to concatenate.


In syno_create_m2_volume.sh line 176:
                log=yes
                ^-^ SC2034 (warning): log appears unused. Verify use (or export if used externally).


In syno_create_m2_volume.sh line 179:
                debug=yes
                ^---^ SC2034 (warning): debug appears unused. Verify use (or export if used externally).


In syno_create_m2_volume.sh line 216:
    dsm72="yes"
    ^---^ SC2034 (warning): dsm72 appears unused. Verify use (or export if used externally).


In syno_create_m2_volume.sh line 348:
                                delerr=1
                                ^----^ SC2034 (warning): delerr appears unused. Verify use (or export if used externally).

For more information:
  https://www.shellcheck.net/wiki/SC2034 -- debug appears unused. Verify use ...
  https://www.shellcheck.net/wiki/SC2124 -- Assigning an array to a string! A...
  https://www.shellcheck.net/wiki/SC2015 -- Note that A && B || C is not if-t...

Feel free to close this issue--I just wanted to stop by and thank you for your work.

(I found this project via https://www.mklibrary.com/synology-nvme-volume/)

Cheers!

Compatible with DSM 6.2 or 7.1 (7.2) ?

Hello friend!

Thanks for the script.
On what versions of the DSM can they be used?
And what awaits us after the update DSM for ex. from 7.1 to 7.2 or 6.2 to 7.x?

Thank you!

Confirmed working on:

DS920+ with Synology DSM 7.2 build 64561
2x Samsung 980 M.2 nvme

Thank you very much!

ERROR 5 Failed to create syno partitions!

Dear Dave Russell,
I used your script on my synology to create my m2 volume pool but it seems to have some errors. I followed all the instructions shown in the README file and the error message is shown below:
error

Sharing NVME between volume and cache group?

First thank you very much for this cool script. I moved my 2x4TB nvme‘s from cache usage to volume. I had used about 400 GB as cache group before.
I have seen that there seem to be different partition types for cache group and volume. What I would really like is to share my nvme space between cache and volume usage. Is this generally possible or is this something that is technically impossible?

how can I install e10m20t1 on ds1821

I have already installed two m2 SSDs in my DS1821 and used a script to create storage space. I have now added one e10m20-t1 and inserted the other two m2 SSDs. When I run the script, I can discover the newly added SSDs, but I cannot create storage space. The prompt is that MD10 already exists, and the network card does not appear. I want to use both a 10 Gigabit network card and four SSDs at the same time. I found this post, https://blog.mitsea.com/b3d944ff0c02498c9c341a620b323f1a/ Can it be achieved on 1821?

Does the script support 1618+?

My device is 1618+, with M2D20 expansion card, the current DSM version is 7.1.1, can I use this script?
I don't see that this model is supported in the current support list. Is it because it is clearly not supported or there is no test object? Thanks to the author for sharing the script.

Synology NAS DS1019+ DSM 7.2-64570 Update-1 support

Hi

My M2 Samsung SSD 970 EVO Plus 500GB Pool stopped working after an update to DSM 7.2-64570.
It was created on older DSM 7.2-64561.
Since I can't roll back to the older one, is there any workaround to fix M2 pool?

Thanks

Can't create raid0 when 6 nvme are populated

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.

Split SSD for cache and volume use

Hello!
I have ds920+ and i won't be able to create volume officially. So, i wonder, is it possible to use my two SSD's partially for creating volume and rest of space for synology cache? I have 2x500GB SSD's and my syno cache advisor says that i need cache of 250GB. I'd like to have an SSD volume of not more than 100GB for Home Assistant use, rest of space i'd use for cache.

Possible?

Fail to repair RAID1 volume

Hi,

I have used this script to set up a RAID1 array (mirrored). I used some old small M.2 drives as testers and have since ordered two bigger drives. I replaced one today, similar to how I have rebuilt RAID1 arrays in the past, just replace a drive the rebuild through the UI. The problem is I cannot get it to work.

Trying to repair the Storage Pool results in an error saying there are no drives that meet the requirements. Clicking the new drive under HDD/SSD doesn't;t let me do anything other than a SSD Cache (for obvious reasons I'm on a DS918+)

Re-running the script only lets me select one drive (the new one) and the script fails to finish.

Synology_M2_volume v1.2.14
DS918+ DSM 7.1.1-42962-5 

Using options: 
Type yes to continue. Type anything else to do a dry run test.
yes

NVMe M.2 nvme0n1 is Samsung SSD 970 EVO Plus 1TB
No existing partitions on drive

NVMe M.2 nvme1n1 is Samsung SSD 970 EVO Plus 250GB
Skipping drive as it is being used by DSM

Unused M.2 drives found: 1

1) nvme0n1
Select the M.2 drive: 1
You selected nvme0n1

Ready to create volume group on nvme0n1
Type yes to continue. Type anything else to quit.
yes
You chose to continue. You are brave! :)

Using md5 as it's the next available.

Creating Synology partitions on nvme0n1

        Device   Sectors (Version8: SupportRaid)
 /dev/nvme0n11   4980480 (2431 MB)
 /dev/nvme0n12   4194304 (2048 MB)
Reserved size:    260352 ( 127 MB)
Primary data partition will be created.

WARNING: This action will erase all data on '/dev/nvme0n1' and repart it, are you sure to continue? [y/N] y
Cleaning all partitions...
Creating sys partitions...
Creating primary data partition...
Please remember to mdadm and mkfs new partitions.

Creating single drive RAID.
mdadm: Note: this array has metadata at the start and
    may not be suitable as a boot device.  If you plan to
    store '/boot' on this device please ensure that
    your boot-loader understands md/v1.x metadata, or use
    --metadata=0.90
Continue creating array? yes
mdadm: Defaulting to version 1.2 metadata
mdadm: array /dev/md5 started.

Creating a physical volume (PV) on md5 partition
  Physical volume "/dev/md5" successfully created

Creating a volume group (VG) on md5 partition
  /dev/vg5: already exists in filesystem
  Run `vgcreate --help' for more information.

ERROR 5 Failed to create volume group!

Working except with ASM2824 switch chip NVME adapter

Hi,

This works with DS3622xs+, DSM 7.2-64570 Update 1. But not when the NVME drive is installed onto an adapter card with the ASM2824 chip. The script sees the drive and formats it but upon reboot, the drive is not available under Online Assemble.

sudo ls -I ram -I loop* -I dm-* /sys/block

md0 nvme0n1 ram10 ram13 ram2 ram5 ram8 synoboot
md1 ram0 ram11 ram14 ram3 ram6 ram9 zram0
md2 ram1 ram12 ram15 ram4 ram7 sda zram1

Can this be made to work with this type of adapter card that does not rely on PCIe bifurcation?

Thanks,

No TRIM option for DSM 7.1.1-42962 w/RAID-1

This is just a note for possibly updating the in-script messaging that currently reads:

SSD TRIM option not available in DSM 7.2 Beta for RAID 0

Otherwise, an excellent scripted process with nothing else unexpected. Thank you!

RAID5 without official M.2 NVMe adapter card

          > Unfortunately if DSM isn't seeing the PCIe card with synonvme the drive won't show up in storage manager.

That card is very cheap. I might buy one myself to see if I can get it working in my DS1821+

Is it possible to enable it? create RAID5 without official M.2 NVMe adapter card.

Originally posted by @hawie in #76 (comment)

Cannot remove volume/pool after creating

Hi, first would like to thank you so much for the script ! I created a RAID1 pool with 2x 2T non-synology NVMe SSD. But after creating, I cannot remove the volume nor the pool. (I changed the mind and wanted to create a RAID0 pool with these 2 m.2 SSD , I run the script again but it is said the drive is already being used by DSM).
How to remove the m.2 SSD from the volume/pool ?
Thank you!

synostgpool failed to create storage pool!

@aelmardi wrote:

Hey guys,

I'm facing an issue with my DS923+ on DSM 7.2.1-69057 Update 5. (Seagate Firecuda 530)

I don't have any logs available, but it failed during the storage creation step :

image

Thanks in advance for your help.

After succesfully creating NVMe Storage Pool I can no longer add HDDs to other Storage Pool

I have a Synology NAS with a Storage Pool 1 where all my data is on slow disks. Added two NVMe drives and used those to create Storage Pool 2 where my docker containers are. Works as advertised. However after adding a new slow drive because Storage Pool 1 was running out of space I could no longer add that drive to expand that pool because the drive requirements are not met. After checking the details it appears that I can only add NVMe drives but not HDDs anymore. Perhaps I'm doing something wrong, but it seems weird as I have not seen such a message before. Below is a screenshot of the requirements. Perhaps there is a way around it?

2024-02-27 01_55_27-Derbus - Synology NAS - Opera

NOT working on Synology 920+ after update to DSM 7.2-64570 Update 1

Hi, after update of Synology 920+ to DSM 7.2-64570 Update 1 my SSD cache was gone and the SSD‘s were shown as „not supported by this DSM version“. I applied the the Synology_HDD_db script made a reboot and applied the syno_create_m2_volume script. After another reboot SSD‘s are shown as „detected“ but Online Assemble fails. Both scripts were running without failure messages. Thanks for support.

Working on DSM 7.2-64570

Thanks and Great work

Quick question .... Why do Esxternal USB Drives now get picked up as a hardrive to create a Volume , they not reconized as External Devices any longer

Need to update M2 script when storage pool already created?

Hi Dave, I own a DS1821+ like you, with DSM 7.1 Update 5.
I have already created a storage pool with NVME thanks to your script.

I'm wondering if I need to update that script or run it again in anticipation of 7.2 DSM release. Need?
Thank's for your job

RAID 1 instead of Single with a single M2 device

Hello,
I try dry run mode and the result is surprising me.
There is only a RAID1 mode instead of Single mode.

Synology_M2_volume v1.3.15
DS923+ DSM 7.2-64570-3

Using options: -all
Type yes to continue. Type anything else to do a dry run test.
mlkj
*** Doing a dry run test ***

NVMe M.2 nvme0n1 is WD Red SN700 500GB
WARNING Drive has a cache partition

Unused M.2 drives found: 1

1) nvme0n1
2) Done
Select the M.2 drive: 1
You selected nvme0n1

Ready to create RAID 1 volume group using nvme0n1

WARNING Everything on the selected M.2 drive(s) will be deleted.
        *** Not really because we're doing a dry run ***
Type yes to continue. Type anything else to quit.
yes
You chose to continue. You are brave! :)

Using md5 as it's the next available.

Creating Synology partitions on nvme0n1
synopartition --part /dev/nvme0n1 13

Creating the RAID array. This will take a while...
mdadm --create /dev/md5 --level=1 --raid-devices=1 --force /dev/nvme0n1p3
      [====================>]  resync = 100%

Resync Duration: 4 sec

Creating a physical volume (PV) on md5 partition
pvcreate -ff /dev/md5

Creating a volume group (VG) on md5 partition
vgcreate vg5 /dev/md5

M.2 volume support already enabled.


Steps you need to do after running this script:
  1. After the restart go to Storage Manager and select online assemble:
       Storage Pool > Available Pool > Online Assemble
  2. Create the volume as you normally would:
       Select the new Storage Pool > Create > Create Volume
  3. Optionally enable TRIM:
       Storage Pool > ... > Settings > SSD TRIM
     SSD TRIM option is only available in DSM 7.2 Beta for RAID 1

Important
If you later upgrade DSM and your M.2 drives are shown as unsupported
and the storage pool is shown as missing, and online assemble fails,
you should run the Synology HDD db script:
https://github.com/007revad/Synology_HDD_db


Online assemble option may not appear in storage manager     until you reboot.
Type yes to reboot now.
Type anything else to quit (if you will reboot it yourself).
lgh

Is it a problem ?
Can I continue ?
Thank you for your great job.

confirmation it works for for 920+

Hello,
apart form saying thank you for the very nice script you made
Although not sure if I should do it with a submission of "issue", but just wanted to let you know it works fine on

DS920+
DSM 7.1.1-42962
M2 disks: Patriot P310 480GB
Configured as Raid1  BTRFS
It also seemed that I could enable TRIM

hope that helped

Storage pool not appears after format

SSD NVMe type intel U.2 INTEL SSDPE2KX010T8

after completing this step
mdadm: Defaulting to version 1.2 metadata
mdadm: array /dev/md5 started.

Creating a physical volume (PV) on md5 partition
Really INITIALIZE physical volume "/dev/md5" of volume group "vg5" [y/n]? y
WARNING: Forcing physical volume creation on /dev/md5 of volume group "vg5"
Physical volume "/dev/md5" successfully created

Creating a volume group (VG) on md5 partition
Volume group "vg5" successfully created

M.2 volume support already enabled.

Steps you need to do after running this script:

  1. After the restart go to Storage Manager and select online assemble:
    Storage Pool > Available Pool > Online Assemble
  2. Create the volume as you normally would:
    Select the new Storage Pool > Create > Create Volume
  3. Optionally enable TRIM:
    Storage Pool > ... > Settings > SSD TRIM
    SSD TRIM option is only available in DSM 7.2 Beta for RAID 1

Nothing shows up
Nas model : 1621+

Cannot Create Pool after Raid1 Creation Failure

I ran the script and unfortunately had a network disconnect of my SSH Session during the Raid1 Drive Sync. Now I cannot create the storage pool or volume from DSM. The script itself thinks the drives are being used by DSM. Using the -a switch allows it to continue, however it will fail to create the system partition. Same error as this issue: #69

[/sbin/sfdisk -N1 -uS -q -f -j256 -z4980480 -tfd -F /dev/nvme0n1] failed. err=255
Create system partitions failed.

ERROR 5 Failed to create syno partitions!

Is there anything I can do to reset everything back to the beginning? I have already tried erasing them in DSM and re-creating them through the script with the above error.

RAID F1 personality

Would be great to be able to create RAID F1 arrays. Personality [raidF1] seems to be already present (DS1821+ latest stable release)
Bildschirmfoto 2023-04-05 um 16 02 10

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.