Jump to content

Allram

Members
  • Posts

    22
  • Joined

  • Last visited

Posts posted by Allram

  1. 8 minutes ago, dlandon said:

    Try this command:

    /usr/bin/nice /usr/bin/timeout 2 bash -c '(echo >/dev/tcp/100.67.144.43/2049) &>/dev/null'; echo $?

    I've adjusted the timeout.  I think the command is timing out and returning a value that indicates the server is not available.

     

    It still says "1".

    Also tried to increase the timeout to 20 and still got "1".

     

    root@Tower:~# /usr/bin/nice /usr/bin/timeout 2 bash -c '(echo >/dev/tcp/100.67.144.43/2049) &>/dev/null'; echo $?
    1
    root@Tower:~# /usr/bin/nice /usr/bin/timeout 2 bash -c '(echo >/dev/tcp/100.67.144.43/2049) &>/dev/null'; echo $?
    1
    root@Tower:~# /usr/bin/nice /usr/bin/timeout 20 bash -c '(echo >/dev/tcp/100.67.144.43/2049) &>/dev/null'; echo $?
    1
    root@Tower:~# /usr/bin/nice /usr/bin/timeout 2 bash -c '(echo >/dev/tcp/100.67.144.43/2049) &>/dev/null'; echo $?
    
    
    

     

  2. 30 minutes ago, dlandon said:

    UD no longer pings remote servers.  Instead it checks that the NFS port is open on the remote server.  Because of security, some servers don't respond to a ping.

     

    Run this command and post the result:

    /usr/bin/nice /usr/bin/timeout 1 bash -c '(echo >/dev/tcp/100.67.144.43/2049) &>/dev/null'; echo $?

     

     

    The result was "1".

     

    root@Tower:~# /usr/bin/nice /usr/bin/timeout 1 bash -c '(echo >/dev/tcp/100.67.144.43/2049) &>/dev/null'; echo $?
    1
    root@Tower:~# 
    

     

  3. 17 hours ago, dlandon said:

    Nowhere in the logs is there an attempt to mount a remote share either manually or auto mount.  It doesn't indicate any remote shares added.  When UD gets to the point where remote shares are to be auto mounted, it will either mount the remote share or indicate it is not set for auto mount.  I see none of this.

     

    Tried the new UD_diagnostics, seems like since the server is not answering on ping (ping_status.txt) it automatically sets it as offline? It works fine on my other UnRaid server with an older version of the plugin, so is this something new?

     

    If i ping from the Unraid terminal, the server responds as normal. image.png.8a0c257e80c11578f6212eae73a1008b.png

    ud_diagnostics-20240423-075626.zip

  4. 13 hours ago, dlandon said:

    I see several issues:

    Apr 21 17:18:48 Tower unassigned.devices: Mounting 'Auto Mount' Remote Shares...
    ...
    Apr 21 17:18:54 Tower unassigned.devices: Mounting Remote Share '100.67.144.43:/mnt/user/Backup-Vegard'...
    Apr 21 17:18:54 Tower unassigned.devices: Remote Server '100.67.144.43' is offline and remote share '/mnt/user/Backup-Vegard' cannot be mounted.

    Then later:

    Apr 21 17:25:37 Tower unassigned.devices: Warning: 'Backup-Vegard' is already added as a 'NFS' share.

     

    Things to look at:

    • You have the default 5 seconds delay before trying to mount remote shares, but in the log I see where later you set 20 seconds.  That should help.
    • Can you mount the remote share after Unraid is fully started and running?
    • I don't understand the "Warning: 'Backup-Vegard' is already added as a 'NFS' share.".  Are you duplicating this NFS share?

     

    Tried again:

    • Removed the share in UD
    • Rebooted
    • Let the server start and wait until all is started
    • readded the share (UD finds the server and i can browse between the 3 shares that is available)
    • UD says "Remote server is offline" and can't mount.

    New diagnostics after those steps are added here.

    tower-diagnostics-20240422-0812.zip

  5. This seems great!

    I'm struggling with a piece here, the user-script:

    #!/bin/bash
    /usr/libexec/zfs/zpool_influxdb | curl -X POST 'https://<VMIP/HVMHOST>:<PORT>/write?extra_label=job=Unraid' --data-binary @-

     

    What should i put in here:
    https://<VMIP/HVMHOST>:<PORT>

     

    I don't understand what you mean with HVMHOST and which port?

     

    Edit:
    I tried with VictoriaMetrics IP and port 8428 and i get this in the script log:

    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 144k 0 0 100 144k 0 20.2M --:--:-- --:--:-- --:--:-- 23.5M
    Script Finished Aug 24, 2023 11:33.02

     

    But there is no need population on the zfs dashboard for pools etc?

     

     

    Edit2: Got it working!

    The extra_label=job=Unraid' need to match the job set in VictoriaMetrics prometheus.yml file, so as in this guide it need to changed to:

     

    extra_label=job=unRaid'

    • Like 1
  6. On 7/29/2023 at 4:39 PM, showstopper said:

    Do we think this would work for Windows Server? I tried changing this for one of my VM's but I now struggle to log in via remote desktop (only vnc seems to work)

    I run this on Windows Server 2022 and it works awesome.

    Just changed what the OP said :)

    I use RDP via Apache-Guacamole.

  7. On 4/15/2021 at 8:17 PM, linuxnewb said:

    hi there,

    I'm having the same issue, where did you enter the "sudo hpsscli" command?

     

    I just did this myself, you need to do the following:

    1. Boot into your array controller and delete all existing array disks that you have created.
    2. Install Linux mint on a Bootable USB drive.

    3. Download hpssacli-2.10-14.0_amd64.deb from here: https://downloads.linux.hpe.com/SDR/repo/mcp/pool/non-free/

    4. Install the package

    5. Go into the folder of installation: /opt/hp/hpssacli/bld

    6. Write:

    ./hpssacli

    7. Write: 

    Quote

    controller slot=0 modify hbamode=on forced

    8. Reboot and you should be all set with JBOD.

  8. Running this on Unraid 6.9.0-Beta30.


    It seems like it's polling the drive temperatures from the drives that i specifically unchecked on the 'Hard Drives to Poll:' settings. I have removed 4 disks from there that are around 34degrees *C. All other drives are around 17*C. But the IPMIplugin sees the HDD temp as 34*C.

    Any tips on how to force it to not count those drives temperatures?

  9. 7 hours ago, Squid said:

    User Scripts does not directly execute the scripts, so permissions don't matter.  They are changed to be linux style line endings (so that a DOS editor will work on the files if you want), and then executed from /tmp with permissions of 0777.

     

    But, yeah run in background isn't working for some reason.... Will look into it

    This is the error message i get if i try to start a script running in the background:

     

    Oct 22 20:58:35 Tower emhttpd: cmd: /usr/local/emhttp/plugins/user.scripts/showLog.php Out of Memory

    Oct 22 20:58:35 Tower emhttpd: cmd: /usr/local/emhttp/plugins/user.scripts/showLog.php Out of Memory

     

  10. Seems to work great for me!

     

    Had to disable this as the Array did not come online with this enabled:

     

    # Runtime PM for port ata od PCI devices
    #for i in /sys/bus/pci/devices/????:??:??.?/ata*/power/control; do
    #    echo 'auto' > $i
    #done


     

    Also did add this:

    # VM writeback timeout
    for i in /proc/sys/vm/dirty_writeback_centisecs; do
        echo '1500' > $i
    done

     

    Have a Supermicro X9DRi-LN4+ MB

    • Like 1
  11. 19 hours ago, mbc0 said:

    @johnnie.black

     

    I have removed the Samsung from the cache pool leaving a sole Sabrent Rocket but I am still only getting 230mb/s could this be due to the partition alignement? I can get 1000mb/s from this drive as an unassigned device or because unraid still thinks it is a pool rather than a single drive?

     

    is this prooving that the sabrent rocket is the problem here?

     

    image.thumb.png.d94fd8abac8218b0d90e95282891b607.png

     

    image.png.64ded40fb6356409362de9183c70936e.png

     

     

    Since you are running a single disk now. What speeds do you get if you format the drive to XFS?

  12. 3 hours ago, BLKMGK said:

     

    Where in Netdata are you finding this graph? I've got it passed through and can see nvidia-smi from the NetData console but cannot find this chart. I've run the command in the container etc. so I think I should be set but cannot find data in the interface.

    Use the script posted here and it will show up in Netdata. https://forums.unraid.net/topic/77813-plugin-linuxserverio-unraid-nvidia/?do=findComment&comment=728822

    • Upvote 1
×
×
  • Create New...