Everything posted by 54tgedrg45
-
[Plugin] CA User Scripts
I was searching for the path of the logs since there is no download button that grabs them. I'm now thinking of putting all output together with the rsync log file at backup destination.
-
[Plugin] CA User Scripts
Eum, where are the script output logs stored? after execution(of all scripts) I get the trashcan to delete log icon/prompt to delete log of task name, not informing path of log. How to view them? No idea where it would be. at flash /logs it shows none. Edit: OK, they can be found at /tmp/user.scripts/tmpScripts/ # logfile log.txt
-
Execution error - Cannot get interface MTU on 'virbr0': No such device
This happen to me after stopping the array, changing the DNS, and restarting the array. ty sturmstar
- ZFS filesystem support
- NVMe CLI utility
-
btrfs snapshot management + VM
+1
-
How to automatically wake from sleep?
I wonder how Synology is able to wakeup when receiving things like SMB request, I can only think of basic packet detection done with some BMC interface. For my situation I assigned an old rpi to send magic packets to the Unraid on known clients ping status 0. as the operating times vary. a.t.m I have this current cron job for testing: #!/bin/bash # 20200607 # sudo crontab -e # sudo apt-get install etherwake # sudo apt-get install fping # Config MACADDR[0]="AA:BB:CC:DD:EE:FF" #MACADDR[1]="AA:BB:CC:DD:EE:FF" IPHOSTS[0]="x.x.x.x" #IPHOSTS[1]="x.x.x.x" IPCLIENS[0]="x.x.x.x" IPCLIENS[1]="x.x.x.x" NICID="ethx" # Wakeup wakeupDevice(){ printf "\nSending Magic WOL packet with: \n\tsudo etherwake $1 -i $2\n" sudo etherwake "$1" -i "$2" } triglog="/var/log/cron_triglog.log" lenh=${#MACADDR[@]} lenw=${#IPHOSTS[@]} if [ $lenh != $lenw ]; then echo "[$timestamp] Error: MACADDR and IPHOSTS array do not match in lenght, check config..." > $triglog exit 1 fi # Monitor every ~10 seconds for status i=0 while [ $i -lt 6 ]; do # NOTE: Use absulute paths! timestamp=$(date +%s) echo "$timestamp" hostsonline=false requestwol=false # Ping hosts for hip in ${IPHOSTS[*]}; do fping -c1 -t300 ${hip} 2>/dev/null 1>/dev/null if [ "$?" = 0 ]; then printf "Host %s found\n" ${hip} hostsonline=true else printf "Host %s not found\n" ${hip} hostsonline=false fi done # Ping clients if needed if [ ${hostsonline} = true ]; then printf "All hosts replied\n" else for cip in ${IPCLIENS[*]}; do fping -c1 -t300 ${cip} 2>/dev/null 1>/dev/null if [ "$?" = 0 ]; then printf "Client %s found\n" ${cip} requestwol=true else printf "Client %s not found\n" ${cip} fi done fi # Send WOL if [[ ${requestwol} = true && ${hostsonline} = false ]]; then echo "[$timestamp] WOL: Sending Magic WOL packet using ${MACADDR[$i]} - ${NICID}" >> $triglog for (( i=0; i<$lenw; i++ )); do wakeupDevice ${MACADDR[$i]} ${NICID} done fi sleep 9 # ~6 sec of tollerance, consider https://mmonit.com to manage jobs below 1 minute i=$(( i + 1 )) done
-
Dynamix - V6 Plugins
I run this plugin since 28Feb2020 on an Intel server board, and it only slept well for a few days straight after client activity, but further on it's was quite random/very rare. SSD cache Move is daily but takes only a few minutes. Parity check consumes whole Mondays every week. Is there something about btrfs partitioned drives in the pool? I have one drive(WD2000F9YZ (SE) HDD) with btrfs (only 17.3MB/2TB in use), other drives/parity are HGST Ultrastar He10/WD2002FAEX with xfs. It keeps unraid 6.8.3 awake according to log, while all disk spinned down according to unraid UI (ssd cache drives are excluded for monitoring):
-
[Plugin] CA User Scripts
If so, is it somehow possible to just capture tail of log for the plugin to display within browser limits?
-
[Plugin] CA User Scripts
Anyone also experiencing instant Firefox tab hang2crash after clicking script log of an in background running script? This happens when running rsync with quite some stdout. Currently running UR 6.8.3/ US 2020.02.27 / FF 73.0.1