My xpenology
arc loader
date | name | code | comment |
---|---|---|---|
2024-04-21 | xpen-test2 | FGENUHQKL | after update |
2024-04-21 | xpen-test2 | BBMLK4Z49 | before backup |
Backup
Idea
- Собираем бюджетный домашний NAS на 14 ТБ https://habr.com/ru/companies/ruvds/articles/837642/
- купить низкопрофильный вентилятор Thermalright AXP-90 X36
- низкопрофильный вентилятор innovision fan
Synology News
Find synology http://find.synology.com или http://synologynas:5000 ( synologynas.local:5000 apple) – Script
# Temp and fan echo fan && cat /sys/class/hwmon/hwmon1/device/fan*_input && echo 'temp' && cat /sys/class/hwmon/hwmon0/temp*_input # UPS upsc ups | grep load # Smart get data smartctl -a /dev/sda -d sat lvs -a -o +devices
Synology proxmox install
Synology Install
*Synology on proxmox https://hotstuff.asia/2023/01/03/xpenology-with-arpl-on-proxmox-the-easy-way/
virtual dsm in docker https://xpenology.com/forum/topic/68136-new-virtual-dsm-in-docker/page/4/
- Install community packages source https://packages.synocommunity.com
- install packages and dev tools BASH
- Diagnostic toold
sudo synogear install
BASH - Install entware - https://github.com/Entware/Entware/wiki/Install-on-Synology-NAS
- Notification to telegram - <
https://api.telegram.org/bot(Токен)/sendMessage?chat_id=(IDчата)&text=Hello+world&user=NAS920&password=Password&to=12345678
> <https://api.telegram.org/bot(Токен)/getUpdates
> - UPS config
- Synology – Moving a package between volumes - https://bartlaarhoven.nl/posts/synology-move-packages/ DSM6
Synology boot Loader
- update xpenology <https://dzen.ru/a/ZG0JGcHKIDSQPn1N>
- Arc Loader https://auxxxilium.tech/redpill/
Synology
- basic command lines CLI synology - https://mariushosting.com/synology-basic-command-lines-for-dsm-7/
Synology monitoring
- synology monitoring https://github.com/kernelkaribou/synology-monitoring
Synology hardware
- материнская плата Innovision atx sata 6.0
- реобас - устройство для подключения и управления вентиляторами
CPU mutants - мутанты
Synology problems resolving
- thumbnails in explorer windows - https://github.com/bruhov/WinThumbsPreloader/
- !!! grub sata sas configuration https://xpenology.com/forum/topic/32867-sata-and-sas-config-commands-in-grubcfg-and-what-they-do/
- install on not synology hardware - https://xpenology.com/forum/topic/7848-links-to-loaders/
- Synology Compile kernel module https://github.com/jim3ma/synology-igc#3-load-module
- Synology ds3622xs Fix nvme ssd cache https://xpenology.com/forum/topic/58072-how-to-have-ds3622xs-recognize-nvme-ssd-cache-drive-maybe-works-on-other-models/
Synology virtualization
- nested virtualization - https://www.reddit.com/r/homelab/comments/tfdw6s/nested_vms_on_a_synology_nas/
- working with disks on direct convert to qcow2 https://www.bjoerns-techblog.de/2019/02/migration-von-synology-vms/
manual expand volume
- red hat resize lvm - https://www.redhat.com/sysadmin/resize-lvm-simple
# https://web.archive.org/web/20160116172554/http://idmedia.no/projects/xpenology/expand-volume-synolgy-dsm-doesnt-want/ # on linux not synology mdadm --assemble --scan modprobe dm-mod vgscan vgchange -ay vg1000 lvs sudo fsck.ext4 -fvp /dev/vg1000/lv sudo resize2fs -fpF /dev/vg1000/lv # on synology # get information synodisk --enum synodisk --detectfs /volume1 cat /etc/fstab cat /proc/mdstat
Synology Move packages to another volume
- base script https://github.com/JeffersonDing/SynologyMerge
- cmds
# find symbolic links find . -type l -ls # recursive links find -type l -not \( -path "./volume*" -o -path "./sys*" -o -path "./dev*" -o -path "./proc*" -o -path "./tmp*" -prune \) -ls > /tmp/links.txt # find broken symbolic links find . -type l ! -exec test -e {} \; -print # if has stat b=$(find / -type l); for i in $(echo $b); do stat $i ; done |grep -i broken 2> /dev/null
Cloning single disk drive to multiple drives simultaneously
tools for clone disk like dc3dd and clonezilla
Synology Restore
Synology Diagnostic tool
- DSM7 install Entware https://github.com/Entware/Entware/wiki/Install-on-Synology-NAS
- DSM7
sudo synogear install
https://mariushosting.com/synology-how-to-install-diagnosis-tool/
- hot swap manual delete - rescan - https://blog.kihltech.com/2012/12/sata-hotswap-drive-in-mdadm-raid-array/
Synology photo
one of best choice
- https://www.photoprism.app/ - one of best for synology
Synology packages
Synology package creation
Synology destroy drive from superblock and meta data
# удалить superblock + meta data $ SIZE=$(( $(blockdev --getsz $YOUR_DEV) - 10240 )) $ dd if=/dev/zero of=$YOUR_DEV bs=512 count=10240 $ dd if=/dev/zero of=$YOUR_DEV bs=512 seek=$SIZE count=10240
Synology surveillance CCTV
Synology DSM
- Cross compilation framework to create native packages - https://github.com/SynoCommunity/spksrc/wiki/FAQ-SynoCliDisk
- synology kernel module compilation example - https://github.com/kyzia/Xpenology/blob/master/README.md ( onlu module without kernel) (Intel igc
Interesting
for synology * dashy * nodered * z2m * mosquitto * syncthing * influxdb/grafana/chronograf/telegraf * gitea * freshrss * rsshub * vaultwarden * traefik * esphome * minio * kms_server * photoprism
My Xpen
My hardware
-
- вентиляторы - Arctic P8 PWM 4 + ШИМ PWM Fan Speed governor - для температурного управления и остановки
- БП flex → 500 watt - текущее потребление ~50w
- отдельно стоит отметить отличную MB от innovision
- LGA-1151 - b360
- 6*SATA 3.0 + 2*M.2 nvme на борту
- +2 x 2.5 GB ethernet штатно
по ощущения от корпуса 4/5 от MB 5/5
Fan
- приличные вентиляторы не шумят <30 db , слышно шпиндели и головки
ранее использовал sunon(подшипник с магнитным подвесом) - надёжнее но громче, noctua дорого и после переехал в рабочее место оно ближе и должно быть тише
Scheme
conclusion
- блок питания flex дорого и экономить на нём нельзя,
- верхних вентиляторов штатно нет - доработка,
- индикации под LCD экран нет, - готовлю отдельный вырез на морде.