Jump to content
XPEnology Community

NVMe cache support


advin

Recommended Posts

2 hours ago, aportnov said:

 

I bought another name disk, put the script into startup when turned on, put the disk and it automatically appeared as a cache, thanks a lot for the script.

image.png

Are you using a PCIe card for this dual NVMe or a motherboard that supports 2 of them? Curious...  Thanks

Link to comment
Share on other sites

@Peter Suh

I got this error using your script? any idea?

 

root@NVR:~# curl -L "https://github.com/PeterSuh-Q3/rp-ext/raw/main/nvme-cache/src/nvme-cache.sh" -O
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  203k    0  203k    0     0   594k      0 --:--:-- --:--:-- --:--:--  594k
root@NVR:~# chmod +x nvme-cache.sh
root@NVR:~# ./nvme-cache.sh
./nvme-cache.sh: line 7: syntax error near unexpected token `newline'
./nvme-cache.sh: line 7: `<!DOCTYPE html>'

 

 

DVA3221 arpl

 

thanks

Link to comment
Share on other sites

12 minutes ago, tigs said:

@Peter Suh

I got this error using your script? any idea?

 

root@NVR:~# curl -L "https://github.com/PeterSuh-Q3/rp-ext/raw/main/nvme-cache/src/nvme-cache.sh" -O
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  203k    0  203k    0     0   594k      0 --:--:-- --:--:-- --:--:--  594k
root@NVR:~# chmod +x nvme-cache.sh
root@NVR:~# ./nvme-cache.sh
./nvme-cache.sh: line 7: syntax error near unexpected token `newline'
./nvme-cache.sh: line 7: `<!DOCTYPE html>'

 

 

DVA3221 arpl

 

thanks

 

The repo location has changed.

use this.

bash -c "$(curl "https://raw.githubusercontent.com/PeterSuh-Q3/tcrp-addons/master/nvme-cache/src/nvme-cache.sh")"

Link to comment
Share on other sites

Outcome of the update: SUCCESSFUL / NVMe-Support lost!

- DSM version update: 7.0.1-42218-u6

- Loader version and model: ARPL v1.1-beta2a DS3622xs+

- Using custom extra.lzma: NO

- Installation type: Core i3-6100TE, 24GB RAM, ThinkStation P310, Motherboard: Lenovo IQ1X0MS Workstation, Chipset intel C236

 

Hello, after trying all loader/model-combinations for my workstation over a week, there is only this installation that works, boots quickly and also really turns off the computer when shutting down. However, support for NVMe is gone.

It is very noteworthy that, for example, the installation for the DS3622xs+ is not even offered with the "friend" loader.
Also I ran the nvme-cache.sh here, it doesn't find any NVMe hardware at all.

Hope someone can bring clarity to the matter.

Link to comment
Share on other sites

3 hours ago, DSfuchs said:

Outcome of the update: SUCCESSFUL / NVMe-Support lost!

- DSM version update: 7.0.1-42218-u6

- Loader version and model: ARPL v1.1-beta2a DS3622xs+

- Using custom extra.lzma: NO

- Installation type: Core i3-6100TE, 24GB RAM, ThinkStation P310, Motherboard: Lenovo IQ1X0MS Workstation, Chipset intel C236

 

Hello, after trying all loader/model-combinations for my workstation over a week, there is only this installation that works, boots quickly and also really turns off the computer when shutting down. However, support for NVMe is gone.

It is very noteworthy that, for example, the installation for the DS3622xs+ is not even offered with the "friend" loader.
Also I ran the nvme-cache.sh here, it doesn't find any NVMe hardware at all.

Hope someone can bring clarity to the matter.

 

In TCRP Linux with the command below
Would you like to download M SHELL for TCRP FRIEND and try again?
My program comes with nvme-cache addon installed by default.
The model also operated without problems.

 

curl -L "https://raw.githubusercontent.com/PeterSuh-Q3/tinycore-redpill/master/my.sh.gz" -O
tar -zxvf my.sh.gz
./rploader.sh backup
./menu.sh

 

1397274997_2023-03-018_29_11.thumb.png.3f97fde718b3b56f77577eb871a86eed.png

 

 

Link to comment
Share on other sites

Hello Peter, thank you for your quick reply.
Unfortunately, none of the lines works.
- had to add at the end of the curl:
-k --insecure
- tar does not recognize the -z parameter
- rplloader not found
- The menu program does not work with the ARPL directory structure


I look forward to hearing from you again.

Link to comment
Share on other sites

@DSfuchsE Everything is open source here, feel free to fork repos and fix it yourself then send a pull request on official repo.

We will all be pleased to have your help if the current state is not enough for you if "the simplest would be" (put anything behind those words).

Edited by Orphée
  • Confused 1
Link to comment
Share on other sites

10 hours ago, DSfuchs said:

Hello Peter, thank you for your quick reply.
Unfortunately, none of the lines works.
- had to add at the end of the curl:
-k --insecure
- tar does not recognize the -z parameter
- rplloader not found
- The menu program does not work with the ARPL directory structure


I look forward to hearing from you again.

 

 

I thought you were already using TCRP because you mentioned "friend".
These commands assume that you are already using TCRP.
This script does not work in ARPL.

 

from the link below
Create a new loader with M SHELL for TCRP FRIEND and try it.
https://github.com/PeterSuh-Q3/tinycore-redpill/releases/tag/v0.9.4.0-1

 

Edited by Peter Suh
Link to comment
Share on other sites

