Hello,

I am looking for some help with updating my home server.

Context:
I have been running an old server at home for a long time.
The setup was done when I was trying to understand virtual machines, by the
end it became stable and I let it working.

Now I need to update the VM disk.

Actual Structure:
SSD: sda
-gentoo
-apache
-postgresql
-zabbix
-KVM

The SSD(sda) boots the system, postgresql is for zabbix and 2 other data
banks.
KVM controls the VM that is installed at HDD(sdb) via passthrough, no IMG.

HDD: sdb
-gentoo
-zoneminder
-apache
-postgresql

Now I am looking to update it, but I have some questions.

-Is there some way to just create a functional IMG from HDD(sdb) to use
with KVM, disabling KVM passthrough do HDD(sdb)? I think it will be easy to
handle just an IMG file and not spare files on disk.

-Does it make sense for ZFS to gentoo this layout below?

SSD: sda (For boot and start ZFS)
-gentoo
-KVM
-zabbix

ZFS HDDS
HDD1 (sdb) mirror with sdc ZFS
HHD2 (sdc) mirror with sdb ZFS
-old HDD sdb image to run over KVM
-other VMs

No ZFS HDD
HDD3 (sdd)
-Storage HDD to contain the videos from ZoneMinder to not write into the
ZFS pool.

Some thoughts:
-Planning a mirror to have a good IO easing maintainability once raidz2
looks needs more HDD (it's more secure).

Server Config: dual Xeon E5-2680, 32GB ECC Ram.

Do you think it's a good idea?

Thanks in advance!

M.S. Raphael Mejias Dias
Nuclear Engineer | Reactors

PGP Key for [email protected]:
https://pgp.mit.edu/pks/lookup?op=get&search=0x87BC5A746072F951

Reply via email to