-
All in one backup solution with a GUI
You can go further and place a backup-server at another family-member's home. Then encrypt all data, which is sent to that device. The family-member could benefit from this as well if you can convince them to also use synchting. For myself, I did go a step further and encrypt all my personal data to all syncthing-servers. This way no other member can see my personal files, but we can still share the storage and meet very high privacy standards where not even the admin of the storage (or an intruder) could read the data. We can even share specific directories if we share the dedicated encryption-key for that directory. You then need to take care of your phone/pc - security wise - primarily which should be more managable than caring about the server each day. As a bonus: create a script where you stop the syncthing-container and rsync all shares to a USB-backup, which only starts once in a while(via time switch) and is mounted automatically. Then, start the container again, of cause.
-
Zaphragor started following BTRFS - Script for mirror-rebuild status
-
BTRFS - Script for mirror-rebuild status
I just tried out rebuilding a BTRFS-Mirror with a new SSD. I found out there is no integrated way to monitor the mirror-rebuild status. So I created a little script which monitors the status of the rebuild every 5 Minutes and notifies to the notification center. The script might be far from perfect, but I thought I would share for anyone desperate for more infos. Any upgrades are welcome! Just create a new script in User-Scripts and enter the name of your cache in the first variable. Mine is "qvoraidone". As soon as you replaced the broken SSD with a new one and started the array, you can let the script run in the background. #!/bin/bash #Enter name of cache to rebuild! cache="qvoraidone" #Variable for notification-timer in seconds notificationtime="300" #Putting the btrfs command into a variable distribution="btrfs device usage /mnt/$cache/" #Start a loop to notify the user every $notificationtime seconds about the status while true do #Make it multiline multilinedistribution="$($distribution \ )" #Get the two lines with "Data,RAID1 " and Capture anything until the first "G". #Then put "o1"(only Group1), so everything between "Data,RAID1 " and "G" into a variable. #Looks like this "105.00 30.00" datasize=$(pcregrep -o1 '.*Data,RAID1: ([^G]+)' <<< "${multilinedistribution}") #Exchange the "." with "," - Not needed anymore #datasizecomma="${datasize2//./$','}" #echo datasizecomma $datasizecomma #Put them in an array for calculation array=($datasizecomma) array=($datasize) #Determine which is the larger number if [ ${array[0]} \> ${array[1]} ] then #calculate the percentage of the larger number echo --------------------------- status=$(awk "BEGIN {print ${array[0]}/${array[1]}*100}") echo "BTRFS-Rebuild status: "$status"% completed!" /usr/local/emhttp/webGui/scripts/notify -i normal -s "BTRFS-Rebuld still in progress!" -d ${array[0]}"GiB/"$status"% mirrored!" sleep $notificationtime else if [ ${array[1]} \> ${array[0]} ] then #calculate the percentage of the larger number echo --------------------------- status=$(awk "BEGIN {print ${array[1]}/${array[0]}*100}") echo "BTRFS-Rebuild status: "$status"% completed!" /usr/local/emhttp/webGui/scripts/notify -i normal -s "BTRFS-Rebuld still in progress" -d ${array[1]}"GiB/"$status"% mirrored!" sleep $notificationtime else #Determine if the numbers are equal if [ ${array[1]} \= ${array[0]} ] then echo --------------------------- echo "Rebuild finished! "${array[0]}"GiB mirrored!" #Info to unRAID /usr/local/emhttp/webGui/scripts/notify -i normal -s "BTRFS-Rebuld finished!" -d ${array[0]}"GiB mirrored!" break else echo "ERROR, calculation failed!" #Warning to unRAID /usr/local/emhttp/webGui/scripts/notify -i alert -s "BTRFS-Rebuild Error!" -d "Could not calculate progress! Is "$cache" mounted?!" break fi fi fi done #More output echo --------------------------- echo "Data, single needs to be 0!" echo "Data,RAID1 needs to be identical to be finished!" echo --------------------------- echo "Distribution" echo --------------------------- $distribution
-
[Plugin] autotweak
Resolved this by myself: /boot/config/plugins/autotweak/autotweak.cfg For anyone who runs into this issue.
-
[Plugin] autotweak
Hi, first of all: Great plugin! Already safed a buck on one of my machines. However, another machine got an error: I happened to set PCI PM Control: enable and Power Profile: Power Super Safe Now I can neither log into the webgui nor via SSH. Is there any way to revert these settings from the boot stick? Thanks ahead!
-
Zaphragor started following unRAID 6.9.2 crash when enabling amdgpu
-
unRAID 6.9.2 crash when enabling amdgpu
As soon as I run modprobe amdgpu or edit the amdgpu.conf and reboot I get a greenscreen just when the VGA is loaded. I need to remove the file manually from the stick to get it up and running again. I activated VFIO Both. BIOS-settings: SMT, SRV-IO, IOMMU are activated. CPU: AMD Ryzen 2400G Motherboard: ASRock A320M-HDV R4.0 Any suggestions? unraid-diagnostics-20211201-1302.zip
-
[Support] ich777 - Jellyfin AMD/Intel/Nvidia [DEPRECATED]
Thank you very much for the fast reply! Yes I will do so.
-
[Support] ich777 - Jellyfin AMD/Intel/Nvidia [DEPRECATED]
Hi, I'm on unRAID 6.9.2 and get a green-screen if I write the amdgpu.conf and reboot. I'm currently using a Ryzen 2400G without any dedicated PCIe graphics card. I'm pretty new to unRAID and not really sure how to debug this error. I tried to change my main graphic output in the BIOS, but that won't help. PCIe ACS override is set to "Both". Installing Radeon Top causes the same error. Any ideas what could cause this?
Zaphragor
Members
-
Joined
-
Last visited