Jump to content

deaerator

Members
  • Posts

    515
  • Joined

  • Last visited

Posts posted by deaerator

  1. I'm trying to move my Plex Config Folder to a unassigned device.

    I used Rsync to move the folder to /mnt/disks/appdata/plex.  And when I use this for my Plex Template and nothing else changes it treats it as a new server. 

    How do I get my newly copied appdata/plex folder to treat it as the same server. 

    Old Template

    /mnt/user/appdata/plex

    New Template

    /mnt/disks/appdata/plex

     

    rsync -avh /mnt/user/appdata/plex /mnt/disks/appdata  

     

  2. I have my Quadro RTX 4000 installed. 

    I have 10 streams being transcoded but when I put the command

    watch nvidia smi
    Every 2.0s: nvidia-smi                                                                       Tower: Tue Feb 25 20:56:21 2020
    
    Tue Feb 25 20:56:21 2020
    +-----------------------------------------------------------------------------+
    | NVIDIA-SMI 440.44       Driver Version: 440.44       CUDA Version: 10.2     |
    |-------------------------------+----------------------+----------------------+
    | GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
    | Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
    |===============================+======================+======================|
    |   0  Quadro RTX 4000     Off  | 00000000:01:00.0 Off |                  N/A |
    | 38%   66C    P0    56W / 125W |   1448MiB /  7982MiB |      0%      Default |
    +-------------------------------+----------------------+----------------------+
    
    +-----------------------------------------------------------------------------+
    | Processes:                                                       GPU Memory |
    |  GPU       PID   Type   Process name                             Usage      |
    |=============================================================================|
    |    0      4578      C   /usr/lib/plexmediaserver/Plex Transcoder     287MiB |
    |    0      5681      C   /usr/lib/plexmediaserver/Plex Transcoder     287MiB |
    |    0     20512      C   /usr/lib/plexmediaserver/Plex Transcoder     287MiB |
    |    0     28979      C   /usr/lib/plexmediaserver/Plex Transcoder     303MiB |
    |    0     31004      C   /usr/lib/plexmediaserver/Plex Transcoder     270MiB

    Tautulli reports all streams are HW transcoding but watch nvidia-smi states another. 

    Also all my cpu cores are pegged at 100%

    tower-diagnostics-20200224-0634.zip Plex Media Server Logs_2020-02-25_21-07-53.zip

  3. A new problem with my newly installed GPU for transcoding is giving log errors.

     

    Feb 24 05:10:14 Tower kernel: NVRM: GPU 0000:01:00.0: Failed to copy vbios to system memory.
    Feb 24 05:10:14 Tower kernel: NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x30:0xffff:755)
    Feb 24 05:10:14 Tower kernel: NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0

     

    tower-diagnostics-20200224-0634.zip

  4. Feb 20 21:08:16 Tower kernel: pcieport 0000:00:1c.4: AER: Corrected error received: 0000:00:1c.4
    Feb 20 21:08:16 Tower kernel: pcieport 0000:00:1c.4: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
    Feb 20 21:08:16 Tower kernel: pcieport 0000:00:1c.4:   device [8086:a294] error status/mask=00000001/00002000
    Feb 20 21:08:16 Tower kernel: pcieport 0000:00:1c.6: AER: Corrected error received: 0000:00:1c.6
    Feb 20 21:08:16 Tower kernel: pcieport 0000:00:1c.6: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
    Feb 20 21:08:16 Tower kernel: pcieport 0000:00:1c.6:   device [8086:a296] error status/mask=00000001/00002000

    Log attached.

    tower-diagnostics-20200221-0111.zip

  5. On 4/2/2018 at 10:01 AM, bonienl said:

    A small variation if you want the key to be not locally present on the system when operational, the key is only needed during startup of the array.

     

    In the go file the following is included before starting emhttp.

    
    # auto unlock array
    mkdir -p /usr/local/emhttp/webGui/event/starting
    mkdir -p /usr/local/emhttp/webGui/event/started
    mkdir -p /usr/local/emhttp/webGui/event/stopped
    cp -f /boot/custom/bin/fetch_key /usr/local/emhttp/webGui/event/starting
    cp -f /boot/custom/bin/delete_key /usr/local/emhttp/webGui/event/started
    cp -f /boot/custom/bin/fetch_key /usr/local/emhttp/webGui/event/stopped
    
    # start webGUI
    /usr/local/sbin/emhttp &

    The above makes use of the built-in event system of unRAID. These events are created:

    starting : this event is called before the array is started and is used to fetch the key from a remote source

    started :  this event is called after the array is fully operational and is used to delete the key locally.

    stopped : this event is called after the array is stopped and is used to fetch the key again from a remote source

     

    The script "fetch_key"  can be any method to obtain the key remotely, e.g. using a mount method or a FTP (wget) method as explained in the video of @gridrunner

    The script "delete_key" is a simple file to delete the key locally.

     

    fetch_key

    
    #!/bin/bash
    
    if [[ ! -e /root/keyfile ]]; then
      mkdir -p /unlock
      mount -t cifs -o user=name,password=password,iocharset=utf8 //192.168.1.99/index /unlock
      cp -f /unlock/somefile.png /root/keyfile
      umount /unlock
      rm -r /unlock
    fi

    delete_key

    
    #!/bin/bash
    
    rm -f /root/keyfile

    You can start and stop the array as usual, and the key will be automatically fetched each time, provided that the remote service is up and running.

     

    The files "fetch_key" and "delete_key" need to be stored on your flash device. I've created the folder /custom/bin to hold my custom scripts, but one is free to choose their own source folder, please update the lines in the go file accordingly.

    Did something break in the latest unraid because I had this setup exactly like this and when the update happened, my array doesn't start automatically.  I have to put the keyfile in everytime. 

    I'm running NVIDIA Unraid 6.8.2

  6. 1 minute ago, trurl said:

    Seems to me you don't want to change anything, not even a new docker. Why would you? In what way is your new Unraid configuration going to be different than the old one?

     

    If it is simply a matter of replacing hardware and reusing the drives then nothing changes as far as your configuration is concerned. If it is copying all shares to new drives then nothing changes as far as plex is concerned assuming you haven't specified drive paths in your mappings.

     

    If you intend your new setup to be much different, such as share names, etc. then of course your old plex library won't know anything about those changes.

     

    Maybe you need to elaborate on this "new setup".

    My dual xeon setup died and I'm going to use my 7700k as a replacement along with a 28 bay Supermicro JBOD disk station from Ebay.  What I was curious about is when I move over to the new machine, is there any real benefit starting from a scratch setup or just restore my appdata folder and pray that everything works. Pathways and mappings will remain the same. 

×
×
  • Create New...