arc loader
date | name | code | comment |
---|---|---|---|
2024-04-21 | xpen-test2 | FGENUHQKL | after update |
2024-04-21 | xpen-test2 | BBMLK4Z49 | before backup |
Backup
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/
sudo synogear install
BASH
https://api.telegram.org/bot(Токен)/sendMessage?chat_id=(IDчата)&text=Hello+world&user=NAS920&password=Password&to=12345678
> <https://api.telegram.org/bot(Токен)/getUpdates
># 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
# 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
sudo synogear install
https://mariushosting.com/synology-how-to-install-diagnosis-tool/one of best choice
# удалить 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
for synology * dashy * nodered * z2m * mosquitto * syncthing * influxdb/grafana/chronograf/telegraf * gitea * freshrss * rsshub * vaultwarden * traefik * esphome * minio * kms_server * photoprism
по ощущения от корпуса 4/5 от MB 5/5
ранее использовал sunon(подшипник с магнитным подвесом) - надёжнее но громче, noctua дорого и после переехал в рабочее место оно ближе и должно быть тише