Dies ist eine alte Version des Dokuments!
There are two files you want to edit and luckily for us, the changes in both files are the same. Warning: Don’t copy the files over each other. While they are similar, they are not the same.
You want to change two the two files:
/etc/synoinfo.conf
/etc.defaults/synoinfo.conf
Settings and Explanation
In both configuration files of the DS1513+ are the lines:
usbportcfg=”0x3f0000″
esataportcfg=”0xc0″
internalportcfg=”0x1f”
maxdisks=”5″
If you have a different model, your initial configuration will be different.
The *portcfg properties are bitmasks which define which drive will be mapped to which DSM drive management mechanism. What this means is that your drive sda is the least significant bit, sdb is the second after that and so on.
Let’s look at internalportcfg
internalportcfg=”0x1f”
0x1f is the hex value which represents binary 0001 1111. This tells DSM that the first through the fifth enumerated drives (sda → sde) will be treated like internal drives.
Now, let’s look at externalportcfg
esataportcfg=”0xc0″
0xc0 is the hex value for binary 1100 0000. What we want to is to set all the bits to zero. This will tell DSM that non of the enumerated drives are connected to the eSATA interface and then transfer those bits into the value of the internalportcfg property which will become 1101 1111 or 0xdf.
It is curious that the sixth bit (counting from the right) is a zero. That means sdf is being used somewhere, but it’s not an internal sata or external eSATA drive. That needs to be further investigated. New settings – All eSATA are now Internal
After migrating the bits from esataportcfg to internal portcfg and updating the number of max disks, what we get is:
usbportcfg=”0x3f0000″
esataportcfg=”0x00″
internalportcfg=”0xdf”
maxdisks=”7″
With those changes applied and the Synology NAS restarted, any disks attached to the eSATA ports will be displayed in the UI as an internal drive. You can use this to expand your volume or utilize as an SSD cache.
New Settings – All drives are internal
First off, must say that I have not tried this for any length of time, but it does seem to work. I decided not to stick with these settings, but you’re welcome to try it yourself.
What if you want all enumerated drives to be used as part of your storage volume potentially useable as part of an SSD cache?
usbportcfg=”0x00″
esataportcfg=”0x00″
internalportcfg=”0xffffff”
maxdisks=”24″
That will tell DSM to use the first 24 disks discovered by the kernel as internal drives.
I’m confident that this will lead to data reliability issues, mostly on drives connected to USB. These risks may be acceptable to you.