nadiva

Members
  • Content Count

    26
  • Joined

  • Last visited

Community Reputation

4 Neutral

About nadiva

  • Rank
    Junior Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. - Outcome of the update: SUCCESSFUL - DSM version prior update: DSM 6.2.2-24922-update 5 - Loader version and model: JUN'S LOADER v1.04b - DS918+ - Using custom extra.lzma: YES v0.11 - Installation type: BAREMETAL - HP ProLiant Microserver Gen10 X3421, 32GB ECC RAM, SDD. HDD, Intel NVME 2TB, Aquantia 10gbit NIC, DVD, USB Audio, UPS - Additional Comment: Semibrick install (PAT in UI + copy extras in file manager before boot). Lost few settings and root folder. Both NVME as standalone drive and 10gbit 3rd NIC worked after patches and another reboot
  2. Good to know. I am now rsyncing these folders now (what a cheap small backup). Maybe mirroring boot drive would be helpful too. I was scared to do "migration" instead of semibricking method because you say "In case of a "migration" the dsm installer will detect your former dsm installation and offer you to upgrade (migrate) the installation, usually you will loose plugins, but keep user/shares and network settings". I don't know what are "plugins" in DSM world but sounds scary. I hope you don't mean packages. This version 6.2.3 didn't solve any problem so far - CloudStation/Drive chaos, Moments/Photos chaos, replicating homes still crashing although explicitely "fixed" recently.. Can't wair for DSM7!
  3. I waited a bit and after 6.2.3 25426-0 PAT was available (today) I started the upgrade. HP Gen 10 with 10gbit NIC and standalone NVME drive, DVD, and USB sound. Upgrade from 6.2.2 extra918plus_v0.7_test -> 6.2.3 extra918plus_v0.11 was very easy: upgrade manually in UI (reboot) copy extras to USB drive in Windows and boot patch_LAN; activation patch (newest but not yet with this version, just add the ""6.2.3 25426-0"" string as last); libNVMEpatch (newest) patch and reboot Super quick, no rufus / osfmount / imager, lovely. NVME standalone drive - didn't remove it before upgrade despite recommendation (but i don't use it as a cache), and didn't need to set up "md" logical drive after upgrade. Just patch. Same with 10gbit Aquantia NIC. On boot, server speaks "System started", pushbullet "NAS" custom "device" sends notification but it deleted the custom notification as a way of making sure i'm aware of restart via all possible ways. It also deleted the /root folder so will spend a lot of time to reconstruct my hacks.
  4. actually 2$ speaker discharged every few weeks and sound was terrible. Unlike this 10$ USB sound card with integrated speaker, whichs sounds great! (and is the only of this kind i found, combining both sound card and USB powered on a single USB plug). Then you can add custom DSM UI notifications along with sound to your scripts (you want your own Notification events with email? sure: https://www.beatificabytes.be/send-custom-notifications-from-scripts-running-on-a-synology-new/ synodsmnotify @administrators "DSM notification" "Hello user" /volume1/@appstore/AudioStation/bin/mplayer /tmp/test.mp3 If you want MORE sound.. you add boot and shutdown script to make noise. Useful! Finally you want to add sound to standard Synology events. I do this. I translate the incoming emails in a dedicated folder to sound. Not with generic TTS technology (no such package found), but with custom sounds generated at http://www.fromtexttospeech.com/ . I care about all "failures" and few more events. So i just translated the text to mp3 quickly on that website. Then I run email harvester to play it based on specific email content: #/bin/bash id=$(id -u $1) echo "Monitoring user [$id] emails..." while true; do #collect list of emails arrived last minute find /volume1/MailPlus/@local/$id/$id/Maildir/.INBOX.Notifications/cur/ -type f -mmin 1 | while IFS= read -r newemail; do #grep error text and Synology header if [ "$(grep -Pzl '(?s)failed.*\n.*Synology DiskStation' $newemail)" == "$newemail" ]; then nohup /volume1/@appstore/AudioStation/bin/mplayer /root/failuredetected.mp3 2> /dev/null & echo "$(date) Generic failure alert" elif [ "$(grep -Pzl '(?s)An I/O error occurred to drive.*\n.*Synology DiskStation' $newemail)" == "$newemail" ]; then nohup /volume1/@appstore/AudioStation/bin/mplayer /root/driveerrordetected.mp3 2> /dev/null & echo "$(date) Drive I/O error alert" elif [ "$(grep -Pzl '(?s)A file system error was detected.*\n.*Synology DiskStation' $newemail)" == "$newemail" ]; then nohup /volume1/@appstore/AudioStation/bin/mplayer /root/filesystemerrordetected.mp3 2> /dev/null & echo "$(date) File system error alert" elif [ "$(grep -Pzl '(?s)was not ejected properly.*\n.*Synology DiskStation' $newemail)" == "$newemail" ]; then nohup /volume1/@appstore/AudioStation/bin/mplayer /root/usbnotejectedproperly.mp3 2> /dev/null & echo "$(date) USB ejection alert" fi done sleep 60 done You could also use one of the notification packages to forward notifications to specific email / text file and process it with different script. That'd add couple of more events (e.g. USB copy finished, why is this isn't emailed:(( ). This way we have so far: * AudioStation very nice playback * DSM boot, shutdown, custom tasks and any Synology events interpreted as speech or sound * no external packages needed, no rechargeable batteriers needed, no QNAP NAS needed (feat. voice notifications, why Synology doesn't have it?), no more crying about missing "beep" DSM function on a custom hardware To do: * remote control * redirect Video Station to USB sound, add big screen and make it a 4K home cinema
  5. no need for gpu, those mentioned gpus are rather weak, it doesn't make much sense of processing just slightly faster. i only like the benefit of displayport vs VGA on Gen10. buying next server, i will not consider gpu at all, and unless i want to have 100W server, which i don't, i won't care about a weak gpu inside, which can't transcode 4K anyway.. just let the cpu process those files, it works well. not worth of moving to omv whatsoever. running 6.2.2 with 10gbit and standalone NVME, i still prefer it vs openmediavault/freenas big time. had 2 crashes (1 brtfs panic and 1 btrfs kworkerd freeze), not ideal, but no consequences like in ZFS which totally failed. having NVME sync to RAID creates tripple redundancy, while SSD holds apps. moved from replication to hyperbackup as homes couldn't replicate and browsing backups is comfortable in hyperbackup. found this trick if you hate syno shares (photo, video, music) and want to use your own folder structure mount --bind /volumeX/Group/Pictures/ /volumeX/photo/ unlike ln -s command, this one is not ignored by syno and is fully visible and processed by indexing. Add to rc.local. automatic (Lets Encrypt) certificate distributor: git new plex to sync (my fork actually works much more stable): git can't wait for DSM7 discussions, nothing really new coming but they fix Moments/PhotoStation trouble (was inconsistent by all means with other apps and not reliable).Still no FDE:(
  6. thanks for the guide. there are conditions for this communication, two way authentication should be temporarily off (error 402), host/port must be the same in the process, and in my case, couldn't use hostnames. Use private session not to store credentials to history.
  7. - Outcome of the update: SUCCESSFUL - DSM version prior update: DSM 6.2.2-24922-update 4 - Loader version and model: JUN'S LOADER v1.04b - DS918+ - Using custom extra.lzma: YES. IG-88's v0.7beta - Installation type: BAREMETAL - HP ProLiant Microserver Gen10 X3421, 32GB ECC RAM, Intel NVME 2TB + Aquantia 10gbit - Additional Comment: Manual PAT v5 install and reboot required. Both NVME as standalone drive and 10gbit 3rd NIC worked after boot without any fixes.
  8. beauty of ZFS/BTRFS beside copy-on-write, checksumming, is what most people don't use even when given for free: - snapshots which is comfortably visible as Previous Versions in windows Explorer properties - files not overwritten when replaced, deleted, instead kept as transaction or put to samba thrashbin (+snapshot +replication +Drive versioning +online backup) forums: - efficient operation with blocks, deduplication, instead of rsyncing files on high level, you can copy whole shares as it was a file, in ZFS without reencrypting - you can create a block device inside of a pool, the VM will think it's Ext4, while you add benefits of your fs on top of this primitive fs - compression with negligible impact which works on data partitions, i had 30%+ savings - (ZFSonLinux) native encryption, which i've tested as super fast on debian list of good resources: xpenology list of syno ports: https://www.synology.com/en-global/knowledgebase/DSM/tutorial/Network/What_network_ports_are_used_by_Synology_services list of syno commands: https://github.com/wuseman/SYNOLOGY my notes full of commands to push limits and break rules of DSM, freenas, OMV benchmarks notes (pic):
  9. No, i ment that those are the busiest times to produce noise. I don't think my GPU was ever used and honestly i don't care: Yes I actually never tried the cache and just formatted it into a volume due to - cache limit, not utilizing most of the space - i love main data to reside on high IOPS high sequential speed NVME drive, then replicate to RAID, that's why i bought it, not for a cache which canshould be substituted with RAM - i didn't move all stuff yet but later i want incremental backup with snapshots, ZFS/BTRFS style send->receive, and this is done with 'Snapshot replication' foremost or 'HyperBackup'. All other backups are amateurish, they don't send changed blocks (in ZFS even encrypted), and snapshots for double recovery from each drive, and even system files. This is where the beauty of ZFS/BTRFS is
  10. Gen10 finding. See my story here. Indeed after boot, performance is lower and fans never scream. I had to tweak it that way (now added as post boot script) in order to get the following improvement: openssl speed -elapsed -evp aes-256-xts from 1200000 to 3200000 OPENSSL_ia32cap="~0x200000200000000" openssl speed -elapsed -evp aes-256-gcm from 60000 to 160000 hdparm -Tt /dev/nvme0n1 from 1200 to 2500MBs dd if=/volume3/moviefile of=/dev/zero bs=4G count=1 from 600 to 1200MB/s same idle power consumption, but 3x faster calcs, 2x faster drives and some fan noise under load. If anyone has openssl xts last number 1mil instead of 3, you better check this. seems acpi-cpufreq driver, the only one available as seein in ls /usr/lib/modules/*cpu*, is confused here, and sets low TPU max (12W), but the CPU can boost to 35W when needed. Other cpu freq drivers (not governers) for AMD are powernow-k8 and pcc-cpufreq, the first one supposed to by replaced by acpi-cpufreq, the later one is "recomended for ProLiant servers". So i looked into my collection of DSM test files, but there isn't one. this also gives us idea how full disk encryption could be fast - up to 3.2GBs! Not far from i7 Pro desktop performance. I personally have disk encryption as fast as openssl benchmark (xts or core count * cbc/gcm bench) on any device incl router. (My router provided me encrypted 1gbit shares for years at full speed, that's why i find it a complete joke to buy a NAS which can do 1gbit encyption only.) here you have evidence how poor are all file encryptions. for those who dont believe how poor is file encryption, see the numbers: dd if=/dev/zero of=/volume3/normalsharedfolder/test bs=4G count=1 0+1 records in 0+1 records out 2147479552 bytes (2.1 GB) copied, 1.90531 s, 1.1 GB/s dd if=/dev/zero of=/volume3/encryptedsharedfolder/test bs=4G count=1 0+1 records in 0+1 records out 2147479552 bytes (2.1 GB) copied, 1.88765 s, 184 MB/s cached file copy same. samba surprisingly faster - 300MB/s. puzzling as no physical writes happen when copy done, no cache effect. still encryptfs is not good. Full disk encryption would do 1.0-1.1GB/s. No doubt Qnap doesn't use this. In the era of native encryption coming to ZFS, it's shocking Synology would use this obsolete method.
  11. is 1 ok for AMD? 4 cpus are listed in cpuinfo, but cores=1. interesting by default cpu is at max freq all of the time in all OS, but in DSM the performance is halved after boot (proven by benchmarks). scaling_setspeed is <unsupported>. Governor is performance. Min freq, max freq is correct. cat $(ls /sys/devices/system/cpu/cpufreq/policy*/scaling_cur_freq) 2100000 2100000 2100000 2100000 grep "MHz" /proc/cpuinfo cpu MHz : 2100.000 cpu MHz : 2100.000 cpu MHz : 2100.000 cpu MHz : 2100.000 cpuinfo_min_freq, cpuinfo_max_freq, cpuinfo_cur_freq, all seems correct, but performance is lower aes-256-xts 90198.74k 342936.66k 777926.06k 1132937.56k 1292978.86k setting governors does nothing, powersave keeps lowest freq, performance keeps highest freq (only the scaler.sh does the job, although very slowly.). driver is acpi-cpufreq, only one available on DSM. i set scaling_driver to highest freq, still low performance and fans off. dmidecode and UI shows highest freq. Performance still low. tried hundred commands, only when setting scalers up and down (which sets userspace), and then setting performance: for i in 0 1 2 3; do cpufreq-set -f 1400 -c $i; done for i in 0 1 2 3; do cpufreq-set -f 2100 -c $i; done for i in 0 1 2 3; do cpufreq-set -u 1400000 -c $i; done for i in 0 1 2 3; do cpufreq-set -u 2100000 -c $i; done for i in 0 1 2 3; do cpufreq-set -g performance -c $i; done ........performance is unlocked and fans go loud under load aes-256-xts 225339.77k 833591.27k 1901271.72k 2758488.41k 3190287.02k idle consumption is the same. i think the sequence of commands unlocked CPU TPU max from 12W to 35W. Crazy.
  12. so you can just use synodsmnotify @users title message, or enhance use with community packages "Growler", "Notification Messenger", "Notification forwared", "Notification Essentials". And add own sound to it. Ideally, i'd like a package which can read the message loud:) Anyways, here's the notification with sound (pic):
  13. nadiva

    NVMe cache support

    overlooked this post, indeed i did this meanwhile and running NVME drive happily. Now i'm searching for a solution to turn on the full disk encryption and idle the spinning drives. like it was possible years ago, when the procedure was easy: install DSM without spinning drives, add them later. Nowadays drives are resumed immediately after hdparm -Y <drive>.
  14. yep, thanks for that. heh i might buy a syno for family, but for me i wouldn't call their retail machines great, as they throw outlet CPUs inside, no ECC, no full disk encryption, security is poor out of the box, running services under root, forcing Plex to be an user sharing the data with real users (who are forced to be part of users group), etc etc. but but all of this can be tweaked in a persistent way. same with the patches - i find it trivial to make it persistent even after upgrades. even other OS deleted some of my tweaks, actually exactly the same - e.g 10gbit NIC, so i scheduled it using their persistent scheduler. regarding NVME, hearing people have no problem running after minor and major upgrades! that's why i love DSM on custom machine. replace rubbish hardware with decent one, harden the security, and enjoy the greatness. re noise, i'm lucky with it, but it seems DSM is throttling the speed down as well. all seems to be fast generally, but e.g. openssl speed is not fast as it should be. no impact of fan speed mode in Hardware & Power panel. also no luck with synofandebug, synofanconfig, synotune. oh wait, why do i have memory compression on! re audio, yes it works, plug in some 5$ usb sound card with $2 speakers attached, and AudioStation will play music from your custom machine asap. to test, use: /volume1/@appstore/AudioStation/bin/mplayer <file.mp3> and now that we have this command, we can load a notification package from one of the two know alt repositories, and ta da... you have custom notifications with sound. i'm customizing what i can: plex trakt total sync for free, ssh via certificate even with homedrives unlocked, mandatory parity check postpone, shell with autocomplete/autocorrect/syntaxhighlightning, update certificate automatically into all apps and make it valid for external domain and on LAN at the same time without ever confirming in browser! etc. if you're interested, let me know.
  15. Hello to the owners of the best NAS server ever. The one and only AMD 12watt 5000passmark device, more than twice as powerful as DS918+ while quieter and lower on energy and at the same price. After installing the great IG-88's image, i just activated NVME with libNVMEpatch and added 10gbit with synoinfo NIC patch. This is my first NAS install (after ovm, freenas, proxmox etc) which didn't crash or didn't need a single restart since set up! No matter what was configured. To my shock, DSM manages its quietness even during transcoding and busy times. All other OS made it shout loud in an annoying sinusoid sound profile. I have a basic Intel 1800MB/s NVME (cheapier than sluggish SSDs of the same size) on a PCIx8, on a generic PCI to NVME adapter and cheap 10gbit Aquantia on PCIx1 (it is PCIx4 but only 1 active lane). Since it's PCI3 it still gives us power thirsty maniacs beautiful 1000MB/s (still i noticed Gen8 owners in other forums moan they will never buy Gen10, stuck in 1gbit era, they should try). Rationally we give the better bus to NVME because it can get benefit of faster internal transfers, while 10gbit will likely won't reach top speed most of the day. There's just a little loss of bandwith. I've put a passive cooler plate on it, it boasts incredible low 24C temperature when idle. So definitely both PCIs can be nicely utilized, 1x is not for low priority devices at all, i attached sound card via USB in order to have notifications loud in future. But i wanted more. I wasn't happy with NVME cache limit of 440GB and possible cache rebuild after reboot (which didn't happen) and possible leak of unencrypted data (not sure if it's the case, can't find out if @ecryptfs@ files are copied there or not) so I've set up a NVME volume: And here's the 2TB NVME working hard to deliver hot data (user data except movies), and being synced to RAID (cold data) in order to create another layer of redundancy like in lazy RAID systems (Unraid, SnapRaid) (attachment). That was my dream setup like I did replication in ZFS, which however crashed the drives completely and the OS too. In that moment, I looked into IG-88 new messages while wiping the old OS, and realized we can now have a maxed out DSM setup. The last thing to solve is to make RAID drives idle. Probably need to dig deep to agents which maintain the annoying 2GB RAID on each drive. And full disk encryption, but no package in alt repositories.