Husband, Father, IT Pro, service.

If I ask a lot of questions, I might understand why.

  • 7 Posts
  • 20 Comments
Joined 7 months ago
cake
Cake day: December 12th, 2023

help-circle











  • The answer to this is a little more dependent on what you have running on your primary. If it’s solely a file share, then yes. Rsync can be used to simply mirror your pool from one host to another, effectively making a mirror copy.

    If you are running applications like jails, plugins, etc, then this answer can sometimes become more complex. Sometimes those applications, jails, whatever only need to have their files copied, which might mean you have to create the application on your backup and then restore the files.

    Certain applications that are more complex are affected by a concept called crash consistency. If something uses a database or vm that’s reading and writing, when you copy the database it may not be consistent meaning there are things in the middle of being read and written. And that case you needed to have the application stop finish all of its operations and then copy the files. This is likely more complex for may not be applicable to your situation.

    If you want to ask specific questions about restoring applications, jails, VMS on trunaz, I would suggest hitting up the trunez community forum after you read the manual a couple of times, they’ll eat your lunch if you ask a question that could be simply answered by reading the manual




  • Well, partly when they were forming the VMware connection. I use VMware stuff in my lab and it’s one of my main focuses, so I figured I’d learn it.

    I’ve also never used ansible or the other that escapes me now.

    You’re not wrong though, I’m not a python or programmer guy, and all their documentation expects that you already know both their product and python, a lot.






  • Short of, yes.

    If you have two 8TB drives in mirror, oddly, ZFS doesn’t move the existing data when you add a second vdev of two drives. All newly written data will be stripped across both sets. If you want your existing data stripped, you have to move it back on.

    As for rebuild(resilver), the data on the other device in the vdev and CPU power rebuilds the missing data.

    If you have less data on each vdev, then only then could you consider it faster than if the vdev had more data on it. You are basically making the point that restoring less data is faster than more data.

    People usually end up with more data as they expand a pool. This makes rebuild slower.

    If you plan on lots of data, or want more protection, use z2. If you need performance like hosting VMs or databases, then use mirrors.


  • No, not really. You’re going to want to read the TrueNas forum primers for ZFS and vdevs if you haven’t already. It’s critically important.

    The data parity, error correction, and rebuild is within the zdev. If you lose a drive in the mirror, it’s rebuilt from the other drive in the mirror.

    If you lost a disk in a z1 vdevs, it’s rebuilt from the other drives in the set.

    A key concept of there is no parity and error correction during the period of a loss of a drive in a mirror or z1 until the resolver is complete. That’s why there’s z2/3/… Or you can create mirrors with more than two disks. Obviously some trades on capacity.

    The rebuild speed is more about the drive size. Spinning drives can only write so fast, doesn’t matter how many other disks in the vdev. 4TB is long time, 12TB+ is eternity. SSD, much faster.





  • I’m using an APC 3000 that I got with no batteries.

    Your choice should depend on load and needed run time. Mine is around 1200 watts 😮‍💨, so I need higher VA rating.

    I also took out the stock 12 amp hour batteries and I use much larger ones. Don’t consider that unless your unit is managed, actively cooled like having fans, and can do thermal shutdown.

    People have tried this on the cheaper home use products and burnt their house down because the cheap products are designed for the battery to die before the unit gets so hot it fails and burns. Then some kid extends the run time way past that with car batteries. 🔥