GHunter

Members
  • Posts

    378
  • Joined

  • Last visited

Everything posted by GHunter

  1. Saw an XFS metadata error pop up in my server log. I have no idea what to do to fix this so how should I proceed? Thanks!! filesvr-diagnostics-20190308-0110.zip
  2. @jonp I was able to successfully switch a VM from Q35 to i440fx and activate my Windows 10 license. Note that I have all OEM Windows license's because they were OS upgrades from previous Windows versions. OEM licenses get 1 activation so transferring to a new PC or VM invalidates them. These Windows license's seem to be tied to the VM uuid and that's how I was able to do a successful conversion. However changing the uuid takes a bit of work as it isn't very easy to do.
  3. Thanks. This is exactly what I needed to know! I feel better now and ditching Q35 should be a non-issue for me then. I'll convert all my Windows VM's to i440fx to future proof the VM's.
  4. Not sure where you heard that, but it's not true. i440fx works perfectly fine when moving a VM from one set of electronics to another. Not sure where you got the impression otherwise. I think you're misunderstanding what I'm trying to say. I use Q35 Windows VM's currently. I need to migrate them to my new hardware. My concern is that the VM XML will be different if the XML is generated based on the hardware of the unRaid server. If the XML is the same regardless of hardware, then this would be a non-issue. If not, I'll be in trouble if Q35 is removed as I won't be able to properly generate the XML. If you change the motherboard of your computer, Windows wants you to call MS to reactivate the license (if you're not signed in with a Microsoft account). This applies the same with virtual motherboards like i440fx and Q35. If you've associated your registered copy of Windows with your Microsoft account, you'll just need to resign in once you change the gear and all is good. All my Windows 10 VM's were upgraded from Windows 7 or 8 and from what I understand, it is an OEM license and can only be activated on one machine. A server hardware upgrade or change to i440fx would kill my activated licenses with no recourse other than to buy new licenses. So keeping Q35 would be helpful in this case.
  5. No. You can choose "VNC" as your graphics card, which is the default option. With VNC, you can use the built in viewer, which is an option when you click on the VM name, but many people use RDP. RDP is Microsoft's remote desktop app and it runs better than using VNC viewer to work inside your VM.
  6. @jonp All of my Windows VM's use Q35. I am upgrading my server MB, CPU, and ram to use server grade hardware. In order for me to transfer my VM's, I will need to create a new VM using Q35 to use as a base template, and then point the xml to use the original virtual disk file. For migration purposes, keeping Q35 is about the only way to properly migrate a VM to ensure hardware compatibility with a new server. Also, migrating Windows based VHD's from other sources will become problematic if not impossible to get right. My other thought is that migrating Windows based VM's from q35 to i440fx could invalidate the Windows license, although I don't know if this is a real problem or not. I had no idea that i440fx is superior to q35. Knowing that, I would have used it over q35 when i originally setup my VM's.
  7. The VM XML is included in the diagnostics file so no need to post it separately
  8. I'm looking to upgrade my unRaid setup from consumer level hardware to server / workstation level hardware. My main reasons for doing an upgrade are more CPU cores, more memory (I also want to use ECC memory), VM stability, and proper IOMMU grouping (I don't want to use PCIe ACS Override). My current setup is in my signature and it works well, but thanks to @limetech , I'm using my unRaid server for much more than I ever imagined 😊. I plan on using my old hardware as a backup unRaid server. My needs are as follows: Ability to run 4 video cards, 2 of which are single slot PCIe x1 cards and the 2 others are dual slot PCIe x16 cards. I also need 2 free slots for my HBA and network cards, both of which are PCIe x4. Onboard GPU or the ability to run headless. 10 or more USB connectors. ECC memory. I'm thinking of the following hardware to upgrade my server: CPU's: 2 @ Intel Xeon E5-2687W v3 which will give me 20 cores. Coolers: Need 2 CPU coolers but not sure what to get. Looking for cheap but reliable and lower noise coolers. MB: Supermicro X10DAX Memory: 64Gig ECC PSU: EVGA SuperNOVA 1300 G2 1300 Watts I currently run 4 VM's and 11 docker containers full time and want the ability to run 2 more VM's full time. 4 of the VM's will use GPU passthrough. I'd like comments or suggestions on my planned upgrade. Particularly if I can stop using PCIe ACS Override and if I can run this setup headless. I will most likely need 1 or 2 PCIe riser or ribbon cable extensions as well but not sure which ones or where to get them (I live in the USA) and I still need to choose CPU coolers. Thanks!
  9. Posting my custom backup script for @unRaide and anyone else that wants to use it. I've been using it for months now and it works great. Note: I only use the Appdata backup function of this plugin and have set backup rotation to off as it is handled by this script. What it does: This script will backup your unRaid USB flash drive, your VM XML files, and OVMF files. Backup rotation is set to 3 days in the script and can be changed. Any dated backup folder will not be deleted if text is appended to the folder name. Example: this folder will not be deleted. [email protected] Last backup of v6.6.6 before upgrade CA_Backup_Custom_Stop.sh file is attached at the bottom of this post. READ THE COMMENTS AND USE AT YOUR OWN RISK!! Comments are welcome. I'm still learning so be gentle! LOL There's always room for improvement. #!/bin/bash # CA_Backup_Custom_Stop.sh # Change the locations below to match your backup locations flashbackuplocation="/mnt/user/Backups-Gary/unRAID/Flash/" nvrambackuplocation="/mnt/user/Backups-Gary/unRAID/NVRAM/" vmxmlbackuplocation="/mnt/user/Backups-Gary/unRAID/VM_XML/" appdatabackuplocation="/mnt/user/Backups-Gary/unRAID/Appdata/" daysofbackupstokeep=3 # 1440 minutes in 1 day 7 days is 10080 (( daystominutes = daysofbackupstokeep * 1440 - 1 )) # dont change anything below here echo "..." echo "Running CA Backup Custom Stop script" echo "..." datestamp=""`date '+%F'`"@"`date '+%H'`"."`date '+%M'` dir="$flashbackuplocation"/"$datestamp" # make a subfolder to store backup files if [ ! -d $dir ] ; then echo "Making a subfolder for todays date $datestamp" # make the directory as it doesnt exist mkdir -vp $dir else echo "As $dir exists continuing." fi # save the files using rsync and mod permissions echo "Saving USB Flash drive files" rsync -a --no-o /boot/* $dir/ chmod -R 777 $dir echo "Finished backup of USB Flash drive files" # deleting backup folders older than X number of days as declared at the top echo "Deleting USB Flash Drive backups older than $daysofbackupstokeep days except those the folders that have" echo "text appended to it" # don't delete folders that have text appened to it. Useful to save older backups. Example: this folder will not be deleted [email protected] Last backup of v6.6.6 before upgrade find $flashbackuplocation -type d -maxdepth 1 -mindepth 1 -mmin +$daystominutes -not -name '?????????????????*' | xargs rm -rf echo "..." sleep 2 dir="$nvrambackuplocation"/"$datestamp" # make a subfolder to store backup files if [ ! -d $dir ] ; then echo "Making a subfolder for todays date $datestamp" # make the directory as it doesnt exist mkdir -vp $dir else echo "As $dir exists continuing." fi # save the files using rsync and mod permissions echo "Saving OVMF NVRAM files" rsync -a --no-o /etc/libvirt/qemu/nvram/* $dir/ chmod -R 777 $dir echo "Finished backup of OVMF NVRAM files" # deleting backup folders older than X number of days as declared at the top echo "Deleting NVRAM backups older than $daysofbackupstokeep days except those the folders that have text" echo "appended to it" # don't delete folders that have text appened to it. Useful to save older backups. Example: this folder will not be deleted [email protected] Last backup of v6.6.6 before upgrade find $nvrambackuplocation -type d -maxdepth 1 -mindepth 1 -mmin +$daystominutes -not -name '?????????????????*' | xargs rm -rf echo "..." dir="$vmxmlbackuplocation"/"$datestamp" # make a subfolder to store backup files if [ ! -d $dir ] ; then echo "Making a subfolder for todays date $datestamp" # make the directory as it doesnt exist mkdir -vp $dir else echo "As $dir exists continuing." fi # save the files using rsync and mod permissions echo "Saving VM XML files" rsync -a --no-o /etc/libvirt/qemu/*xml $dir/ chmod -R 777 $dir echo "Finished backup of VM XML files" # rename xml files to *.txt as it's easier to open with a text editor # this fuction is commented out but if you want to use it then uncomment the following 4 lines # echo "Renaming all the XML files to TXT" # cd $dir/ # rename .xml .txt *.xml # echo "Finished renaming the XML files" # deleting backup folders older than X number of days as declared at the top echo "Deleting VM XML backups older than $daysofbackupstokeep days except those the folders that have" echo "text appended to it" # don't delete folders that have text appened to it. Useful to save older backups. Example: this folder will not be deleted [email protected] Last backup of v6.6.6 before upgrade find $vmxmlbackuplocation -type d -maxdepth 1 -mindepth 1 -mmin +$daystominutes -not -name '?????????????????*' | xargs rm -rf echo "..." # lets check and delete older backups from Appdata too for consistency that was performed by the plugin. Note: I disabled backup rotation of appdata folder in the plugin as it is handled by this script echo "Deleting AppData backups older than $daysofbackupstokeep days except those the folders that have" echo "text appended to it" # don't delete folders that have text appened to it. Useful to save older backups. Example: this folder will not be deleted [email protected] Last backup of v6.6.6 before upgrade find $appdatabackuplocation -type d -maxdepth 1 -mindepth 1 -mmin +$daystominutes -not -name '?????????????????*' | xargs rm -rf echo "..." echo "Finished running CA Backup Custom Stop script" echo "..." exit Enjoy, Gary CA_Backup_Custom_Stop.sh
  10. Love this plugin, Thanks for creating and maintaining it!!! I have a feature request. Can you show "Elapsed Time" like you do with "Time Remaining"? This would give me a more realistic idea on future move and copy functions. Thanks.
  11. I'm going through the process of upgrading to 8TB disks and moving data from a few small disks (2 and 3 TB disks) to empty them and then remove them from the server by doing a "New Config" on a dual parity disk protected array. When I do the "New Config" does this invalidate parity? I will of course do a parity check when I'm done regardless but I'm not sure if I'd be protected or not until I manually do a parity check. Another question. Can i pull the parity 2 disk and replace a data disk in one operation? Thanks!
  12. @unRaide My script is highly customized for my use case (it does file deletes, renaming, ignores some folders, backup rotation and, well, poorly written for general use LOL) so I'd rather not share it, however I can edit it and add some additional commenting so it would be easier to digest and you can run with it from there. I'll let you make the call though. Do you want me to post it as is or edit it a bit to just do some example backups? Gary
  13. Yes, I can change the order. Thanks for confirming wait times. Thanks for the info. I'm aware that isolating cores is done via the webgui but I assumed that the isolated cores setting was written to syslinux.cfg, is that not true anymore? Thanks for all the info. You guys have been a big help. Always good to know some of the inner workings of unRaid!
  14. Yes, they are isolated in syslinux.cfg. Ok. I didn't know this. I tried this but didn't see any place to set the startup delay time. I'll check again as I might have missed it. Thanks for the help
  15. I would love this too!! It would be an excellent addition to the CPU pinning capability we have now and make things easier as I have to add this manually to my 20 or so docker containers and VMs.
  16. I'd like this as well if this really does work!! This could possibly fix many of the problems some people have with GPU passthrough performance.
  17. 1. I just pinned all of my docker containers to use pair CPU 1 and HT 5 and I'm noticing that they use pin 1 but not pin 5. Are docker containers not capable of using the hyperthreaded CPU? I've got 9 of them running and they are clearly using pin 1 but not 5 according to the dashboard page CPU usage percentage. 2. Now that I have my docker containers pinned to a CPU/HT pair, how do I add the ability to use emulator pinning to CPU 0 and HT 4 to each container? 3. I thought we had the ability to have wait times when starting VM's like we do with dockers but I'm not seeing it in the webgui. Am I wrong about this feature? Thanks
  18. @unRaide I use this plugin and there is the ability to include running a "Custom Stop Script" which I use to do a few backups of additional things. It works out really well for me.
  19. @Trembler That banner and a bunch of others are in this thread here:
  20. I was thinking about this too. The new dashboard contains what almost appears like panels. Having the ability to drag and drop the panels where you would like them would be very cool. Better yet would be the ability to customize what gets displayed in each panel and then arrange the data and the panels however you'd like. I'm sure many of you have seen other webui's like this and have an idea of what I'm talking about. Grafana is one product that does this real well.
  21. I think orange is a better choice of color over the blue. That's my 2 cents anyways. 😉
  22. Upgraded from v6.6.6 with no problems. Love the new look of the Dashboard and other visual enhancements throughout the WebUI. Thanks and a job well done to all those who worked on this release and provided valuable feedback!!!
  23. You have to run them on every reboot of unRaid. You can use the User Script plugin to do it for you or run them from your go file.
  24. This probably won't help with the error you are having but worth a try. You need to pass through the sound card that is associated with your video card. It will be identified as 01:00.1 Audio device: NVIDIA Corporation GP106 High Definition Audio Controller (rev a1)