Jump to content

jlficken

Members
  • Posts

    114
  • Joined

  • Last visited

Posts posted by jlficken

  1. Please tell me you’re backing them up with with the Backup / Restore Appdata plug-in?

     

    If not and the appdata folder is gone then I think you’re up a creek.

     

    ETA: So the zip files aren’t in the path specified in CA Backup / Restore?

     

    ETA: We’re you getting emails from Backup / Restore when it ran?

  2. I had an abrupt shutdown yesterday...my fault...and now I can't get libvirt to start.

     

    libvirt log through the GUI:

    2022-10-05 12:51:44.898+0000: 16965: info : libvirt version: 8.2.0
    2022-10-05 12:51:44.898+0000: 16965: info : hostname: FSNAS1U
    2022-10-05 12:51:44.898+0000: 16965: error : virNetSocketNewListenUNIX:511 : Failed to bind socket to '/run/libvirt/libvirt-sock': Address already in use

     

    I've tried the suggestion made here, upgraded to 6.11.0, downgraded back to 6.10.3, and even replaced the entire USB drive with a backup that was made automatically earlier that day to no avail.

     

    I'm at a complete loss and would really like to get it fixed since it hosts my work VM.

     

    I do have another UnRAID server running 6.10.3 so would there be anything that I could copy over from it to the main UnRAID server with the problems to help me get past this?

     

    The /etc/libvirt directory is empty on the main machine but not the backup machine, however, the libvirt- directory has files in it on both machines which I found odd.

     

    Any help would be greatly appreciated!

    fsnas1u-diagnostics-20221005-0807.zip

  3. On 9/26/2022 at 5:52 PM, Kevinb123213 said:

    TL;DR

    Files ending in a dash seem to indicate some sort of corruption.

     

    Long version:

    Found the solution. I think I should share it as it may help others.

    Apparently my setup cuts power and resets when I passthrough one of my GPUs - specifically the Nvidida Quadro K600. Knowing that I had an unclean shutdown, I went down the thought processes of data corruption. Which made me remember, a while back I noticed on a corrupted copy unraid usb, the dash ending files (syslinux-) appeared there too.

     

    So, I ran the following and pressed option 2 to restore from backup.
     

    fsck /boot

     

    At this point I restarted and was able to start libvirt.

     

    Now time to figure why my K600 is causing reset.

    -Kevin

     

     

     

    I just had this happen but your solution didn't seem to work. 

     

    My /etc/libvirt is empty but /etc/libvirt- has contents. 

     

    Should I copy libvirt- over libvirt, run the fsck, and then reboot?

     

    This is driving me insane as it’s my work VM 😞

  4. I created a Pool and Dataset but for some reason via SMB I get "Permission Denied" when trying to create a file/directory.

     

    I used 775 as the permissions when creating the dataset and here is the SMB Extra config that I added for SMB:

    [ZFSTest]
          path = /mnt/disks/ZFSTest/Test
          comment =
          browseable = yes
          writeable = no
          read list = 
          write list = jlficken
          valid users = jlficken
          case sensitive = auto
          preserve case = yes
          short preserve case = yes
          vfs objects =
     

    I can view it I just can't modify it in any way.

     

    I'm a complete newbie at ZFS so anything you need me to grab just ask and I'll get it for you.

     

    This is what I see for permissions on that directory:

    root@FSNAS1TU:~# ls -l /mnt/disks/ZFSTest
    total 1
    drwxr-xr-x 2 root root 2 Jul 28 08:40 Test/

     

    I can create files/directories through the terminal in the directory just not through SMB.

  5. I think I found an issue with the latest version of this plugin.

     

    I have 2 different servers running on 6.9.2 and after the latest update all of my SAS drives went to the "Drives not found or removed" list while they all showed up previously and are currently attached to the system and showing in Unassigned Devices.  The SATA drives are all fine.

     

    I love this plugin so I hope I can help to track down the issue.

    image.thumb.png.37a14cc4904af5158cb63a1745855480.png

     

     

    I saw these outputs referenced earlier so I included them.  If you need more information let me know.

     

    The main server is a CSE846 (24-bay) with a SAS2 backplane.

     

    The following outputs are from a Supermicro CSE836 (16-bay) chassis with a SAS2 backplane

     

    lsscsi -ug

    root@FSNAS1BU:~# lsscsi -ug
    [0:0:0:0]    disk    none                              /dev/sda   /dev/sg0 
    [1:0:0:0]    disk    55cd2e414e1ff059                  /dev/sdb   /dev/sg1 
    [2:0:0:0]    cd/dvd  none                              /dev/sr0   /dev/sg2 
    [3:0:0:0]    disk    55cd2e414e17f0ab                  /dev/sdc   /dev/sg3 
    [9:0:0:0]    disk    5000cca253f72f6b                  /dev/sdd   /dev/sg4 
    [9:0:1:0]    disk    5000cca2adc5f202                  /dev/sde   /dev/sg5 
    [9:0:2:0]    disk    5000cca02b222ac4                  /dev/sdf   /dev/sg6 
    [9:0:3:0]    disk    5000cca2adc1c778                  /dev/sdg   /dev/sg7 
    [9:0:4:0]    disk    5000cca258eefa6d                  /dev/sdh   /dev/sg8 
    [9:0:5:0]    disk    5000cca258c859d8                  /dev/sdi   /dev/sg9 
    [9:0:6:0]    disk    5000cca267d10dab                  /dev/sdj   /dev/sg10
    [9:0:7:0]    disk    5000cca259c440bb                  /dev/sdk   /dev/sg11
    [9:0:8:0]    disk    5000cca266f132c4                  /dev/sdl   /dev/sg12
    [9:0:9:0]    disk    5000cca04fae1238                  /dev/sdm   /dev/sg13
    [9:0:10:0]   disk    5000cca290cfccb3                  /dev/sdn   /dev/sg14
    [9:0:11:0]   disk    5000cca267ce757d                  /dev/sdo   /dev/sg15
    [9:0:12:0]   enclosu 500304800139b1bd                  -          /dev/sg16

     

    lsscsi -u -b

    root@FSNAS1BU:~# lsscsi -u -b
    [0:0:0:0]    none                              /dev/sda 
    [1:0:0:0]    55cd2e414e1ff059                  /dev/sdb 
    [2:0:0:0]    none                              /dev/sr0 
    [3:0:0:0]    55cd2e414e17f0ab                  /dev/sdc 
    [9:0:0:0]    5000cca253f72f6b                  /dev/sdd 
    [9:0:1:0]    5000cca2adc5f202                  /dev/sde 
    [9:0:2:0]    5000cca02b222ac4                  /dev/sdf 
    [9:0:3:0]    5000cca2adc1c778                  /dev/sdg 
    [9:0:4:0]    5000cca258eefa6d                  /dev/sdh 
    [9:0:5:0]    5000cca258c859d8                  /dev/sdi 
    [9:0:6:0]    5000cca267d10dab                  /dev/sdj 
    [9:0:7:0]    5000cca259c440bb                  /dev/sdk 
    [9:0:8:0]    5000cca266f132c4                  /dev/sdl 
    [9:0:9:0]    5000cca04fae1238                  /dev/sdm 
    [9:0:10:0]   5000cca290cfccb3                  /dev/sdn 
    [9:0:11:0]   5000cca267ce757d                  /dev/sdo 
    [9:0:12:0]   500304800139b1bd                  -        

     

    lsscsi -g

    root@FSNAS1BU:~# lsscsi -g
    [0:0:0:0]    disk    Samsung  Flash Drive FIT  1100  /dev/sda   /dev/sg0 
    [1:0:0:0]    disk    ATA      VK000240GWCNP    HPG0  /dev/sdb   /dev/sg1 
    [2:0:0:0]    cd/dvd  TSSTcorp CDDVDW SN-208FB  SB00  /dev/sr0   /dev/sg2 
    [3:0:0:0]    disk    ATA      VK000240GWCNP    HPG0  /dev/sdc   /dev/sg3 
    [9:0:0:0]    disk    ATA      WDC WD120EMAZ-11 0A81  /dev/sdd   /dev/sg4 
    [9:0:1:0]    disk    ATA      WDC WD140EDGZ-11 0A85  /dev/sde   /dev/sg5 
    [9:0:2:0]    disk    HITACHI  HUSMM814 CLAR400 C260  /dev/sdf   /dev/sg6 
    [9:0:3:0]    disk    ATA      WDC WD140EDGZ-11 0A85  /dev/sdg   /dev/sg7 
    [9:0:4:0]    disk    ATA      WDC WD120EMFZ-11 0A81  /dev/sdh   /dev/sg8 
    [9:0:5:0]    disk    ATA      WDC WD120EMFZ-11 0A81  /dev/sdi   /dev/sg9 
    [9:0:6:0]    disk    ATA      WDC WD100EMAZ-00 0A83  /dev/sdj   /dev/sg10
    [9:0:7:0]    disk    ATA      WDC WD120EMFZ-11 0A81  /dev/sdk   /dev/sg11
    [9:0:8:0]    disk    ATA      WDC WD100EMAZ-00 0A83  /dev/sdl   /dev/sg12
    [9:0:9:0]    disk    HITACHI  HUSMM118 CLAR800 C29C  /dev/sdm   /dev/sg13
    [9:0:10:0]   disk    ATA      WDC WD140EDGZ-11 0A85  /dev/sdn   /dev/sg14
    [9:0:11:0]   disk    ATA      WDC WD100EMAZ-00 0A83  /dev/sdo   /dev/sg15
    [9:0:12:0]   enclosu LSI      SAS2X28          0e12  -          /dev/sg16

     

     

    ETA: I saw your post about the "smartctl -x ---json /dev/sgX" output so I ran those (attached) as well.  The sg3 disk is showing up while the sg6 disk isn't in the plugin.

     

     

    sg3.txt sg6.txt

    • Upvote 1
  6. I'm trying to get this card passed through to a Windows 10 VM but I keep getting a Code 43.

     

    I have VNC enabled as the primary monitor and the NVS 295 is bound as it's selectable from the dropdown in the VM setup.

     

    I've tried adding the VBIOS from TechPowerUp to no avail as well.

     

    I had it "working" with a 1050 Ti, however, a reboot/shutdown caused the entire UnRAID server to lock up 99% of the time and I'm tired of having to hard boot the server just to apply Windows updates to the VM so I wanted to try another video card.

     

    image.png.9e56e0cf6d7149f2c03f59f2132f4b07.png

     

    <?xml version='1.0' encoding='UTF-8'?>
    <domain type='kvm' id='3'>
      <name>Windows 10 2</name>
      <uuid>6ce9381d-1117-08b2-931d-f4c0918acfbe</uuid>
      <metadata>
        <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/>
      </metadata>
      <memory unit='KiB'>12582912</memory>
      <currentMemory unit='KiB'>12582912</currentMemory>
      <memoryBacking>
        <nosharepages/>
      </memoryBacking>
      <vcpu placement='static'>10</vcpu>
      <cputune>
        <vcpupin vcpu='0' cpuset='1'/>
        <vcpupin vcpu='1' cpuset='13'/>
        <vcpupin vcpu='2' cpuset='2'/>
        <vcpupin vcpu='3' cpuset='14'/>
        <vcpupin vcpu='4' cpuset='3'/>
        <vcpupin vcpu='5' cpuset='15'/>
        <vcpupin vcpu='6' cpuset='4'/>
        <vcpupin vcpu='7' cpuset='16'/>
        <vcpupin vcpu='8' cpuset='5'/>
        <vcpupin vcpu='9' cpuset='17'/>
      </cputune>
      <resource>
        <partition>/machine</partition>
      </resource>
      <os>
        <type arch='x86_64' machine='pc-q35-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/6ce9381d-1117-08b2-931d-f4c0918acfbe_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='1234567890ab'/>
        </hyperv>
        <kvm>
          <hidden state='on'/>
        </kvm>
        <vmport state='off'/>
        <ioapic driver='kvm'/>
      </features>
      <cpu mode='host-passthrough' check='none' migratable='on'>
        <topology sockets='1' dies='1' cores='5' threads='2'/>
        <cache mode='passthrough'/>
        <feature policy='disable' name='hypervisor'/>
      </cpu>
      <clock offset='localtime'>
        <timer name='rtc' tickpolicy='catchup'/>
        <timer name='pit' tickpolicy='delay'/>
        <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/VMs/FSWin10PVM/vdisk1.img' index='3'/>
          <backingStore/>
          <target dev='hdc' bus='virtio'/>
          <boot order='1'/>
          <alias name='virtio-disk2'/>
          <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
        </disk>
        <disk type='file' device='disk'>
          <driver name='qemu' type='raw' cache='writeback'/>
          <source file='/mnt/disks/VMs_Data/FSWin10PVM/vdisk2.img' index='2'/>
          <backingStore/>
          <target dev='hdd' bus='virtio'/>
          <alias name='virtio-disk3'/>
          <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
        </disk>
        <disk type='file' device='cdrom'>
          <driver name='qemu' type='raw'/>
          <source file='/mnt/user/isos/virtio-win-0.1.190-1.iso' index='1'/>
          <backingStore/>
          <target dev='hdb' bus='sata'/>
          <readonly/>
          <alias name='sata0-0-1'/>
          <address type='drive' controller='0' bus='0' target='0' unit='1'/>
        </disk>
        <controller type='pci' index='0' model='pcie-root'>
          <alias name='pcie.0'/>
        </controller>
        <controller type='pci' index='1' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='1' port='0x10'/>
          <alias name='pci.1'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
        </controller>
        <controller type='pci' index='2' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='2' port='0x11'/>
          <alias name='pci.2'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
        </controller>
        <controller type='pci' index='3' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='3' port='0x12'/>
          <alias name='pci.3'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
        </controller>
        <controller type='pci' index='4' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='4' port='0x13'/>
          <alias name='pci.4'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
        </controller>
        <controller type='pci' index='5' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='5' port='0x14'/>
          <alias name='pci.5'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
        </controller>
        <controller type='pci' index='6' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='6' port='0x15'/>
          <alias name='pci.6'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
        </controller>
        <controller type='pci' index='7' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='7' port='0x16'/>
          <alias name='pci.7'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x6'/>
        </controller>
        <controller type='virtio-serial' index='0'>
          <alias name='virtio-serial0'/>
          <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
        </controller>
        <controller type='sata' index='0'>
          <alias name='ide'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
        </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:7d:6d:f3'/>
          <source bridge='br0'/>
          <target dev='vnet0'/>
          <model type='virtio-net'/>
          <alias name='net0'/>
          <address type='pci' domain='0x0000' bus='0x01' slot='0x00' 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-3-Windows 10 2/org.qemu.guest_agent.0'/>
          <target type='virtio' name='org.qemu.guest_agent.0' state='connected'/>
          <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>
        <graphics type='vnc' port='5900' autoport='yes' websocket='5700' listen='0.0.0.0' keymap='en-us'>
          <listen type='address' address='0.0.0.0'/>
        </graphics>
        <video>
          <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
          <alias name='video0'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
        </video>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x83' slot='0x00' function='0x0'/>
          </source>
          <alias name='hostdev0'/>
          <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
        </hostdev>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x82' slot='0x00' function='0x0'/>
          </source>
          <alias name='hostdev1'/>
          <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
        </hostdev>
        <memballoon model='none'/>
      </devices>
      <seclabel type='dynamic' model='dac' relabel='yes'>
        <label>+0:+100</label>
        <imagelabel>+0:+100</imagelabel>
      </seclabel>
    </domain>

     

  7. On 9/13/2021 at 2:43 AM, ghost82 said:

    I have not the solution but maybe I can point you in a direction.

    May be related to lsi card, there are a lot of reports in internet with the same issue.

    Is your lsi firmware up to date?

     

    Sorry, I missed this!

     

    I'm not sure but I'm guessing the only way to find out is to reboot the server and catch it correct?

     

    Would I be better off just getting a 9300-8i w/ P16 firmware as then I could use SATA SSD's and have TRIM support?  I don't mind spending some money if that'd be the better plan.

    https://www.ebay.com/itm/164301253401?epid=1955464977&hash=item26411e2b19:g:gl8AAOSw549fF91O

  8. I've been having this issue for awhile now.  When I go to reboot this VM unRAID will sometimes just go unresponsive.  I have IPMI on my server and even it stops responding.

     

    It happened again last night and I do have remote SysLog set up.  With that said I had turned off the writing to the flash drive as it hadn't happened for awhile so I have now turned it back on.


    Here's the log up to the freeze if anyone sees anything.

     

    I'm all ears as this has been driving me nuts since 6.8.3 and I'd love to figure out why.  I thought it was the NIC so I replaced it with a ConnectX3, however that didn't fix it.

    SyslogCatchAll-2021-08-22.txt

  9. It rebooted once after about a week sucessfully.

     

    Now after 30 days I get this:

    image.png.d9afd60900bdfc496d328986a07d740b.png

    image.png.986a58f90d57f2e3d01c70b85cecbf05.png

     

    It can send an email but otherwise goes unresponsive on anything but the Dockers and Settings tabs.

     

    Trying a "shutdown -r now" it just goes away completely and won't even respond to a ping but it never reboots.

     

    Would a recording of everything that happens next time be helpful?

     

     

  10. The biggest thing that unRAID is missing that keeps it from being used by small businesses is snapshots.

     

    I can't tell you how many times I've used them in our ReadyNAS to get something back that was accidently deleted months ago by a user and then they realize they oopsed.

     

    If unRAID could get storage level snapshots (VM's would be great too but I can live without them) then I'd push unRAID for small businesses whenever possible as long as they aren't running databases on the thing.


    Backups are great, however, snapshots make recovering files so much easier and faster if there isn't a catastrophe.

    • Like 1
  11. It's still broken.  It's totally killed the server twice now when rebooting the VM.

     

    How can I get the Syslog file when I can't even get IPMI to respond and it's not on the Flash drive anywhere?

     

    IPMI console viewer lets me enter root for the user and then locks up.  All drive activity ceases on the server.  It's just dead....

     

    I'm getting so utterly frustrated with unRAID right now that I'm not sure I even want to mess with it anymore.

    • Like 1
  12. 9 hours ago, SiRMarlon said:

     

    No, this is just how much RAM the system had. All the parts on my UnRAID server are actually my old system parts since I recently upgraded my personal machine. My old UnRAID server was an Intel 3770K with 16GB of RAM. 😁 

     

    You should set up Plex to transcode to the RAM as it's much faster than even an SSD and doesn't wear out your SSD if you're using one.

    • Thanks 1
×
×
  • Create New...