Proxmox ZFS mirror and Freenas guest with access to ZFS RaidZ1 - best way?

m00n

New Member
Apr 8, 2015
9
0
1
Hi everybody.

I'm new to the proxmox universe :-) and I've got a big question to you regarding Proxmox ZFS setup and a Freenas guest.

Now here is my initial setup:

Supermicro X10SLH-F, Intel Xeon E3-1275Lv3, 32GB ECC, Intel I350 Quad Nic, Digital Devices Cine S2 Sat-Card
Host Bus Adapter LSI 9300-8i (in IT-Fimware mode, so Raid functions are disabled)

HDDs: 2x Samsung 850 Pro SSD (each 256GB), 3x Seagate 4TB NAS HDD (= total 12TB)


This is what I want to do:


As the base system I want to setup Proxmox v3.4 on both Samsung SSDs in ZFS mirror mode (so ZFS should mi rror the SSDs and give all the 256GB space to Proxmox and all guests). All OS'es should take place on this mirror set.

These guests are to be installed:

a) Freenas as a NAS for data storage in my LAN
b) CentOS 7 for EGroupware
c) A little Debian Wheezy for TV stuff (TVHeadend Backend, DD Cine S2 as passthrough)
d) Pfsense guest for firewall and routing things

The problem is with Freenas and the Seagate HDDs. I don't know which way to go:

Freenas itself will be installed as a guest in Proxmox on the SSDs. But Freenas itself should get all the space for a data set from the Seagate HDDs. All HDD should run in ZFS-RaidZ1 (= Raid 5 with ZFS).

What is the best way to achieve this? I consider these two possibilities:

First way:
Within the Proxmox base system, create a new ZFS RaidZ1 data pool for all 3 Seagate HDDs and give Freenas as a virtual guest access to this pool. To get access Freenas could import the pool. I think this is possible?! So ZFS (for Linux) in Proxmox finally manages all the HDDs.
Pro: In this scenario the hole system only has one running ZFS.

Second way:
Passthrough all Seagate HDDs to the Freenas virtual guest and Freenas should setup its own ZFS RaidZ1 data pool. So only Freenas sees all HDDs native and manages them by itself.
Con: In this scenario there are 2 running ZFS filesystems. One for the host system (SSD mirror) and a second ZFS RaidZ1 filesystem within the Freenas virtual guest for all Seagate HDDs.

What do you think is the best way to give the HDDs space to Freenas, first or second way and why?
Or could I go a better way or should I change my setup completely?

Thanks in advance. These are my first ZFS steps in Proxmox.

Kai
 
hi,
I think the better way is the first one.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!