Lobsi

Members
  • Content Count

    24
  • Joined

  • Last visited

Posts posted by Lobsi

  1. 1 hour ago, lnxd said:

    EDIT: @Lobsi all ready. Same process as usual, should just take an update, and then confirm it shows Ubuntu 14.04.02 in the logs. It's wayyy too many layers but that's why it took me more than 20 minutes, every time I started merging them I'd break something. Fingers crossed it sees your card!

    Hey LNXD,

     

    I tried it already, unfortunately it did not run, i get the same error;

     


    Project: PhoenixMiner 5.5c
    Author: lnxd
    Base: Ubuntu 14.04.02
    Target: Unraid 6.9.0 - 6.9.1

    Wallet: 3K4kD8QijmqAJHEqijhWe5Nnbu4CvdURJB
    Pool: asia1.ethermine.org:4444

    Starting PhoenixMiner 5.5c with the following arguments:
    -pool asia1.ethermine.org:4444 -wal 3K4kD8QijmqAJHEqijhWe5Nnbu4CvdURJB.x -tt 75 -tstop 85 -tstart 80 -cdm 1 -cdmport 5450 -amd
    Phoenix Miner 5.5c Linux/gcc - Release build
    --------------------------------------------

    [0mNo OpenCL platforms found
    [91mNo avaiable GPUs for mining. Please check your drivers and/or hardware.
    [0m

     

    I could understand when you are a little exhausted, dealing some year old s**t is often complicated.
    Thank you very much for your efforts, i hope you will find the igniting spark *fingerscrossing*

     

    • Like 1
  2. Ah, i see i have misunderstood, no Problem...

     

    I "modprobed" my GPU and then i were force-updateing the container, it seems the Version is as you mentioned Debian Bullseye.

     

    Here is the output from the log:

     


    Project: PhoenixMiner 5.5c
    Author: lnxd
    Base: Debian Bullseye
    Target: Unraid 6.9.0 - 6.9.1

    Wallet: 3K4kD8QijmqAJHEqijhWe5Nnbu4CvdURJB
    Pool: asia1.ethermine.org:4444

    Starting PhoenixMiner 5.5c with the following arguments:
    -pool asia1.ethermine.org:4444 -wal 3K4kD8QijmqAJHEqijhWe5Nnbu4CvdURJB.x -tt 75 -tstop 85 -tstart 80 -cdm 1 -cdmport 5450 -amd
    Phoenix Miner 5.5c Linux/gcc - Release build
    --------------------------------------------

    [0mNo OpenCL platforms found
    [91mNo avaiable GPUs for mining. Please check your drivers and/or hardware.
    [0m

     

    The issue persists, the container is not finding any OpenCL Platform nor an available GPU

     

    Is there anything i could help you to better understanding the issue? Do you need further logs or anything?

  3. 1 minute ago, lnxd said:

    ...

    The most recent version of the official radeon drivers for your GPU I could find (Crimson Edition 15.12) were made for Ubuntu 14.04...

    Hi LNXD,

     

    Thank you for your engagement, i much appreciate that!

     

    When i check the logs, ill get the following:

     

    Base: Ubuntu 20.04

     

    As i understand, the container is not taking 1404 as base then?

    There must be something wrong with it.

     

    Maybe this helps to resolve what is going on?

  4. 1 hour ago, lnxd said:

    Thanks @Lobsi, can I please get you to make sure you've completed steps 1 - 7 in OP (except 3 because Radeon TOP won't work for your card).

     

    Once you've done that jump into an Unraid WebUI terminal or SSH into your server and run:

     

    
    modprobe radeon && sleep 1 && chmod -R 777 /dev/dri

     

    Then edit the PhoenixMiner-AMD docker, and change Repository from lnxd/phoenixminer to lnxd/phoenixminer:radeon

     

    Then try running the container again and tell me if you get the same error. There's a real chance you will because this is just a preliminary test, but here's hoping I haven't missed anything 😅

     

    Hi LNXD,

     

    I can confirm i completed steps 1-7 (except putting in the correct pool adress, i haven`t registered to any pool until the card is running).

    But this should be no reason to not do a test first...

     

    I also put my Card asleep like you mentioned, and updated the repository / docker.

    Unfortunately i get the same error, the card does`nt get recognized.

     

    Project: PhoenixMiner 5.5c
    Author: lnxd
    Base: Ubuntu 20.04
    Target: Unraid 6.9.0 - 6.9.1

    Wallet: 3K4kD8QijmqAJHEqijhWe5Nnbu4CvdURJB
    Pool: asia1.ethermine.org:4444

    Starting PhoenixMiner 5.5c with the following arguments:
    -pool asia1.ethermine.org:4444 -wal 3K4kD8QijmqAJHEqijhWe5Nnbu4CvdURJB.x -tt 75 -tstop 85 -tstart 80 -cdm 1 -cdmport 5450 -amd
    Phoenix Miner 5.5c Linux/gcc - Release build
    --------------------------------------------

    [0mNo OpenCL platforms found
    [91mNo avaiable GPUs for mining. Please check your drivers and/or hardware.
    [0m

     

    Do you have any other idea?

     

     

  5. Here are more (lspci -v) details:

     

    02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Curacao XT / Trinidad XT [Radeon R7 370 / R9 270X/370X] (prog-if 00 [VGA controller])
            Subsystem: ASUSTeK Computer Inc. Curacao XT / Trinidad XT [Radeon R7 370 / R9 270X/370X]
            Flags: fast devsel, IRQ 10, IOMMU group 19
            Memory at d0000000 (64-bit, prefetchable) [disabled] [size=256M]
            Memory at f7a00000 (64-bit, non-prefetchable) [disabled] [size=256K]
            I/O ports at d000 [disabled] [size=256]
            Expansion ROM at f7a40000 [disabled] [size=128K]
            Capabilities: [48] Vendor Specific Information: Len=08 <?>
            Capabilities: [50] Power Management version 3
            Capabilities: [58] Express Legacy Endpoint, MSI 00
            Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
            Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
            Capabilities: [150] Advanced Error Reporting
            Capabilities: [270] Secondary PCI Express
            Capabilities: [2b0] Address Translation Service (ATS)
            Capabilities: [2c0] Page Request Interface (PRI)
            Capabilities: [2d0] Process Address Space ID (PASID)
            Kernel modules: radeon, amdgpu

    02:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Oland/Hainan/Cape Verde/Pitcairn HDMI Audio [Radeon HD 7000 Series]
            Subsystem: ASUSTeK Computer Inc. Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series]
            Flags: bus master, fast devsel, latency 0, IRQ 5, IOMMU group 19
            Memory at f7a60000 (64-bit, non-prefetchable) [size=16K]
            Capabilities: [48] Vendor Specific Information: Len=08 <?>
            Capabilities: [50] Power Management version 3
            Capabilities: [58] Express Legacy Endpoint, MSI 00
            Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
            Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
            Capabilities: [150] Advanced Error Reporting

  6. 54 minutes ago, lnxd said:

     

    EDIT: @Lobsi In your signature, it says your "AMD Radeon R9 270X" is in Server 1 which is running "unRaid 6.2 RC2"! That's not going to work. Are you on a more up to date version now? 

    Hi LNXD,
    Currently i am using Version 6.9.0-rc2, the current next branch.

  7. Dear LNXD,

     

    I like to ask if the AMD R9 270X  is supported?

     

    My Graphics Card is the following:

     

    IOMMU group 19:[1002:6810] 02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Curacao XT / Trinidad XT [Radeon R7 370 / R9 270X/370X]

    [1002:aab0] 02:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Oland/Hainan/Cape Verde/Pitcairn HDMI Audio [Radeon HD 7000 Series]

     

    I get the following Error:

     

    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

     

    Project: PhoenixMiner 5.5c
    Author: lnxd
    Base: Ubuntu 20.04
    Target: Unraid 6.9.0 - 6.9.1

    Wallet: 3K4kD8QijmqAJHEqijhWe5Nnbu4CvdURJB
    Pool: asia1.ethermine.org:4444

    Starting PhoenixMiner 5.5c with the following arguments:
    -pool asia1.ethermine.org:4444 -wal 3K4kD8QijmqAJHEqijhWe5Nnbu4CvdURJB.x -tt 75 -tstop 85 -tstart 80 -cdm 1 -cdmport 5450 -amd
    Phoenix Miner 5.5c Linux/gcc - Release build
    --------------------------------------------

    [0mOpenCL driver version: 20.20-1089974-ubuntu-20.04
    [91mNo avaiable GPUs for mining. Please check your drivers and/or hardware.
    [0m

     

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

     

    Is there a way to get my 270X recognized by the docker anyways?

    I would love it to give my old Card a reason to consume power in my Unraid server :)

     

     

  8. Hello friends of Unraid,

    I would like to know where i am struggling...

    I just arrived to setup my personal OneDrive and i were able to see my files who are already on my OneDrive by using "Rclone ls Onedrive:"... For now i try to Mount the Onedrive but i dont arrive it.
    Is it possible to mount the drive by using unassigned devices plugin somehow?

    It would be nice to make the OneDrive available in the /mnt directory.

    What i have seen is the directory /mnt/disks/rclone_volume but the directory is empty (watching with WinSCP)...

    I would like to expose the Onedrive as share from unraid, could this be done somehow?

  9. Hello all,

     

    I would like to ask about the support of larger Files then 20GB.

    Me and a co-worker wer trying to upload a large (40GB) Iso Image but the transfer stopped @ the Size of 20GB (WinSCP is reporting filesize 19908MB).

    Is it possible to upload the whole file, without splitting it?

     

    Thank you for a fast response, have a nice day and stay healthy!

     

    Simon

  10. Okay, after a few retries i throw the hand towel.

    I dont get it to work until now, so i have to think about moving away from unraid and get 2 FreeNAS boxes (using ESXi with the compromise of being less power saveing due lack of spindown etc...) and use ZFS instead :(

    The most annoying thing is to waive the Unraid File handling and i`ve got used to unraid.

     

    To make a last hurrah, is there any Snapshot plugin or Unraid base OS support for BTRFS snapshots (to another unraid host) planned in future?

  11. I would love it to be able to use BTRFS snapshots in a GUI (Setup Snapshots) and beeing able to set up BTRFS snapshotting (send / receive) to another Unraid Server, this would be a really nice and powerful feature i would never miss!

     

    Hope this will be implemented soon! so there is another +1 from me

  12. 5 minutes ago, johnnie.black said:

    That won't work, each disk is an independent filesystem, and snapshots can't cross filesystems.

    Okay so i am on the wrong way... sorry i am a bit confused because i am not very deep knowing about btfrs sync.

     

    Do you have an idea how i finally could snap the 4 4tb disks as you mentioned before?

     

    From my point of view it should be possible to create some virtual (?) subvolumes on the offsite server to put the snapshots from the mainserver in it, but right now i am unable to get this working.

  13. My idea is to trigger the destination unraid servers unraid mechanic by using the /mnt/users directory

    For now i did the following change to your script:
     

    btrfs send -p /mnt/disk$i/snaps/$sd /mnt/disk$i/snaps/"$sh"_$nd | pv -prtabe -s "$t"M | ssh root@$ip "btrfs receive /mnt/users/snaps/disk$i"

     

    Unfortunately i am further not able to make the initial snapshot from source server to destination server, to use your script once the initial snapshot is made.
     

  14. 12 minutes ago, johnnie.black said:

    Yes, but you'd need to adapt the script and will only have room to snapshot 4 disks (16TB).

    Due my 20 TB unraid array is only filled with 8TB data now i could live with this circumstance.

    It would be nice if you can get me the idea how i could do that.

    Even it would be nice to know how i could scale this, if i add more drives to the offsite Server (replace small case with bigger one one time).

  15. Oh no, i hoped so much this is not needed...
    My small server does only have 3 HDD-slots, so i am unable to provide the same amount of disks of my main server.

    The configuration of the main Server is 1x 8TB for parity and 5x 4TB for any kind of Data.

     

    Is there no way to put the snapshots in directories labled as the disks name?

     

  16. 20 minutes ago, johnnie.black said:

    The first snapshot from every disk needs to be sent manually to dest, only after that you can start using the script to make incremental backups, also the script is set to send to dest server root, not snaps folder, you can use any folder if you want but need to adjust the script accordingly.

    Thank you very much for your explaination, i appreciate that much.

     

    Can you give me an example how i can put the first snapshot from my source server to my destination server?

     

    I would like to get finally this situation:

    I have 2 Unraid Servers, a bigger one who has different Dockers and VMs and a smaller one who only should store the snapshots from the bigger one in case i get a ransom ware or crypto trojan...

    On the small server i would like to have all snapshots stored by preserving the unraid mechanic (there are 3 8tb Drives, one for parity in it) if this is possible. Finally i like to put the Server in sleep until the next snapshot cronjob of the bigger server starts again....

     

  17. 50 minutes ago, johnnie.black said:

    Does the parent snapshot exist on /mnt/disk1 on the destination server? Post the output of

    
    ls -l /mnt/disk1

    on the destination server.

    This seems to be my main issue, i have not the right idea how i get the parent snapshot from one server to the backup server.

     

    The output of your question:

    root@Zwerg:~# ls -l /mnt/disk1
    total 0
    drwxrwxrwx 1 nobody users 8 Nov 11 11:08 snaps/

     

  18. Dear johnnie.black,

    Sorry i am testing around with your given script but unfortunately it seems to be not working for me.

    Everytime i try to "send the differences from previous one" i get some connection errors and finally the information "send/receive failed" from all disks.

    I try to figure out how i can get it working, because i am not so familiar with ssh it is a little challenge for me.

    Please can you explain me a way to get it working for my private purpose?

    The goal will be to send btrfs snapshots to my other unraid Server located on a different location in my house, they will not go into cloud or offsite.

     

     

    Things i figured already out:

     

    - Made ssh connection on from Source-Server to Backup-Server and gave a fingerprint (confirmed yes)

     

    - Manually used the following string in the terminal:

     

    btrfs send -p /mnt/disk1/snaps/Data_2019-11-11-1340 /mnt/disk1/snaps/Data_2019-11-11-1358 | pv -prtabe | ssh root@HEREISDESTIP "btrfs receive /mnt/disk1"
    At subvol /mnt/disk1/snaps/Data_2019-11-11-1358
    root@192.168.1.111's password:

     

    Here i entered valid PW


    ERROR: empty stream is not considered valid

     

    I am not using variables to fixing everything to one working command, then i am not using -s option on pv and not using the -c switch on ssh to make all simpler

     

    What could i do next to get it finally working?

    Thank you very much, any help is very appreciated!

     

    Best regards

    Lobsi

    Quote
    
    #!/bin/bash
    
    #Snapshot date format
    nd=$(date +%Y-%m-%d-%H%M)
    #Dest IP Address
    ip="192.168.1.24"
    #Share to snapshot and send/receive
    sh=TV
    
    #disks that have share to snapshot and send/receive
    for i in {1..28} ; do
    
    #calculate and display send size
    s=$(BLOCKSIZE=1M df | grep -w disk$i | awk '/[0-9]%/{print $(3)}')
    su=$(BLOCKSIZE=1M df | grep -w user | awk '/[0-9]%/{print $(3)}')
    d=$(ssh root@$ip BLOCKSIZE=1M df | grep -w disk$i | awk '/[0-9]%/{print $(3)}')
    du=$(ssh root@$ip BLOCKSIZE=1M df | grep -w user | awk '/[0-9]%/{print $(3)}')
    t=$((s-d))
    if [ "$t" -lt 0 ] ; then ((t = 0)) ; fi
    g=$((t/1024))
    tu=$((su-du))
    if [ "$tu" -lt 0 ] ; then ((tu = 0)) ; fi
    gu=$((tu/1024))
    
    echo -e "\e[32mTotal transfer size for disk$i is ~"$g"GiB, total remaining for this backup is ~"$gu"GiB\e[0m"
    
    #source snaphots folder
    cd /mnt/disk$i/snaps
    
    #get most recent snapshot
    sd=$(echo $sh_* | awk '{print $NF}')
    
    #make a new snapshot and send differences from previous one
        btrfs sub snap -r /mnt/disk$i/$sh /mnt/disk$i/snaps/"$sh"_$nd
        sync
            btrfs send -p /mnt/disk$i/snaps/$sd /mnt/disk$i/snaps/"$sh"_$nd | pv -prtabe -s "$t"M | ssh -c aes128-gcm@openssh.com root@$ip "btrfs receive /mnt/disk$i"
            if [[ $? -eq 0 ]]; then
            ssh root@$ip sync
            echo -e "\e[32mdisk$i send/receive complete\e[0m"
            printf "\n"
            else
            echo -e "\e[31mdisk$i send/receive failed\e[0m"
            /usr/local/emhttp/webGui/scripts/notify -i warning -s "disk$i send/receive failed"
            fi
    done
    /usr/local/emhttp/webGui/scripts/notify -i normal -s "T5>T6 Sync complete"

     

     

  19. Lobsi, I though the sd* could change between boots.  How did you manage to ensure that the drive with your VMs always gets allocated dev/sdh?

     

    Sent from my LG-H815 using Tapatalk

     

    @CHBMB, I am auto-mounting this ssd with unassigned devices, if i dont change my setup it is keeping on /dev/sdh.

    This is also surviveing reboots so far... its working for me, for my purposes, but it could be done much easier and out of the box.

     

    regards

     

    Lobsi

  20. A suggestion (probably made before) - add an Apps drive/pool, exactly like the current Cache drive/pool so it uses the same code and design.  The only difference is that the Cache drive(s) start and stop with the array, and the Apps drive(s) start and stop with the system.

     

    This is such a good idea!

    Currently all my VMs are on a dedicated out-of-any-array SSD... Theoretically for me it does not play any role if the unraid array is started or not, the VMDatastore path (/dev/sdh/VMDatastore) would be accessible if the array would be unavailable. I would appreciate it to give this input a real chance!