hardware:synology

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

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 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/

  1. Install community packages source https://packages.synocommunity.com
  2. install packages and dev tools BASH
  3. Diagnostic toold sudo synogear install BASH
  4. 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>
  5. UPS config
  6. Synology – Moving a package between volumes - https://bartlaarhoven.nl/posts/synology-move-packages/ DSM6

Synology

Synology monitoring

Synology hardware

CPU mutants - мутанты

Synology problems resolving

Synology virtualization

# 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

DSM7 online

DSM6 online

# 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

tools for clone disk like dc3dd and clonezilla

or bash dd

Synology Restore

Synology Diagnostic tool

Linux sata manual rescan

Synology photo

one of best choice

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

Interesting

 for synology
  * dashy
  * nodered
  * z2m
  * mosquitto
  * syncthing
  * influxdb/grafana/chronograf/telegraf
  * gitea
  * freshrss
  * rsshub
  * vaultwarden
  * traefik
  * esphome
  * minio
  * kms_server
  * photoprism

scheme

My Xpen

по ощущения от корпуса 4/5 от MB 5/5

  • приличные вентиляторы не шумят <30 db , слышно шпиндели и головки

ранее использовал sunon(подшипник с магнитным подвесом) - надёжнее но громче, noctua дорого и после переехал в рабочее место оно ближе и должно быть тише

  • блок питания flex дорого и экономить на нём нельзя,
  • верхних вентиляторов штатно нет - доработка,
  • индикации под LCD экран нет, - готовлю отдельный вырез на морде.
  • hardware/synology.txt
  • Last modified: 2024/10/16 01:59
  • by admin