-
Compiled Info: unRAID as Guest on ESXi
It works! Thank you so much, this is awesome For anyone else stumbling in here looking for a way to do this, the below is configured on vSphere (ESXi + vCenter) v8.0 Update 2, so depending on the version you have running and whether or not you have a vCenter server or manage your host(s) directly through the ESXi webUI, it will look a bit different. The general steps should be the same though. Note, of course, that I can't guarantee internal boot will work on earlier vSphere versions. I suspect it will work on most or all v8.x (and likely also v9.x) versions of vSphere but on v7.x or earlier, I really don't know. That said, you can always reverse the changes by reversing the below BIOS/EFI settings, deleting the disk and returning to USB boot that way. I did that once before when my first attempt at configuring this failed If you don't yet have one added to the Unraid VM, open the VM settings, add an NVMe controller and save settings Re-open the settings and add a new vDisk which will serve as the boot device. Make sure to pick the newly added or, if you already had one, the existing NVMe controller as the disk controller (thanks to @StevenD for pointing this out). I always make any boot devices thick provisioned as well but that is personal preference. Thin provisioned should be fine as well. Save settings Leave the passed-through USB drive in place, as it will still have to be used for licensing even with internal boot. As far as I know, TPM licensing does not (yet?) work on virtualized Unraid arrays, only on bare-metal installs as of yet, so for now you still need the USB if you have a virtual Unraid array Boot up the VM like normal and enter the Unraid webUI. If you have the unassigned devices plugin installed, a new disk will be visible there. Don't do anything with that disk and also leave the array stopped. Go straight to the internal boot wizard and start the process Go through the internal boot wizard and make sure to select the newly added disk as boot device. It should be the only disk you can choose anyway, unless you have other unassigned devices already present. I also left the checkmark in the wizard enabled that mentioned something about BIOS settings needing to be changed. There is enough information on the internal boot wizard available online so I'm not going to explain that fully here, as there is nothing special you need to do here After the internal boot wizard reports success, fully shut down (power off) Unraid again Open the VM settings once again and go to the "'VM options" tab. Put a checkmark next to "Boot options" -> "Force EFI setup" and save settings Before you do anything, first open a remote console connection (VMRC or browser-based) to the VM, wait for it to connect to the VM and then boot it up. During this boot, it will enter into the EFI setup screen (BIOS settings). It will look slightly different in case of an actual Unraid VM but I forgot to take screenshots during the actual setup so I'm using another VM as an example, as my Unraid array is running and in active use. The steps are identical though, only the boot options will be slightly different In the above EFI setup screen go to "Enter Setup" -> "Configure boot options" -> "Enable or disable boot option" On the actual Unraid VM, you will see both a USB boot option and one or two NVMe boot options. Disable all of the boot options except for the one or two NVMe boot options. One of those NVMe options should mention "internal boot" in its name and that is the Unraid internal boot device, though I also left the second NVMe option (mentioning something about "EFI" in its name) enabled. Make sure to also disable the USB boot option here. This might seem counterintuitive as you still need the USB for licensing but disabling the USB boot option here simply disables booting off of the USB, it does not disable the USB device entirely, it can still be accessed just not booted off of Choose "Commit changes and exit", then press "ESC" until you reach the first page again and press "shut down the system". "Reset the system" should also work but I like to do a cold boot (a boot from a full power off state) after changing BIOS settings, so I always shut down and boot up again, in stead of a reboot Boot up the VM again one last time. That should be it, you should now see a different boot menu screen during boot, signifying that internal boot is now enabled, configured and running Let me know if you have questions. I'll try to help out if I can
-
Compiled Info: unRAID as Guest on ESXi
That's awesome! I assume that you opted for hybrid mode, meaning OS on disk but licensing still tied to the USB drive? I had the same symptoms as you, hung during boot, so I assume that the same fix should work in my case. I'm going to take a look at it as soon as I find a full day to spend on it (rare occurrence lately, to my great dismay) and will provide feedback once finished. If I remember to do so, I'll try to take some screenshots of the process so I can share them here for other people trying the same thing
-
Unable to boot from internal boot after changing from USB boot
Yes, it has the Settings -> "VM Options" -> "Firmware" = "EFI (recommended)" parameter set ever since I installed Unraid years ago. It's an UEFI VM indeed, always has been
-
Unable to boot from internal boot after changing from USB boot
Following this thread as I have the same issue but then on VMware vSphere. Migration to internal boot finished successfully according to the Unraid wizard but then when I detach the USB boot device and configure the newly installed boot disk as boot device in the VM BIOS, it just doesn't want to boot up. Even with the USB still attached but just switching to the internal boot disk as primary boot device it doesn't work. Hopefully someone figured this out as I've tried everything I could think of short of creating a new VM, which I'm hesitant to do for now
-
-
Compiled Info: unRAID as Guest on ESXi
This thread seems quite dead but still you never know, I might get a reply: I'm wondering whether anyone has succeeded in switching to the new internal boot with vSphere? I tried switching over by presenting an additional vDisk to Unraid and pointing it to that as boot device. From the Unraid side, it completed the migration to internal boot successfully it reports, but it's not booting I'm afraid, so I had to switch back to USB passthrough. It just complains that no boot device has been found. I did go into the VM BIOS and disabled USB boot plus left HDD boot as the only enabled boot method but to no avail I'll keep trying things and report back if I find anything P.S: Yes, I know I should move away from vSphere and towards, for instance, Proxmox. However, I have five nodes with three of them in a three-node cluster with vSAN enabled and another one in a two-node cluster. This includes a virtualized firewall. Migrating that is no easy task, especially because I have about 30 VM's running
-
nginx running out of shared memory
Throwing my hat into the ring. I'm experiencing the same issue on 7.0. Will update to 7.0.0.1 to see if it improves. The strange thing is, these errors were timestamped at a time when I didn't have a tab open with the Unraid interface
-
Exciting News: Ed Rawlings Expands His Role with Unraid!
That is very good news. Congrats! Well-deserved
-
Backup unraid flash with Veeam Backup and Replication Server
For anyone stumbling in here like I did, you can backup the Unraid flash device using Veeam, though with a bit of a workaround I'm not sure starting from what version of Veeam (I have version 12.3) but under "Inventory" -> "Unstructured data" you can add an SMB share as a backup source to Veeam. Unraid also has the possibility to share the flash drive as an SMB share. So, just click on "flash" in the main Unraid menu to go to the settings for the flash device. Set up the SMB share there. You best limit it to only one user to having access through SMB. Also, I didn't give the user read+write access but only read access and I chose "yes (hidden)" as publishing settings so the share is only approachable if you know the share name. If you want to be even more cautious, then give it a custom share name in stead of the default "flash". Then add that SMB share to Veeam through the unstructured data menu I mentioned above and set up a backup job for it as usual. You can right click the share and choose "add to backup job" to do this Lastly, but also rather importantly, I wouldn't backup the flash device too frequently, as to limit the wear and tear on the USB device. Veeam does do incremental backups so after the initial backup, the load should be a bit lighter but still, better safe than sorry. I chose to backup once a week, also because there is already the Unraid connect flash backup and my Backup & Restore plugin also backs up the flash device already. The Veeam flash backup for me is only a last resort, if my Unraid server is fully offline and broken and if the Unraid connect backup for some reason hasn't run, is too old or is corrupt or something
-
How do I pass an emvironment variable to a docker.
Late reply but I wanted to say thank you! Funny coincidence, because I was looking at exactly the same environment variable for exactly the same container. I was even planning on giving it exactly the same 2g of RAM. Your answer (and the posed question as well) couldn't have been more perfect for my use case *edit* For anyone wanting to try this out, note that in my case adding this variable to a running container, damaged it beyond repair. It spit out a whole bunch of (SQLite) database errors, crashed and kept crashing on launch, all the while quick-firing DB errors. I had to remove the appdata completely to get it running again. This wasn't really an issue because I hadn't configured anything yet but just know this might happen. After deleting the appdata it starts up fine with the new parameter. Could be a fluke, could be that I should have stopped the container first or it could be that this variable needs to be added before the first run. Whatever the case, if you want to add this variable to an already configured container, back up your appdata and perhaps stop the container first. If it turns out that the only way to add it is before the first run....wel that's a problem I guess if your container was already configured
-
Is it possible to swap a parity drive with a data drive?
Ah, that is good news. Well all right, I guess I have my answer, that is by far the cleanest and least risky solution. Thank you very much for your prompt assistance and replies, I truly appreciate it
-
Is it possible to swap a parity drive with a data drive?
Alright, sounds logical indeed, thanks for you reply. In your opinion, how risky is this? What happens if, after the procedure you describe of cloning the data drive, the clone isn't bit-by-bit perfect? Suppose I start the array without parity and with an imperfect clone, would I notice this at all? I assume not, unless I have checksum data or the filesystem has catastrophic damage? And if I would in fact notice it, can I just stop the array again and re-insert the original data drive? Also, I might be able to use something like the unbalance plugin to first make sure the data drive is as empty as I can get it, would that be a good idea? I have enough free space for this This cloning station is from the well-known and often-used brand StarTech by the way, but I haven't used its cloning function before yet
-
Is it possible to swap a parity drive with a data drive?
Hello My question is pretty simple, and I am almost certain the answer is "no", but just to be sure I wanted to ask. I did something quite stupid, which is that I have shucked about half of my drives (12TB and 18TB, 13 drives total, single-parity) and didn't really pay attention to the details. I now read somewhere that your parity drive determines the speed of your entire array, which I didn't know, and decided to check the parity drive out. Surprise, surprise, my parity drive is shucked and is one of only two in the array which is 5400RPM in stead of 7200RPM. My other 18TB's that are in the array are 7200RPM and only one 12TB is also 5400RPM. So now my question: is it possible with some special procedure to swap a data drive present in the array with the parity drive, without having to buy another 18TB drive (at full cost, since to be sure that it's 7200RPM it can't be shucked) and without losing data? And would this indeed yield a noticeable performance increase? I'm almost certain that this isn't possible, because that would require two drives to be offline at the same time in a single-parity array. But perhaps I'm missing something, so I thought I'd ask. I do have a two-bay offline (so should be bit-by-bit) HDD cloning station by the way, perhaps that can help? But I'm not sure how risky this is and I'm not sure how Unraid would respond to not only a missing drive but also a parity drive that has changed ID (serial) at the same time. What do you think? So then I would take out both drives, clone the parity drive to the data drive, put the cloned parity drive in and assign it in place of the original one, start the array which will say that a drive is missing, stop the array, wipe and insert the old parity drive in place of the original data drive and let it rebuild. Seems mighty risky though and I'm not even sure if it's at all possible, given that the parity drive ID will have changed Cheers!
-
[Plugin][BETA] Appdata.Backup
Oh, I wasn't aware there was a GitHub for this plugin. I should have known though, since I now realize there's a raw.githubusercontent.com link to the PLG in the original post and I know that can be used to find the underlying repository. Apologies for the double request Lol, yes, I know that in development, things that on the surface and/or for a layman seem easy to implement, rarely actually are. If it ever materializes, great and if not then I'm still just as grateful for the enormous amount of effort you put in to develop this and share it with us. If there's any way in which I could help with this request or with something else (providing logs, testing, feedback,....) don't hesitate to let me know, I'll gladly do so
-
[Plugin][BETA] Appdata.Backup
I have been using the beta for a while with no issues at all. Seems quite stable. I've even done a few restores already and that worked, too. It took a while to figure out but I was even able to migrate my config file from stable -> beta I have a feature request but it's more of a nice-to-have than a must-have. I hope you don't mind me posting it here. Would it be possible to integrate a faster way to do a manual backup of one or a few containers? At the moment, to do a manual backup of for example a single container, we have to take a screenshot of current "skip?"-settings, put all other containers except the one we want to back up on "Skip? - Yes", do the manual backup and then use the screenshot (or recreate them by heart) to put the skip settings back to how they were before. It would be very cool if there was, for instance, a checkbox next to the container names somewhere, which is coupled to the manual backup button to quickly tell it which containers you would like to manually back up At a later stage, such a checkbox could even be expanded to something like a batch edit functionality if you want, so you can batch change backup settings for multiple containers at once, including the skip settings. But just the manual backup thing would already be very cool
-
Unraid on ESXi 7.0 - Confimed Working
For those who stumble in here and read this, like me, you can in fact enable both settings with a hack. I got this from a VMware employee on a forum and it isn't really documented anywhere that this is possible. Totally unsupported by VMware as well, obviously. Also completely at your own risk, again obviously. I've been running it like this for 1.5 years or something without any issues though. I did all of this with vCenter but I suspect ESXi standalone should work as well. You can configure it as follows Stop array and clean shutdown Unraid VM Disable Hardware Virtualization in the Unraid VM settings Enable PCI Passthrough and pass the PCI device through to the VM. Don't boot just yet and also make sure any other VM settings you want are set at this point, see the note below for why Right click the VM and choose "remove from inventory" (DO NOT CHOOSE "DELETE FROM DISK"). This is on vSphere 8.0 with vCenter, it could be named differently on earlier versions or standalone ESXi. What it does is it only removes the VM from the GUI inventory but it leaves all the files in the datastore, including the VM config file. We will simply add the VM again after the following Browse the datastore where the VM files are stored and download the *.vmx file (with * your VM's name. In my case it's called "unRAID_Server.vmx") to your local PC. This vmx file contains all the VM settings, including those for passthrough and hardware virtualization Create a copy of the vmx file, just as a safeguard, so you have a backup Open the vmx file in a text editor and add the below lines somewhere. At the bottom is fine. The lines that are commented (#) I added because when you register the VM in step 9, it will remove these configuration lines from the config file but it won't remove the commented lines, making it easier to add the settings again by copy paste when necessary later on (see note below for why that might be necessary at some point) #vhv.allowPassthru= "TRUE" vhv.allowPassthru= "TRUE" #vhv.enable= "TRUE" vhv.enable= "TRUE" Upload the vmx file to the same location as before. It will ask to overwrite the vmx file already there, let it do so Right click the vmx file or if that doesn't work put a checkmark in front of it. Choose "register VM" in the right-click menu or above the file list and go through the wizard That's it, the VM will now be added again with both settings enabled and working NOTE: Any time you want to change a setting on this VM, it will refuse to do so and produce an error mentioning "hardware virtualization". This is because you have both these settings enabled. If you want to change VM settings, first you have to disable hardware virtualization again, then change the settings you want, which it will now allow and then go through the above steps (start from step 4) again to enable hardware virtualization once more. You can now use the commented lines we added to the file to add the configurations more quickly. It's tedious, I know, but it's the only way to have both settings enabled and still change the VM settings UPDATE: This works up to vSphere 8.0 Update 2. Not tested later versions
BlueBull
Members
-
Joined