mirror of
https://github.com/007revad/Synology_enable_M2_volume.git
synced 2026-04-25 13:05:54 +03:00
[GH-ISSUE #58] Make it possible for USB-Disks #210
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_M2_volume#210
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 @DenisMtfl on GitHub (Jun 6, 2023).
Original GitHub issue: https://github.com/007revad/Synology_enable_M2_volume/issues/58
Since DSM 7.1 there is no Port configs in synoinfo.conf for bringing the USB-Disks to a Volume.
Do you have an idea to make it possible anymore?
@007revad commented on GitHub (Jun 7, 2023):
EDIT I seem to have pasted an answer to someone else's question here!?!?
The script adds
enable_m2_pool="yes"to synoninfo.conf. The script works for DSM 7.1.1 on some '20 and newer models.You are better off updating to DSM 7.2 and using the https://github.com/007revad/Synology_HDD_db script.
If you really want to stick with DSM 7.0 you can use the https://github.com/007revad/Synology_M2_volume script.
@007revad commented on GitHub (Jun 16, 2023):
Are you saying that DSM 7.0 let you create a volume using USB disks?
@007revad commented on GitHub (Jun 19, 2023):
@DenisMtfl
Just because the usbportcfg key is not in synoinfo.conf by default any more does not mean you can't add it. In some cases DSM will check if the key exists in synoinfo.conf and then use a default setting if the key doesn't exist.
The synosetkeyvalue command will add the key+value if it doesn't exist, or change the value if the key does exist.
Note: Using synosetkeyvalue to set a key in /etc.defaults/synoinfo.conf also sets the same key in /etc/synoinfo.conf (saves you having to edit both files by hand).
This should work:
I wouldn't set esataportcfg="0" if you use an eSATA HDD.
Set maxdisks tothe number of internal drive bays + the number of USB ports you want to appear as internal ports.