Table of Contents

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 proxmox install

<https://xpenology.com/forum/topic/68165-xpenology-%D0%BD%D0%B0-proxmox-%D0%B1%D0%B5%D0%B7-%D1%82%D0%B0%D0%BD%D1%86%D0%B5%D0%B2-%D1%81-%D0%B1%D1%83%D0%B1%D0%BD%D0%BE%D0%BC/>

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/

  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 boot Loader

Synology

Synology monitoring

Synology hardware

CPU mutants - мутанты

Synology problems resolving

Synology virtualization

manual expand volume

# 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

Synology Move packages to another volume

# 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

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

My hardware

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

Fan

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

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

Scheme

conclusion

  • блок питания flex дорого и экономить на нём нельзя,
  • верхних вентиляторов штатно нет - доработка,
  • индикации под LCD экран нет, - готовлю отдельный вырез на морде.