Jump to content

JohnO

Members
  • Posts

    123
  • Joined

  • Last visited

Posts posted by JohnO

  1. 1 hour ago, jonathanm said:

    Does the motherboard have a round 6 pin PS/2 keyboard connector?

     

    Also, on some boards only a few of the USB ports are initialized for early I/O, and that can be controlled with a BIOS setting.

    Yes the motherboard has a PS/2 keyboard connection.  I've got a note out to some local friends to see if they have a PS/2 keyboard I can borrow.  I did also try every USB port on the machine - just in case.

    Thanks for you ideas. I appreciate it.

    John

  2. Ok -- crisis averted.  Thank goodness for my note taking!  I had a similar issue in 2016, in that something caused the BIOS to reset to defaults, and by default, it selected PCIe over PCI for graphics card, (I have one of each) and it turns OFF IOMMU, which means none of the passthrough devices (the PCIe graphics controller and, more importantly the SAN controller) were seen by VMware ESXi.  Resettings those two settings and restarting the machine fixed my issues!

    So -- this leaves me back where I started -- not sure if there is a conflict not allowing the old and new disk controllers to be active in the machine at the same time?  Motherboard is an: ASRock 970 Extreme4 AMD AM3+

     

    John

  3. Sadly -- my first attempt did not go well.  I installed the new controller card (without any drives attached), and restarted the system.  The system saw the controller card on boot, and gave the message about no drives found, and said to press any key to continue -- but no keyboard input was allowed.  I shutdown, removed the card, and booted up again.  This time around the system saw the old controller, but first started to boot to my unRAID USB stick.  I shut down, removed the unRAID stick, and it started up again, but graphics came up on the wrong video card.  ESXi started to boot this time, but would hang just after 'iodm loaded successfully'.  I could connect to ESXi from the web interface even though the ESXi console still shows "loading" for the remaining drivers, but ESXi didn't see the passthrough controller, nor the video card that was previously set for passthrough!

    Not sure where to go next.  I'm tempted to start from scratch with the new controller card, and just rebuild everything...  But that is always more work than I think it'll be...

    Any ideas?  Could this be as simple as the BIOS is confused?

    Thanks!

    John 

  4. Greetings,

     

    I'm running UnRAID 6.8.3 as a Guest OS on ESXi 6.7.0.  It's been running well for years, but I have a very old disk controller that can't handle drives larger than 2 TB.  I've recently purchased a new controller and new (larger) drives.  

    What is the recommended approach to migrate from the old controller and drives to the new controller and drives?  "New" controller (not that new of a product, but new to me) is an LSI SAS9220-8i.  The whole controller is passed through to the UnRAID VM.  

    It looks like I might be able to attach all the old and new drives to this (8 connectors) but not sure if my motherboard can power 8 drives...

    I'm in no hurry, but looking for suggestions.

    Thanks!

    John

  5. Greetings,

     

    I recently attempted to upgrade from 6.7.0 to 6.7.2, and the upgrade would fail with filled disk.  I can connect to server, delete all in /previous and continue on with the 6.7.0.  I could replace the USB boot device, but the device itself is showing 3.5 GB free.  Is a partition getting filled up?  Is there some directory I should manually clear out?

    I've attached my diagnostics.  Thanks for any suggestions.

    Thanks!

    John

    oshtank-diagnostics-20190831-0311.zip

  6. 14 hours ago, itsrumsey said:

    Question for those using ESXi. I understand the free version only support 8 vCPUs.  If I am running a dual processor configuration, with 8 cores and 16 threads each, for a total of 32 threads and 16 cores... can I utilize all of these in one VM on the free edition?

    I do think you are limited to 8.  Remember, though, that the underlying resources not assigned to the VM are also used to support the VM processes if they are available and needed.  

  7. i'm running plopKExec on my offsite server - just download plopKexec iso image, add it to your unRAID VM, and thats all.. plopKexec boots, then it scans flash drives, finds unRAID flash, then automatically boots first boot choice of the flash..

     

    So just to confirm -- After I download the plopkexec iso image, and put it on my ESXi server, all I need to do is change the particular virtual machine setting for CD/DVD Drive 1 to use the new ISO image, and no longer use the  plpbtmycd.iso file, correct?

     

    I've got multiple USB memory sticks in my server -- will it give me a chance to find the correct one, or does this use the USB 1 field, as I currently have it defined with the existing PLOP configuration?

     

    Thanks,

     

    John

     

  8. With a new build, I decided I'd revisit virtualizing unRAID under ESX, and ran across plopkexec (actually mentioned elsewhere on this forum for a different purpose).  I can say that this drastically cuts down on the boot time (for all perceived purposes, same as bare metal). 

     

    I too would love to see some more information on switching from plop to plopkexec.  Upgrading from 6.1.9 as a VM to 6.2 would be a great time to try this.

     

    Thanks,

     

    John. 

  9. Greetings,

     

    Just downloaded the update.  It looks good except this error in your test display area:

     

    Here's what share free space looks like:
    snmpwalk -v 2c localhost -c public NET-SNMP-EXTEND-MIB::nsExtendOutLine."sharefree"
    NET-SNMP-EXTEND-MIB::nsExtendOutLine."sharefree".1 = STRING: /usr/local/emhttp/plugins/snmp/share_free_space.sh: line 16: allocator=\"mostfree\" * 1024: syntax error: operand expected (error token is \"\"mostfree\" * 1024\")
    
    

     

    Thanks!

  10. The fix is to just delete the file and reinstall the plugin, or just reboot your server. I'm not sure why it's not working for you... On my system this file gets properly overwritten when I install the plugin.

     

    I tried just deleting and re-installing the plug-in, and behavior didn't change.  I did check permissions and they were set as you suggested.

     

    I then deleted the SNMP plug-in, upgraded from 6.01 to 6.1, and re-installed the plug-in and now it works!

     

    +==============================================================================
    | Testing SNMP by listing mounts
    +==============================================================================
    Looks like snmpd is working... Output:
    HOST-RESOURCES-MIB::hrFSMountPoint.22 = STRING: "/var/log"
    HOST-RESOURCES-MIB::hrFSMountPoint.25 = STRING: "/boot"
    
    Here's what drive temperatures look like:
    snmpwalk -v 2c localhost -c public NET-SNMP-EXTEND-MIB::nsExtendOutLine."disktemp"
    NET-SNMP-EXTEND-MIB::nsExtendOutLine."disktemp".1 = STRING: WDC_WD20EFRX-68EUZN0_WD-WCC4M0927675: 28
    NET-SNMP-EXTEND-MIB::nsExtendOutLine."disktemp".2 = STRING: WDC_WD20EFRX-68EUZN0_WD-WCC4M4PJF00N: 29
    NET-SNMP-EXTEND-MIB::nsExtendOutLine."disktemp".3 = STRING: WDC_WD20EFRX-68EUZN0_WD-WCC4M3PHD4DE: 29
    NET-SNMP-EXTEND-MIB::nsExtendOutLine."disktemp".4 = STRING: WDC_WD20EFRX-68EUZN0_WD-WCC4M0072449: 27
    
    Here's what share free space looks like:
    snmpwalk -v 2c localhost -c public NET-SNMP-EXTEND-MIB::nsExtendOutLine."sharefree"
    NET-SNMP-EXTEND-MIB::nsExtendOutLine."sharefree".1 = STRING: 
    

     

     

    Thanks,

     

    John

     

  11. Working backwards:

     

     

    If that works, you can try restarting snmpd:

     

    That seems to work fine:

     

    root@OshTank:~# bash /etc/rc.d/rc.snmpd stop
    Shutting down snmpd: . DONE
    root@OshTank:~# bash /etc/rc.d/rc.snmpd start
    Starting snmpd:  /usr/sbin/snmpd -LF w /var/log/snmpd.log -LF w /var/log/snmpd.log -A -p /var/run/snmpd -a -c /usr/local/emhttp/plugins/snmp/snmpd.conf
    root@OshTank:~# 
    

     

    It doesn't find the disk temp stuff if I run it manually:

     

    root@OshTank:~# !snmpwalk
    snmpwalk -v 2c localhost -c public 'NET-SNMP-EXTEND-MIB::nsExtendOutLine."disktemp"'
    NET-SNMP-EXTEND-MIB::nsExtendOutLine."disktemp" = No Such Instance currently exists at this OID
    root@OshTank:~# 
    

     

    Well, is the config file updated properly?

     

    It looks like you are trying to execute the whole statement below as a single command, but that didn't work for me:

     

    root@OshTank:~# 
    root@OshTank:~#  tail -n 1 /usr/local/emhttp/plugins/snmp/snmpd.conf extend disktemp /usr/local/emhttp/plugins/snmp/drive_temps.sh
    ==> /usr/local/emhttp/plugins/snmp/snmpd.conf <==
    disk /mnt/cache
    tail: cannot open ‘extend’ for reading: No such file or directory
    tail: cannot open ‘disktemp’ for reading: No such file or directory
    
    ==> /usr/local/emhttp/plugins/snmp/drive_temps.sh <==
    exit 0
    root@OshTank:~# 
    

     

     

     

    Here is some other stuff that might be useful:

     

    root@OshTank:/usr/local/emhttp/plugins/snmp# more snmpd.conf 
    rocommunity public
    syslocation Here
    syscontact root@tower
    disk /mnt/disk1
    disk /mnt/disk2
    disk /mnt/disk3
    disk /mnt/disk4
    disk /mnt/disk5
    disk /mnt/disk6
    disk /mnt/disk7
    disk /mnt/disk8
    disk /mnt/disk9
    disk /mnt/disk10
    disk /mnt/disk11
    disk /mnt/disk12
    disk /mnt/disk13
    disk /mnt/disk14
    disk /mnt/disk15
    disk /mnt/disk16
    disk /mnt/disk17
    disk /mnt/disk18
    disk /mnt/disk19
    disk /mnt/disk20
    disk /mnt/cache
    root@OshTank:/usr/local/emhttp/plugins/snmp# 
    

     

    root@OshTank:/usr/local/emhttp/plugins/snmp# 
    root@OshTank:/usr/local/emhttp/plugins/snmp# cat drive_temps.sh 
    #!/usr/bin/bash
    
    MDCMD=/root/mdcmd
    AWK=/usr/bin/awk
    CAT=/usr/bin/cat
    FIND=/usr/bin/find
    GREP=/usr/bin/grep
    RM=/usr/bin/rm
    SED=/usr/bin/sed
    HDPARM=/usr/sbin/hdparm
    SMARTCTL=/usr/sbin/smartctl
    
    CACHE=/tmp/plugins/snmp/drive_temps.txt
    
    mkdir -p $(dirname $CACHE)
    
    # Cache the results for 5 minutes at a time, to speed up queries
    if $FIND $(dirname $CACHE) -mmin -5 -name drive_temps.txt | $GREP -q drive_temps.txt
    then
      $CAT $CACHE
      exit 0
    fi
    
    $RM -f $CACHE
    
    $MDCMD status | $GREP '\(rdevId\|rdevName\).*=.' | while read -r device
    do
      read -r name
    
      # Double-check the data to make sure it's in sync
      device_num=$(echo $device | $SED 's#.*\.\(.*\)=.*#\1#')
      name_num=$(echo $name | $SED 's#.*\.\(.*\)=.*#\1#')
    
      if [[ "$device_num" != "$name_num" ]]
      then
        echo 'ERROR! Couldn'"'"'t parse mdcmd output. Command was:'
        echo 'mdcmd status | $GREP '"'"'\(rdevId\|rdevName\).*=.'"'"' | while read -r device'
      fi
    
      device=$(echo $device | $SED 's#.*=#/dev/#')
      name=$(echo $name | $SED 's/.*=//')
    
      if ! $HDPARM -C $device 2>&1 | $GREP -cq standby
      then
        temp=$($SMARTCTL -A $device | $GREP -m 1 -i Temperature_Celsius | $AWK '{print $10}')
      fi
    
      # For debugging
    #  echo "$name = $device, $temp"
    
      echo "$name: $temp" >> $CACHE
    done
    
    $CAT $CACHE
    exit 0
    root@OshTank:/usr/local/emhttp/plugins/snmp# 
    

     

    Thanks for your help!

     

    John

  12. Can you log into your server and run the following?

     

    /usr/local/emhttp/plugins/snmp/drive_temps.sh 
    

     

    That worked:

     

    root@OshTank:~# /usr/local/emhttp/plugins/snmp/drive_temps.sh 
    WDC_WD20EFRX-68EUZN0_WD-WCC4M0927675: 28
    WDC_WD20EFRX-68EUZN0_WD-WCC4M4PJF00N: 28
    WDC_WD20EFRX-68EUZN0_WD-WCC4M3PHD4DE: 29
    WDC_WD20EFRX-68EUZN0_WD-WCC4M0072449: 27
    root@OshTank:~# 
    

  13. Doh. I forgot to install the helper script. Try version 2015.08.25. Hopefully this time the test output will show drive temps.

     

    I'm not 100% sure the temps will be picked up by your monitor. If you can find any docs on what the monitor queries for, I can see about supporting it.

     

    Hmm...  On the plus side, this plug-in architecture works great!

     

    Here's the fresh output - no real change:

     

    +==============================================================================
    | Testing SNMP by listing mounts
    +==============================================================================
    Looks like snmpd is working... Output:
    HOST-RESOURCES-MIB::hrFSMountPoint.1 = STRING: "/mnt/disk1"
    HOST-RESOURCES-MIB::hrFSMountPoint.2 = STRING: "/mnt/disk2"
    HOST-RESOURCES-MIB::hrFSMountPoint.3 = STRING: "/mnt/disk3"
    HOST-RESOURCES-MIB::hrFSMountPoint.22 = STRING: "/var/log"
    HOST-RESOURCES-MIB::hrFSMountPoint.25 = STRING: "/boot"
    
    
    Here's what drive temperatures look like:
    NET-SNMP-EXTEND-MIB::nsExtendOutLine."disktemp" = No Such Instance currently exists at this OID
    
    -----------------------------------------------------------
    snmp has been installed.
    Copyright 2015, David Coppit 
    Version: 2015.08.25
    -----------------------------------------------------------
    
    plugin: updated
    

     

    unRAID can see the temps - as shown in the screen shot below.  To complicate things - My unRAID system is a virtual guest on VMware ESXi.  The disk controller is "passed through" to the VM, and is dedicated to the VM, as are all the attached disks.

     

    Thanks,

     

     

    John

     

    temps.png.368ee7a09190d3fcd6b3e9f6097a3059.png

  14. I've also integrated drive temperatures

     

    Nice.  I just updated the plug-in, but I'm not seeing temperatures, either in your installation test, or from my SNMP monitoring server.  Here's the snippet from your installation:

     

     

     

    +==============================================================================
    | Testing SNMP by listing mounts
    +==============================================================================
    Looks like snmpd is working... Output:
    HOST-RESOURCES-MIB::hrFSMountPoint.1 = STRING: "/mnt/disk1"
    HOST-RESOURCES-MIB::hrFSMountPoint.2 = STRING: "/mnt/disk2"
    HOST-RESOURCES-MIB::hrFSMountPoint.3 = STRING: "/mnt/disk3"
    HOST-RESOURCES-MIB::hrFSMountPoint.22 = STRING: "/var/log"
    HOST-RESOURCES-MIB::hrFSMountPoint.25 = STRING: "/boot"
    
    
    Here's what drive temperatures look like:
    NET-SNMP-EXTEND-MIB::nsExtendOutLine."disktemp" = No Such Instance currently exists at this OID
    
    -----------------------------------------------------------
    snmp has been installed.
    Copyright 2015, David Coppit 
    Version: 2015.08.24
    -----------------------------------------------------------
    

     

    Thanks,

     

    John

     

×
×
  • Create New...