I'm not comfortable with the arbitrary exclusion of devices. That's going too fast for me within a few months.
Outstanding developments, due to two "up-to-date" statuses of ONE version 7.1, are consciously forgotten, deleted or excluded here, also in the repos. By that I mean in particular 6.2.4 and now also 7.0.1

It certainly can't be about the memory space of a few MB?
The work of many dedicated people here is simply lost beforehand for those who want to use it.
The dockerrized world from DSM7 on is pointless. For a small command, extension or even application, I always have to find dockers that could do it, make sure they work together and constantly keep an eye on interoperability when only one container gets an update. Other platforms outside of Intel are completely excluded as they cannot run containers. The added ability of a NAS to host applications is largely lost. 99% of users are just as well positioned with a dual-case USB3 box attached to the FritzBox.

Link to comment
Share on other sites

3 hours ago, DSfuchs said:

ARPL v1.1-beta2a DS3622xs+ 7.0.1-42218 works well. I'm not concerned with the transcoding, but with the lost NVMe support.

Why does the friend categorically exclude newer models?

 

 

At some point in the development of M SHELL for TCRP, I decided to stop supporting older versions.
This is because ARPL and original TCRP already support all older versions of DSM, such as 7.0.1-42218, even if it is not M SHELL.
(Currently, pocopico's TCRP cannot be built because the checksum and bsp are not newly corresponded to the recently changed 7.0.1-42218 DSM PAT file.)


There are a total of 18 models supported by M SHELL, and if you manage each DSM version, the number of management points will increase several times.
If all support is extended by that number, the burden on the developers of REDPILL will increase.

Whenever a new DSM version is created, stability testing as well as a bsp build for configuration must be followed.

 

It is not enough for developers to cover these many cases alone.
However, there is no verified user test pool.
This part is the dilemma.


ARPL's fabio and TCRP's pocopico also support numerous models and DSM versions for each model, but no one can guarantee the stability of each.
So, I decided to stop supporting the old version and focus on securing the stability of the new version.


However, since there have been several requests from users that DSM 7.0.1 is essential for transcoding on the Apollo Lake and Gemini Lake platforms without a genuine SN, M SHELL reconfigured and released the bsp and environment of these models.


I also want to try out ARPL, but I'm running out of time to develop and test M SHELL.
I've heard that some ARPL users have had success recognizing the NVMe cache using my nvme-cache.sh.

 

The NVMe device should be verified first with the command below.
udevadm info --query path --name nvme0n1

Are the contents checked well?

  • Like 1
Link to comment
Share on other sites

The opening of my request really says everything. Also that only ARPL supports the "old model" D32622xs+ and I don't see any hardware at all with nvme-cache.sh either. udevadm doesn't show anything either.

We're going in circles here. Thanks a lot for your efforts.

  • Confused 1
Link to comment
Share on other sites

  • 2 weeks later...
8 hours ago, Ostap60 said:

Hi.
Is it possible to screw nvme cache on model DVA3221?
Tried to follow the instructions:

But it didn't work out.
Thanks.

 

 

Have you tried this method?

 

sudo -i
bash -c "$(curl "https://raw.githubusercontent.com/PeterSuh-Q3/tcrp-addons/master/nvme-cache/src/nvme-cache.sh")"

  • Like 1
Link to comment
Share on other sites

18 часов назад, Peter Suh сказал:

 

 

Have you tried this method?

 

sudo -i
bash -c "$(curl "https://raw.githubusercontent.com/PeterSuh-Q3/tcrp-addons/master/nvme-cache/src/nvme-cache.sh")"

Thank you! It works!

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

  • 4 weeks later...

Hi!
I have a question.
I have an HP prodesk 400 G3 mini. Inside there is an nvme m.2 drive and a SATA HDD (2x 500GB). There is no other way to add a second SATA drive to such a small box.

Will it be possible to make this NVME drive mass storage, visible as a second drive in the same way as this SATA HDD?
After many attempts, we managed to make this disk visible in the admin panel at all. However, it can only be used as a cache.

I would like to have visible two disks of ~ 500GB each, i.e. 1TB of space available. It doesn't necessarily have to be a raid.

The nvme SSD is still visible as a "cache support" read-only drive. I can't upload any data to it.

 

edit: ok, it worked!
Brilliant script: https://github.com/007revad/Synology_M2_volume

Edited by png1
Link to comment
Share on other sites

  • 1 month later...
В 16.03.2023 в 06:59, Peter Suh сказал:

bash -c "$(curl "https://raw.githubusercontent.com/PeterSuh-Q3/tcrp-addons/master/nvme-cache/src/nvme-cache.sh")"

 

In 7.2 RC does not work.

DVA3221, v0.9.4.3-2

 

root@NAS:~# curl -L "https://raw.githubusercontent.com/PeterSuh-Q3/tcrp-addons/master/nvme-cache/src/nvme-cache.sh" -O
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  4214  100  4214    0     0  23282      0 --:--:-- --:--:-- --:--:-- 23411
root@NAS:~# chmod +x nvme-cache.sh
root@NAS:~# ./nvme-cache.sh
Collecting 1st nvme paths
Found local 1st nvme with path 0000:00:1b.0
3a31 622e 3000
3162 2e30

Collecting 2nd nvme paths
device node not found
Found local 2nd nvme with path
Not found local 2nd nvme
sed: can't read /etc.defaults/extensionPorts: No such file or directory
cat: /etc.defaults/extensionPorts: No such file or directory
root@NAS:~#

 

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...