mirror of
https://github.com/007revad/Synology_enable_eunit.git
synced 2026-04-25 04:45:52 +03:00
[GH-ISSUE #68] DS1621+ & dx510 #10
Labels
No labels
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Synology_enable_eunit#10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @llmogenmo-netizen on GitHub (Jan 29, 2026).
Original GitHub issue: https://github.com/007revad/Synology_enable_eunit/issues/68
I am trying to connect a DX510 to my DS1621+. The script runs fine & detects the DX510 expansion bay (in both esata slots); the problem is that drives I stick in it (only one thus far) do not show up under Storage Manager.
Storage manager Overview detects the device, but not the drives.
The drive inserted is -not- seen under "Storage". The one drive that is in the expansion bay IS detected in the Control Panel/External Devices tab, though.
I am running the latest DSM (DSM7.3.2.86009)
@llmogenmo-netizen commented on GitHub (Jan 29, 2026):
I have left the email alert on when connecting so I get the following message in my email inbox:
Task Scheduler has completed a triggered task.
Task: Enable eunit
Start time: Wed, 28 Jan 2026 17:07:06 GMT
Stop time: Wed, 28 Jan 2026 17:07:07 GMT
Current status: 0 (Normal)
Standard output/error:
Synology_enable_eunit v3.1.25
DS1621+ DSM 7.3.2-86009
StorageManager 1.0.1-1100
Using options: -e --unit=dx510 --autoupdate=3
Running from: /volume2/Surveillance-Station/DX510_enable/syno_enable_eunit.sh
Connected Expansion Units:
Eunit port 1 - DX510
DX517 is enabled in /etc/model.dtb
DX517 is enabled in /etc.defaults/model.dtb
DX510 is enabled in /etc/model.dtb
DX510 is enabled in /etc.defaults/model.dtb
DX510 selected
DX510 already enabled in model.dtb
Disable device /dev/sata1 NCQ successfully
Device sata1 NCQ is already disabled (queue depth 1), nothing to be done
Disable device /dev/sata1 NCQ successfully
Device sata1 NCQ is already disabled (queue depth 1), nothing to be done
Disable device /dev/sata1 NCQ successfully
Device sata1 NCQ is already disabled (queue depth 1), nothing to be done
Disable device /dev/sata1 NCQ successfully
Device sata1 NCQ is already disabled (queue depth 1), nothing to be done
Disable device /dev/sata1 NCQ successfully
Finished
@007revad commented on GitHub (Jan 29, 2026):
So DSM is still seeing the DX517 as a single eSATA drive.
Have you rebooted since running the script?
Do you see the DX510 in "Storage Manager > Overview" like:

What does the following command return via SSH:
or run as root in task scheduler:
And what does this command return (via SSH or task scheduler)
@llmogenmo-netizen commented on GitHub (Jan 30, 2026):
I see the Expansion unit in Storage Manager- but the drive inside is not green (it's all black/unpopulated) but the drive -itself- shows up in Control Panel/External Devices. I have tried with one spare drive I have in the 2nd slot- the drive still shows up.
When I run "sudo syno_slot_mapping | grep 'Eunit port' | awk '{print $5}'", the system returns the expansion device, DX510
When I run "for f in /tmp/eunitinfo_*; do cat "$f"; done", the system returns the same info.
@007revad commented on GitHub (Jan 30, 2026):
Do you mean with 2 drives in the DX510 you still see the first drive (but not the 2nd drive) in Control Panel > External Devices?
Does the following command return "Binary file /run/model.dtb matches"
Are the following LEDs On, Off or Flashing?
POWER
eSATA
RAID
STATUS
ALERT
HDD tray
I notice that your drive that is in the DX510 shows it has a partition (in Control Panel > External Devices). DSM often won't show drives in storage manager if they have non-Synology partitions on them. Try connecting the drive to a computer and deleting all the partitions that are on the drive.
@llmogenmo-netizen commented on GitHub (Feb 2, 2026):
I changed the array to 2 larger drives mirrored; so now I have 4 drives I can test with. (your other app Synology-App-Mover is awesome- Will leave a donation over there!)
Regarding the issue at hand:
The eSATA & Status LEDs are solid green. The RAID & Alert are OFF. (Power is on, Solid Blue). Individual drive LEDs are green.
When I run "grep 'dx510' /run/model.dtb" the response is "Binary file /run/model.dtb matches"
The 4 drives pulled from the now removed/disabled array were directly plugged into the DX510, and they all show up as External Devices; they have Synology made partitions.
@007revad commented on GitHub (Feb 3, 2026):
Thanks for the donation. I'm really proud of syno_app_mover, and it's 3,650 lines of code! GitHub ranks it as my 3rd most popular script, behind syno_hdd_db (2,700 lines of code) and syn_smart_info (1,600 lines of code) . I'm not sure how GitHub determines which is the most popular. It's not the number of stars or readme views.
Searching in the DS1621+'s DSM 7.3.2 for 'dx517' returns these files:
Searching in the DS1621+'s DSM 7.3.2 for 'dx513' returns these files:
Searching in the DS1621+'s DSM 7.3.2 for 'dx510' returns these files:
We've already added the dx510 to model.dtb. So dx510 is missing in:
Without dx510 in scemd you'd only miss out on fan speed control and warnings if the fan (fans?) fail.
mv14xx.ko contains:
Since mv14xx.ko and scemd also don't contain dx513 and the dx513 does work with my script I doubt mv14xx.ko or scemd are the problem.
I'm not sure about libHardware.so
For dx513 and dx510 I copied what is in model.dtb for the dx517 and just changed the dx model. Maybe I need to change something else.
@ctl26481 commented on GitHub (Feb 3, 2026):
DS1621+ can definitely do as one have explored DX213 at here.
One thing came to mind is messed up dts, this behavior is similar to XPE when you force disk hotplug option without custom dts.(same disk number appearing in $torage Manager) A dts/dtb dump(DX enabled by script) may be necessary for examination.
@007revad commented on GitHub (Feb 7, 2026):
@llmogenmo-netizen
Can you download a copy of /run/model.dtb and zip it then attach the zip file in a reply here.
@llmogenmo-netizen commented on GitHub (Feb 7, 2026):
after SSH'ing in, ran "find / -name model.dtb 2>/dev/null", it found 4 model.dtb files. located in different locations.
/.syno/patch/model.dtb
/etc/model.dtb
/etc.defaults/model.dtb
/run/model.dtb
They have all been put in their own respective subdirectories in the file attached.
Model.dtb.zip
@007revad commented on GitHub (Feb 7, 2026):
/etc/model.dtb, /etc.defaults/model.dtb and /run/model.dtb are all identical (as they should be) and the DX510 section at the end looks okay (the same as DX517 but with dx517 replaced with dx510).
The only thing I'm not sure about is the libata settings which may need to be different for a DX510 (and RX410).
kerem referenced this issue2026-03-07 19:11:02 +03:00