Jump to content

JonathanM

Moderators
  • Posts

    16,594
  • Joined

  • Last visited

  • Days Won

    65

Posts posted by JonathanM

  1. 3 hours ago, VanGoghComplex said:

    From here, what do I want to do?

    The config folder should have all your customizations, so that's the only folder that you need to copy.

     

    All those files should be plain text except for the super.dat file which has your drive assignments, so if you take a look at the files you suspect could be corrupt it should be pretty obvious.

  2. 2 minutes ago, enJOyIT said:

    Are you backup the .img files with veeam?! And where is veeam running? In an VM? What is when your host has a problem running that VM? How do you restore backups?

    I use UrBackup, I'm assuming the exact same way they use veeam. The VM is running the backup agent, so the backup agent has full knowledge and control of the file system. You get a good backup while the VM is up and running, because the backup agent can do shadow copies, cache flushing and other manipulations to ensure backed up files are valid.

     

    When the VM is borked, you change the boot iso to the backup software's recovery agent, and retrieve the backup image, overwriting the borked files.

     

    If you back up .img files, you have several options, only one of which is ideal. You can shut down the VM so the backup is in a fully consistent shut down state, you can back it up while the VM is running unaware, which means the backup is functionally equivalent to what you would get by pulling the power and crashing the VM, or you can set up the kvm guest agent and use the proper function calls to get the OS to commit changes to the image.

     

    Until all the pieces are in place for the last option in Unraid, the only real solution is running the backup agent inside the guest.

     

    This solution works now, doesn't need anything extra, and is very reliable, I've moved VM's to a new host using UrBackup.

     

    I'm not saying native qemu backup in Unraid isn't a good ask, and it's reasonable to request it, just that it's not the only option, there are many good backup methods for VM's that work now.

  3. 54 minutes ago, Scuba_Steve said:

    It does make me worry if the rebuild is not successful.

    Do you have a reason to suspect your drives?

     

    Unraid parity requires all drives to be successfully read in total, not just the occupied data space. If you have any suspect drives you need to take care of that before changing parity.

     

    When was your last parity check with zero errors?

  4. Sure. Stop the array, unassign the 20TB, assign the 18, start the array and let it rebuild parity. You may need to start the array with the parity drive unassigned, then assign the 18TB, I can't remember.

     

    If you are paranoid about drive failure while parity is being rebuilt, you can do all this in maintenance mode so the drives don't mount and are unavailable for the duration. This would mean that the 20TB would remain valid until the array was started normally.

  5. 5 minutes ago, Bakerking31 said:

    hard shutdown due to power outage and my UPS didn't have enough juice to keep it running

    Many people make the mistake of trying to keep running as long as possible on UPS. Don't.

     

    Set the system to shut down after a minute or two of power out, typically if the power is out a solid couple minutes it's going to be a while before it comes back.

  6. Disk write failure (red X and says emulated) and file system corruption (unmountable) are two different issues, each handled differently. Not to say they can't happen at the same time, but rebuilding an unmountable disk will always result in the same unmountable file system. Parity doesn't know about files, it just emulates and rebuilds whatever is on the disk, regardless of whether it's a valid filesystem or not.

  7. 5 minutes ago, VanGoghComplex said:

    Guess those questions mean my flash drive is toast, eh?

    Not conclusively, but it's good to be prepared for the worst.

     

    After you are satisfied you have done everything you can do before the inevitable, stop the array, then power down. Doesn't really matter if you use the shutdown function of Unraid or just kill the power, as long as the array is stopped before you kill it.

     

    Then put the USB drive in another machine and see if it's readable. If so, make a copy of the config folder immediately. If it's not readable, even after a checkdisk, then proceed with disaster recovery.

  8. 38 minutes ago, guyola said:

    Hi I use cloudflare and nginx on unraid and I have a domain and subdomain - how do I define the nginx reverse proxy to work with crafty 4 to allow my friends from the internet to join my minecraft server?

     

    You don't. reverse proxy works with web page data, you need to expose a port directly, normally 25565 for minecraft.

  9. Where are you observing the 100% CPU? If it's on the Unraid dashboard, then a likely cause could be the drive that hosts the VM image is busy, the CPU graph there includes I/O wait, which means the CPU is "busy" waiting for data to be read or written to a disk.

     

    What drives are you using, how are they arranged as far as array and pools, and where do the vdisk image files live?

    • Like 1
  10. 4 hours ago, frodr said:

    I installed another radarr container at another port, but log error suggests it crashes with the first radarr container. 

    When you are putting containers all on the same network, port assignment is done in the app itself, the mappings on the docker container page has nothing to do with the app port.

     

    You will need to go into radarr settings and change the listening port, then add another port in the vpn container to let it through.

    image.thumb.png.5b3e9c33ae0da2094f6620060b484e61.png

    • Thanks 1
  11. 10 hours ago, Garthy said:

    NZBGet docker path: /downloads is mapped to /mnt/user/Downloads/

    What is the mapping for the other apps?

    10 hours ago, Garthy said:

    I am told by soma

    The mapping for other apps must match on BOTH sides. Not just the /mnt/user/Downloads side. If the other apps think the file is in /data, but NZBGet thinks it's in /downloads, it's not going to work.

  12. 12 hours ago, shazza6887 said:

    ty!

     

    So if a drive is still good and you simply take it out to replace it with a larger one, if anything does happen wold that prior working drive be able to simply put back into the array in its prior position? I did not know that was the case?

    Not that simple, but if the drive is good, then you can at least read all the files and compare them with what was rebuilt on to the new drive.

     

    If you rebuild on to a larger drive, Unraid won't then accept a smaller drive in that slot without doing a new config and rebuilding parity. That doesn't erase the data disks, so you could put the drive back, just not simply.

     

    Upgrading by rebuilding and keeping the old disks intact is a good way to start on a full backup, as the replaced drives will still have all the data on them that was there when they were upgraded.

  13. No, but only attached devices at array start count towards the license, so you could start the array, then attach the drives using Unassigned devices.

     

    Why not just do the normal method of replacing the current drives one at a time? Then the removed drives would be an exact copy, so if something goes wrong you have a full backup.

  14. The USB isn't just the OS archive files and persistent configuration, it's also the license verification dongle.

     

    Unless you can send your physical USB to the hosting center and get someone there to connect it to your specific host, it's not gonna work.

     

    Unraid just isn't designed for that sort of deployment. It's only through community efforts that running it as a guest is even possible, there is no development time spent on anything but bare metal, and the developers are stretched thin enough as it is.

  15. split level, drive assignments, all that is completely ignored when working directly with the disks.

     

    5 minutes ago, qal1h said:

    Using Krusader - the transfer was instant - but smaller files from some folders were transferred to disk 2 with the same folder name.

    That's not possible if the destination was /mnt/disk1

     

    From your description I think perhaps Krusader is not set up to work the way you think it is. What are your Krusader path mappings?

×
×
  • Create New...