-
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Script reports to be run from M.2 when using M2. SSD cache on volume #45
Comments
Looks like I'll have to setup an NVMe read cache for 1 of my volumes to see what the script is doing wrong. |
Just did a quick check and confirm, by disabling the M.2 SSD cache, the warning disappears. |
Ok. I've done some testing and I get the warning if the scriptpath variable is empty or contains a volume# that does not exist. If you try this test script what does it return? |
When you run syno_enable_dedupe.sh what does the 4th or 5th line show? It should show the path and filename of the script, like: |
Running from: /volume1/admin/Synology_enable_Deduplication/syno_enable_dedupe.sh |
/volume1/scripts/test.sh |
Strange. It doesn't do that for me. I currently have 4 volumes:
And a SATA SSD as a read cache for volume 5.
I just noticed that you and I are somehow getting an extra md2 on the line after "md: md3" for volume1. |
I just ran that test script on my DS720+ which only has 1 HDD volume and I didn't get the warning or the extra md2.
|
md3 is my M.2 SSD cache cat /proc/mdstat returns: md3 : active raid1 nvme1n1p1[1] nvme0n1p1[0] md2 : active raid5 sata1p3[0] sata3p3[2] sata4p3[3] sata5p3[4] sata6p3[5] sata2p3[1] md1 : active raid1 sata1p2[0] sata4p2[5] sata5p2[4] sata6p2[3] sata3p2[2] sata2p2[1] md0 : active raid1 sata1p1[0] sata4p1[5] sata5p1[4] sata6p1[3] sata3p1[2] sata2p1[1] |
Your seeing the same as me. md3 is the SSD cache. md2 is the HDD array. On my DS1821+ I get this:
And this:
Digging a little deeper I see this:
I believe I've found the solution. Can you try this test script to confirm it works correctly for you. |
Sure, returns no more warning: /volume1/scripts/test.sh |
It was a pleasure to me. I have to thank you for creating, maintaining and sharing these valuable scripts with us. Very much appreciated! |
Script reports to be run from M,2 when using M2. SSD cache on volume. Same occurs for Synology_HDD_DB script as well.
cat /proc/mdstat command returns the following on my DS1621+
Personalities : [raid1] [raid6] [raid5] [raid4] [raidF1]
md3 : active raid1 nvme1n1p1[1] nvme0n1p1[0]
1000196800 blocks super 1.2 [2/2] [UU]
md2 : active raid5 sata1p3[0] sata3p3[2] sata4p3[3] sata5p3[4] sata6p3[5] sata2p3[1]
37453707840 blocks super 1.2 level 5, 64k chunk, algorithm 2 [6/6] [UUUUUU]
md1 : active raid1 sata1p2[0] sata4p2[5] sata5p2[4] sata6p2[3] sata3p2[2] sata2p2[1]
2097088 blocks [6/6] [UUUUUU]
md0 : active raid1 sata1p1[0] sata4p1[5] sata5p1[4] sata6p1[3] sata3p1[2] sata2p1[1]
8388544 blocks [6/6] [UUUUUU]
unused devices:
Thanks for looking into it.
The text was updated successfully, but these errors were encountered: