-
-
Save CraKeyBoy/4720e08d3548cd89b341d5b376656112 to your computer and use it in GitHub Desktop.
Synology DS216+II eSata as a volume on DSM 7.2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment