Skip to content

Instantly share code, notes, and snippets.

@KirovAir
Last active August 17, 2024 20:44
Show Gist options
  • Save KirovAir/be5139181e272390a7300a1d5f26f811 to your computer and use it in GitHub Desktop.
Save KirovAir/be5139181e272390a7300a1d5f26f811 to your computer and use it in GitHub Desktop.
Synology DS216+II eSata as a volume on DSM 7.2
# THANKS TO:
# https://www.casler.org/wordpress/synology-ssd-cache-on-external-devices/
# https://www.youtube.com/watch?v=KvW6LRw1RZs
# THESE ARE THE synoinfo.conf CHANGES I MADE:
# DEFAULT:
maxdisks="2"
internalportcfg="0x3" # 0000 0011
esataportcfg="0x4" # 0000 0100
# CHANGES:
maxdisks="3"
internalportcfg="0x7" # 0000 0111
esataportcfg="0x0" # 0000 0011
cd /dev
mount -t vfat synoboot1 /mnt/synob1
cd /mnt/synob1
# copy the rd.gz file somewhere SAFE
# later, on other dev linux machine:
mkdir packed
mkdir unpacked
cd unpacked
xzcat /home/user/rd20231111/rd.gz | sudo cpio -idm
# now, modify:
sudo nano etc.defaults/synoinfo.conf
# repack
cd unpacked/
sudo find . | sudo cpio -o -H newc -R root:root | lzma > /home/user/rd20231111/packed/rd.gz
# copy the new rd.gz file to /mnt/synob1 on synology. MAKE SURE ITS OWNED BY ROOT:ROOT
chown root:root rd.gz.new
rm rd.gz
mv rd.gz.new rd.gz
# CHANGE these for good measure on the machine itself. These are seperate changes from rd.gz:
nano /etc.defaults/synoinfo.conf
nano /etc/synoinfo.conf
# reboot
reboot
@yetkopempo
Copy link

Hey thank you for this, though after restarting Synology detects there is an unused 3rd drive: "The system detected a drive (Drive 3) that is not in use. You can go to Storage Manager to manage this drive" but as a caveat, the Storage manager application completely disappeared. Any ideas apart from reverting all changes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment