Weoxstan

Members
  • Posts

    5
  • Joined

  • Last visited

About Weoxstan

  • Birthday September 11

Weoxstan's Achievements

Noob

Noob (1/14)

2

Reputation

  1. ConnerVT Thanks for the links and the copy of your script. I too followed the video from SPX Labs and had issues. It worked once then after that it wanted a password every time. From your post I followed SpaceInvader's video and that seems to have fixed the SSH connection issue. I used one modified line from your script to test a small directory sync from my production box the backup box's unassigned device and it worked! I really like the idea of the system messaging me the stats on the sync, and since I have IPMI on both servers I'll be modifying your script to suit my needs. Thank you so much for the post and pointing me in the right direction. FYI: I also "suffer?" from OSD... Jeff
  2. I am looking to backup ~10 - 11 TB of data from my main production Unraid server to my test/demo Unraid server. My production server has 31 TB of storage with 10.5 TB used. The test/demo Unraid box has 4TB of drive space on the array with one 12 TB drive as an Unassigned Device. Since this box is used for testing and demos I don't want my data from the production server to be on the array of the demo box. Looking for any guidance with this quest. I have been looking for a way to do this for a couple of days now without much luck. I have found lots of info on Unraid to Unraid backups, and Unraid to local Unassigned device backups, but nothing on Unraid to Unassigned device on another Unraid box. Other info: The demo box is only on about 1 day a week, so a cold backup or file sync would be ok. I know a true backup should be offsite but right now I just need a local backup in a different box. Any help would be greatly appreciated, Jeff
  3. Dell R720XD I found this bash script a couple years ago (don't know the author), it has some errors in it and was not working for me. I have fixed those errors and this is what I have. The IPMIHOST, IPMIUSER, and IPMIPW have been changed to protect the innocent... The script checks the inlet vs exhaust temps and adjusts the fans up or down depending on the temp difference. It also sets a base speed depending on the ambient room, inlet, temp. #!/bin/bash # Login Creds IPMIHOST=10.10.10.110 IPMIUSER=user IPMIPW=SUPERsecret # Fan Settings # Change to fit your needs FANSPEED=60 LOWESTSPEED=5 MAXSPEED=90 # Temperatures inlet=0 exhaust=0 tempdiff=0 # The maximum difference between inlet and exhaust temp before fans ramp up (In Celsius) maxtempdiff=10 # Enable Manual Fan Speed ipmitool -I lanplus -H $IPMIHOST -U $IPMIUSER -P $IPMIPW raw 0x30 0x30 0x01 0x00 # This variable sends an IPMI command to get the temperature, and outputs it as two digits. # Do not edit unless you know what you're doing. inlet=$(ipmitool -I lanplus -H $IPMIHOST -U $IPMIUSER -P $IPMIPW sdr type temperature | grep 'Inlet Temp' | grep degrees | grep -Po '\d{2}' | tail -1) exhaust=$(ipmitool -I lanplus -H $IPMIHOST -U $IPMIUSER -P $IPMIPW sdr type temperature | grep 'Exhaust Temp' | grep degrees | grep -Po '\d{2}' | tail -1) tempdiff=$(($exhaust - $inlet)) echo --------------- echo Real Readings echo --------------- echo Real inlet temp: $inlet echo Real exhaust temp: $exhaust echo Temperature difference: $tempdiff if [[ $inlet -le 20 ]]; then FANSPEED=$LOWESTSPEED elif [[ $inlet -le 25 ]]; then FANSPEED=$(($LOWESTSPEED + 3)) elif [[ $inlet -le 30 ]]; then FANSPEED=$(($LOWESTSPEED + 7)) elif [[ $inlet -le 40 ]]; then FANSPEED=$(($LOWESTSPEED + 15)) elif [[ $inlet -le 50 ]]; then FANSPEED=$(($LOWESTSPEED + 35)) fi echo "Base fanspeed by temp is: $FANSPEED" inletaddspeed=0 echo Difference between inlet and exhaust: $tempdiff echo Max allowed difference: $maxtempdiff inletdiff=$(($tempdiff - $maxtempdiff)) if [[ $inletdiff -ge 0 ]]; then inletaddspeed=$inletdiff fi echo Add to fanspeed: $inletaddspeed echo InletaddSpeed: $inletaddspeed # Set Overrides override=0 if [[ $exhaust -ge 70 ]]; then FANSPEED=50 override=1 elif [[ $exhaust -ge 72 ]]; then FANSPEED=60 override=1 elif [[ $exhaust -ge 80 ]]; then FANSPEED=90 override=1 fi if [[ $override -eq 1 ]]; then echo ---------------------- echo OVERRIDE HIGH TEMP echo ---------------------- echo Exhaust high temp: $exhaust echo setting fanspeed to $FANSPEED fi echo ---------------- echo Setting Fanspeed echo ---------------- echo Inlet Temp base fanspeed: $FANSPEED echo Inlet/Exhaust diff fanspeed: $inletaddspeed if [[ $inletaddspeed -le 0 ]]; then inletaddspeed=0 FANSPEED=$(($FANSPEED + $inletaddspeed)) if [[ $FANSPEED -ge $MAXSPEED ]]; then FANSPEED=$MAXSPEED elif [[ $FANSPEED -le $LOWESTSPEED ]]; then FANSPEED=$LOWESTSPEED fi fi
  4. I have a very basic script running to check temps and change fan speeds for my Dell R720XD. I would be willing to supply commands and possibly help get the fan control running on Dell's. Let know if you would like that info.
  5. My Office purchased a couple of Unraid licenses a couple of months apart. We lost one of the USB flash drives while moving and now would like to reinstall it on a new flash drive. I know we are allowed one USB device change per year but we are not sure which license was tied to the lost flash drive. We have both license keys from the purchases in our email but a couple of months back we had one of the USB drives fail so one of them has already been moved to a new device. Is there a way to look up what licenses we have currently in use so that we can apply the correct license to the lost USB replacement?