Jump to content

Fabiolander

Members
  • Posts

    29
  • Joined

  • Last visited

Posts posted by Fabiolander

  1. Hi Guys,

     

    Using SMB share on a LAN gigabit connection to transfert data from my macbook to unraid is very very slow...

    It takes less time to transfert to usb drive then copy from this usb drive to unraid than to transfert files directly from my Mac to Unraid via the network.

     

    Here is a way to connect my unraid server to my mac via USB ? 

  2. Hello,

     

    I use an encrypted array and I wanted to remove one disk from the array to use it as an unassigned disk.

     

    I did new config but now I cannot start the array anymore because all drives are seen as new and Unraid asks for a new encryption key.

     

    I have an old backup of my flash card I tried to restore. After restore Unraid does not asks for a new key anymore but because the disk configuration was different at the time I did this backup the array cannot start. If I do new config I reloop to the previous state with all disks seen as new and unraid asking for a new key.

     

    I'm lost, what should I do at this stage to rebuild my encrypted array ? 

     

    Thank you for your help

    Fab

    nas-diagnostics-20200728-0730.zip

  3. 13 minutes ago, johnnie.black said:

    Encrypted disks can be accessed on any Linux distro with LUKS support, you need to provide the key.

    Thank you !  Now I know I can keep hope to restore my data.

     

    Having my two failed drive on my desk, I do not know what to do best

    I will call the recovery disk service this morning.

     

    1 - The best solution would be to repair one of the 2 disks so I can rebuild the complete Array. but I have doubt this is possible.

    2 - They only restore encrypted files then I decrypt them on a Linux distro with LUKS (Process to do it is not crystal clear yet)

    3 - They restore and decrypt the files. That mean I sent them the key.

     

    Did you already experience such problem ?

  4. 3 minutes ago, Frank1940 said:

    Both disks are MIA.  You could open up the case and see if you can switch data and power cables with disks that are working.  (That would verify that they are true disk failures and not some other hardware problem.)  Normally one would not do this but two disk failures (virtually) simultaneously is quite uncommon so I would suggest checking other possible hardware candidates!

     

    You should probably pose your question about recovery of data in the support thread for the encryption tool   Apparently, it is builtin so You might have to edit the subject of this thread (Edit the first post) or start a new thread to attract some attention to the new situation.

     

    Do you have a backup of any of this data as that might be your best option?  (Hate to say it but an offsite backup plan would probably be cheaper than an attempted data recovery service.  Disk failures are only one of several events that can cause catastrophic unrecoverable loss of data...)

    Thank you for the advise. I open another post.

     

    No offsite backup... and at this stage I have no clue what data has been lost...  6TO / 21TO

    I guess there is no way to know without rebuilding the aray.

     

    I want to take my chance and to send these disks to recovery services... If one of these 2 disks can be repaired then I can rebuild the whole Aray.  (Yes I'm a dreamer).

  5. 4 hours ago, Energen said:

    So you seem to be missing the point of Unraid's parity drives and rebuilding an array from failed disks. 

     

    If in fact the drives are dead and you can't get them working then you'll have to replace the drives with new ones and rebuild your array.  You're not trying to copy any data off them or have anyone else try to recover any data from them.

     

    https://wiki.unraid.net/UnRAID_6/Storage_Management#Replacing_disks

     

    But it's also pretty rare/odd/strange/whatever that two drives "fail" at the same time, so I'd be looking for some other reason of them not mounting before replacing them.  Chances are you would have been experiencing problems with them beforehand if they were actually bad.  Not always, but usually.

    Thank you.

     

    I ordered 2 new 4TO WD NAS hardrives. 

    The reason of this fail is maybe yesterday evening storm but why only these 2 drives when I have 3 same models in the server and nothing else in house has been damaged. I can't explain. Since this morning I changed hardware ( new MB, Proc and Power Supply)

     

    I know if I have only one parity, I can't restore 2 disks but I thought there is a way to recover data if I give my drive to company that can read data on damaged disk and decrypt them using aray key... but maybe I dream....

    6 hours ago, Frank1940 said:

    First thing, get the Diagnostics    Tools   >>>   Diagnostics 

     

    Second thing,I would try is to shut the server down cleanly.  (I would start this by stopping the array if it is started.  Then turn off the auto setup of the array.)  Let it set with the power off for five minutes or so.  Then restart the server and see if the same problem still exists.  If the problem still exists, get the Diagnostics again and upload both files.

    Thank you

     

    Here is the diag before and after reboot

     

     

    unraid.local-diagnostics-20200712-2221.zip unraid.local-diagnostics-20200712-2229.zip

  6. Hi,

     

    One of my worst numeric nightmare become true this morning.

    My UNRAID server was stopped but when I tried to restart it,  2 WD 3TO disks ( Dam! I just discovered they have been produced the same day) were dead on my 7 disks area. A terrific "Tac-Tac" comes from these 2 drives....

     

    Because it is an encrypted area I do not know what is the best thing to do now.

    Should I try to restart the area without the drives then send the two others to a recovery service ?

    Should I move manually the data disk by disk to another place ( but how to read encrypted data without mounting the area) ?

     

    Thanks for your support

    Fab

  7. Arffff...  I  cannot use unbalance anymore.

    Quote

    "unBALANCE needs exclusive access to disks, so disable mover and/or any dockers that write to disks, before running it. Also note that transfer speed may be affected by disk health"

     

    I stopped docker, VM, clear the cache drive...  but the application remains locked.

     

    Did I missed something ?

  8. Hi,

     

    I encrypted my array using a password generated by my favorite password manager.

    So everytime Unraid reboot, the array wait for the password before to start.

    Perfect I'm very happy with this feature because if my server is stolen the rubber can't acess my data.

     

    Now the dark side is the array can't start automatically so I have to be onsite to enter the password.

     

    I wanted to add a bit of automation by using a keyfile accessible from an FTP server so I folow the great tuto of spaceinvader one 

     

    My problem is my password generated by my password manager includes special characters : " / ' # @ ....  

    My linux knowledge is limited and I don't know how to give special character in this password string :

     

    wget ftpsimplicite [email protected] --password="mypassord@"/!'" ftp://myftp/ keyfile -O /root/keyfile

    wget ftpsimplicite [email protected] --password="mypassord'@"/!" ftp://myftp/ keyfile -O /root/keyfile

     

    Could you please help me ?

    Thanks

     

     

     

  9. Hi,

     

    Thanks a lot for this plugin.

     

    I think I have the same blanck page problem as some others who try to add http tab when the unray server is accessed by https.

    So I started by creating a new tab for Sabnzb, I added a new port in the Sabnzb container then I mapped this new port to https access in the Sabnzb configuration. now it works. 🤘

     

    My question is Should I do the same for all others container applications ?  because I have no clue how to do in plex or krusader...

    Do you have maybe an easier workaround ?

     

    Thanks a lot and take care

    Fab

  10. Maybe I will not use this VM for gaming finally. It looks super tricky to make it works properly with video by pass.

     

    In my dream I was thinking about moving my actual video editing hackintosh (i9 with 64GB RAM and Radeon64) to UNRAID server where I can host one WIN10 Gaming VM and one MAC Video editing VM. I'm afraid this project is a bit too much optimistic 🤣🤣

     

    For now it is maybe a better compromise to keep this UNRAID server with the i7 configuration and to use it only as NAS, Media server and Home Assistant. I will continue to use dual boot between WIN10 & Catalina for other purposes.


    I just install 2 cheap 10GB cards between both and the transfert rate is close to the Nirvana 😎😎

     

    Thanks again for your help

     

    image.thumb.png.74104932b16f46c887be362a2d36c46b.png

      

  11. 7 hours ago, bastl said:

    @Fabiolander You have to connect a display to the card or a HDMI dummy plug, that simulates a connected display. And you have to remove the VNC graphics from the VM.

    Thanks a lot @bastl for your help.

     

    The VNC card is disabled ( I connect to the VM with anydesk )

    A old HDMI monitor is connected to the video card

     

    The screen resolution remains locked to 640x480 and the OS is frozen now.

     

    image.png.8c9e9e58e1efc592f870c7f7da895dd2.png

     

    <?xml version='1.0' encoding='UTF-8'?>
    <domain type='kvm' id='4'>
      <name>WIN10 Gaming 1</name>
      <uuid>4da06f4b-18e3-b9f1-d6ca-80516e89d87b</uuid>
      <description>WIN10 Gaming 1</description>
      <metadata>
        <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/>
      </metadata>
      <memory unit='KiB'>17301504</memory>
      <currentMemory unit='KiB'>17301504</currentMemory>
      <memoryBacking>
        <nosharepages/>
      </memoryBacking>
      <vcpu placement='static'>4</vcpu>
      <cputune>
        <vcpupin vcpu='0' cpuset='0'/>
        <vcpupin vcpu='1' cpuset='4'/>
        <vcpupin vcpu='2' cpuset='2'/>
        <vcpupin vcpu='3' cpuset='6'/>
      </cputune>
      <resource>
        <partition>/machine</partition>
      </resource>
      <os>
        <type arch='x86_64' machine='pc-i440fx-4.2'>hvm</type>
        <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
        <nvram>/etc/libvirt/qemu/nvram/4da06f4b-18e3-b9f1-d6ca-80516e89d87b_VARS-pure-efi.fd</nvram>
      </os>
      <features>
        <acpi/>
        <apic/>
        <hyperv>
          <relaxed state='on'/>
          <vapic state='on'/>
          <spinlocks state='on' retries='8191'/>
          <vendor_id state='on' value='none'/>
        </hyperv>
      </features>
      <cpu mode='host-passthrough' check='none'>
        <topology sockets='1' cores='2' threads='2'/>
        <cache mode='passthrough'/>
      </cpu>
      <clock offset='localtime'>
        <timer name='hypervclock' present='yes'/>
        <timer name='hpet' present='no'/>
      </clock>
      <on_poweroff>destroy</on_poweroff>
      <on_reboot>restart</on_reboot>
      <on_crash>restart</on_crash>
      <devices>
        <emulator>/usr/local/sbin/qemu</emulator>
        <disk type='file' device='disk'>
          <driver name='qemu' type='raw' cache='writeback'/>
          <source file='/mnt/disks/SSD-UNASSIGNED/WIN10 Gaming 1/vdisk1.img' index='1'/>
          <backingStore/>
          <target dev='hdc' bus='virtio'/>
          <boot order='1'/>
          <alias name='virtio-disk2'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
        </disk>
        <controller type='pci' index='0' model='pci-root'>
          <alias name='pci.0'/>
        </controller>
        <controller type='ide' index='0'>
          <alias name='ide'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
        </controller>
        <controller type='virtio-serial' index='0'>
          <alias name='virtio-serial0'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
        </controller>
        <controller type='usb' index='0' model='ich9-ehci1'>
          <alias name='usb'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
        </controller>
        <controller type='usb' index='0' model='ich9-uhci1'>
          <alias name='usb'/>
          <master startport='0'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
        </controller>
        <controller type='usb' index='0' model='ich9-uhci2'>
          <alias name='usb'/>
          <master startport='2'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
        </controller>
        <controller type='usb' index='0' model='ich9-uhci3'>
          <alias name='usb'/>
          <master startport='4'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
        </controller>
        <interface type='bridge'>
          <mac address='52:54:00:fc:0f:43'/>
          <source bridge='br0'/>
          <target dev='vnet0'/>
          <model type='virtio'/>
          <alias name='net0'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
        </interface>
        <serial type='pty'>
          <source path='/dev/pts/0'/>
          <target type='isa-serial' port='0'>
            <model name='isa-serial'/>
          </target>
          <alias name='serial0'/>
        </serial>
        <console type='pty' tty='/dev/pts/0'>
          <source path='/dev/pts/0'/>
          <target type='serial' port='0'/>
          <alias name='serial0'/>
        </console>
        <channel type='unix'>
          <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-4-WIN10 Gaming 1/org.qemu.guest_agent.0'/>
          <target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/>
          <alias name='channel0'/>
          <address type='virtio-serial' controller='0' bus='0' port='1'/>
        </channel>
        <input type='tablet' bus='usb'>
          <alias name='input0'/>
          <address type='usb' bus='0' port='1'/>
        </input>
        <input type='mouse' bus='ps2'>
          <alias name='input1'/>
        </input>
        <input type='keyboard' bus='ps2'>
          <alias name='input2'/>
        </input>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
          </source>
          <alias name='hostdev0'/>
          <rom file='/mnt/user/tmp/MSI.GTX960.2048.150528.rom'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0' multifunction='on'/>
        </hostdev>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x02' slot='0x00' function='0x1'/>
          </source>
          <alias name='hostdev1'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x1'/>
        </hostdev>
        <memballoon model='none'/>
      </devices>
      <seclabel type='dynamic' model='dac' relabel='yes'>
        <label>+0:+100</label>
        <imagelabel>+0:+100</imagelabel>
      </seclabel>
    </domain>

     

    other things I discovered :

    Since I enforced 'PCIe ACS override' the 'UNRAID NVIDIA' plugin does not detect any video card anymore

    'GPU diagnostic' returns this error Error 300: Vendor utility not found.

     

    I guess it is because the videocard is now rerooted and locked by the VM but not sure so I share this info with you.

     

    Thanks again for your time 🤘

  12. Waouhhh thanks a lot @bastl !

     

    I went to setting > VM manager and I change PCIe ACS override settings from 'off' to 'both'

    Bingo@! Now NVIDIA Graphic and Audio are in the same group !

    IOMMU group 0:	[8086:0c00] 00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)
    IOMMU group 1:	[8086:0c01] 00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
    IOMMU group 2:	[8086:0c05] 00:01.1 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x8 Controller (rev 06)
    IOMMU group 3:	[8086:0c09] 00:01.2 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x4 Controller (rev 06)
    IOMMU group 4:	[8086:8cb1] 00:14.0 USB controller: Intel Corporation 9 Series Chipset Family USB xHCI Controller
    IOMMU group 5:	[8086:8cba] 00:16.0 Communication controller: Intel Corporation 9 Series Chipset Family ME Interface #1
    IOMMU group 6:	[8086:8cad] 00:1a.0 USB controller: Intel Corporation 9 Series Chipset Family USB EHCI Controller #2
    IOMMU group 7:	[8086:8ca0] 00:1b.0 Audio device: Intel Corporation 9 Series Chipset Family HD Audio Controller
    IOMMU group 8:	[8086:8c90] 00:1c.0 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 1 (rev d0)
    IOMMU group 9:	[8086:8c96] 00:1c.3 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 4 (rev d0)
    IOMMU group 10:	[8086:8ca6] 00:1d.0 USB controller: Intel Corporation 9 Series Chipset Family USB EHCI Controller #1
    IOMMU group 11:	[8086:8cc4] 00:1f.0 ISA bridge: Intel Corporation Z97 Chipset LPC Controller
    		[8086:8c82] 00:1f.2 SATA controller: Intel Corporation 9 Series Chipset Family SATA Controller [AHCI Mode]
    		[8086:8ca2] 00:1f.3 SMBus: Intel Corporation 9 Series Chipset Family SMBus Controller
    IOMMU group 12:	[10de:1401] 02:00.0 VGA compatible controller: NVIDIA Corporation GM206 [GeForce GTX 960] (rev a1)
    		[10de:0fba] 02:00.1 Audio device: NVIDIA Corporation GM206 High Definition Audio Controller (rev a1)
    IOMMU group 13:	[1000:0072] 03:00.0 Serial Attached SCSI controller: Broadcom / LSI SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)
    IOMMU group 14:	[1969:e091] 05:00.0 Ethernet controller: Qualcomm Atheros Killer E220x Gigabit Ethernet Controller (rev 13)

    After a reboot the VM starts !

     

    Now a new issue : Connecting to the VM with anydesk the max resolution the VM is able to display is a very laggy 640 x 480.

    I managed to install the latest NVIDIA graphic driver but nothing change I'm stuck in 640x480

     

    Do you have an idea of what I missed ?

     

     

  13. Hi,

     

    This graphic card passthrough issue seems very popular with kvm 😵

    So like many of us I got this VFIO error message.

    Quote

    internal error: qemu unexpectedly closed the monitor: 2020-03-25T10:05:32.401100Z qemu-system-x86_64: -device vfio-pci,host=0000:02:00.0,id=hostdev0,bus=pci.0,multifunction=on,addr=0x5: vfio 0000:02:00.0: group 1 is not viable Please ensure all devices within the iommu_group are bound to their vfio bus driver.

     

    I tried several workarounds without success

    • First I tried to change the slot of the video card on the mother board but the error came back with a different slot number
       
    • I added multifunction='on' and changed the virtual slot of the video sound card  in the KVM xml but error remains
    <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x02' slot='0x00' function='0x0'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0' multifunction='on'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x02' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x1'/> </hostdev>
    • finally I tried VFIO-PCI CFG plugin and after reboot the UNRAID array cannot start again because the Parity disk disappeared...

     

    I'm stuck and I will very appreciate if someone can help me to sort out this error.

    Thank you

    nas-diagnostics-20200325-2148.zip

  14. No reply so far but I continue my investigation.

     

    As advised by spaceinvader one :

    • First I tried to change the slot of the video card on the mother board but the error came back with a different slot number
      • Execution error

        internal error: qemu unexpectedly closed the monitor: 2020-03-25T10:05:32.401100Z qemu-system-x86_64: -device vfio-pci,host=0000:02:00.0,id=hostdev0,bus=pci.0,multifunction=on,addr=0x5: vfio 0000:02:00.0: group 1 is not viable Please ensure all devices within the iommu_group are bound to their vfio bus driver.
         

    • I added multifunction='on' and changed the virtual slot of the video sound card  in the KVM xml but error remains

      •     <hostdev mode='subsystem' type='pci' managed='yes'>
              <driver name='vfio'/>
              <source>
                <address domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
              </source>
              <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0' multifunction='on'/>
            </hostdev>
            <hostdev mode='subsystem' type='pci' managed='yes'>
              <driver name='vfio'/>
              <source>
                <address domain='0x0000' bus='0x02' slot='0x00' function='0x1'/>
              </source>
              <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x1'/>
            </hostdev>
    • I tried VFIO-PCI CFG plugin and after reboot the UNRAID array cannot start again because the Parity disk disappeared.

    Do you have an idea where I can dig to sort out this video card passthrough issue ?

     thank you in advance for your time

×
×
  • Create New...