Initial upgrade plans: Separate fileserver and Hypervisor(s)
So I got the final bits and bobs for my fileserver upgrade yesterday. As you may recall from my previous post in the TrueNAS category I was planning to keep file server and hypervisor seperate as they are now. But during the waiting time I had continued to mull over the Hyper convergence mentioned by Jim Salter in my original post about upgrading my TrueNAS machine.
So new plan: install Proxmox and setup a VM with TrueNAS and pass the HBA through to this VM. With everything arrived, I had a stab at it yesterday and it failed. I know - I should have waited to when I have more time - I am going to London the next few days, I just wanted to sort it beforehand. Now everything is on hold (and the server down :-/) until I return on Sunday.
But! I would like to pick a few of your brains in the mean time. The plan I would like to explore a bit more would be to ditch the TrueNAS VM and work directly off the Proxmox ZFS pool(s) and export them via NFS and SMB. The main reason for me abandoning the TrueNAS VM is the āsplitā of the limited availbale memory and the intricasy and mutual interdependency between Proxmox and its VMs and Containers and the TrueNAS VM.
Hardware
So the Hardware is as follows:
- ASUS Z97-K Motherboard
- Intel i5 4440
- 24 GB RAM (2 x 8 + 2 x 4)
- Boot drive: 256 GB NVMe
- SAS 3008 HBA
- Older Nvidia Quadro GfX card
- a number of drives; mainly an exported ZFS mirror pool fatagnus consisting of 2 x 4 TB WD Red + 2 x 3 GB Toshiba N300
Boot pool
What is the main difference of having an LVM boot pool versus a ZFS boot pool? Does it make a difference that it is on an NVMe? I think it might be easier to make a backup of a ZFS pool, but I really dont know.
Storage pool
The plan is to transition the storage pool from the mentioned 2 + 2 mirror to a 6 disk RAIDZ2. I have to do that through a couple of transitions:
- 2+2 mirror to a mirror with an 8 TB and a 4 TB drive. I am going to do that using rsync as I want to reconfigure the datasets. These are the most important data - the less important (mainly media I can recreate) have been offloaded to single HDDs.
- destroy pool fatagnus and recreate it as a 6 disk RAIDZ2 with an additional 1 TB and 2 TB drive I have. Do a ZFS send/receive from the temporary mirror.
- Destroy the temporary mirror pool and replace the 1 TB and 2 TB drives with the 4 TB and 8 TB respectively - one at a time.
- Setup an SSD mirror for VM/Container storage.
Question:
What difference does a larger asize than 12 do? Is it necessary? What are the costs?
Question:
I have a mix of NAS and consumer drives - and I might buy refurbished enterprise drives in the future. Is it possible to upgrade the firmware on the drives in order to make the drive present itself with a 4k blocksize rather than 512 bytes virtual? And does it matter?
Question:
I intend to (continue) to setup the storage pool(s) with dedup. I remember reading that memory needs for that is about 1 GB per 1 TB storage. Does a larger asize lessen this? I take it that it might lessen the deduplication ratio?
As adding a metadata vdev incurs more risk (if you loose the vdev, you loose the pool) it is recommended to have as much fault tolerance with the metadata vdev as with the storage pool itself. So for my RAIDZ2 setup that would be a 3 disk mirror.
Question: How does an SSD based mirror metadata vdev fail if it is fails because of write wear? Would it recognize that the metadata and small blocks still are readable just not updateable and then put new metadata and small blocks on the main vdevs until the special vdev is resilvered?
As I now dont have the TrueNAS UI to setup shares, is there anything I need to pay special attention to in this regard? Are there any quirks in the way Proxmox handles ZFS that might override my efforts?
So far I have been using container storage over NFS partly because of having storage on one box hypervisor on another. As I have other Hypervisors this gives me the possibility to migrate containers from one box to another.
Question:
Is it possible to run VM storage over NFS for Linux VMs? For Windows VMs?
I hope all these questions ar not too overwhelming. If it makes sense to you then you are more than welcome to answer just one or two questions - Thank You in advance.