Datacenter add storage. Directory or ZFS My use case scenario

ieronymous

Well-Known Member
Apr 1, 2019
285
21
58
45
Hello

I d like your opinion about setting up of the second raid storage of the server. So here is what I ve got so far

The first quadrant sas hdds are being setup as raid10 zfs and are going to be used for VM's, one of them would be WinSer2019 (I ll explain below why I am mentioning the OS). Since the WinServ2019 is going to be used as a Database (msSQL) server, during installation (I ll first give the VM an extra vdisk via hardware->add storage ) of SQL, then I ll select a different vdisk for path but that vdsik is part of the same global/united disk consisted by the Raid10 where the VM's are located.

Now (and here I want your opinion), the second quadrant of sata NAS disks will also be setup as Raid10 zfs. This automatically created at Datacenter level, a ZFS storage which can only accept as content, Disk Images and Containers (The same content like the sas drives above). This storage is going to be used as
-portion of it as an extra space for Active Directory user storage. So I have to add a vdisk to the A.D Server and format it with NTFS inside in order to see it and share it to the network
-portion of it to retain backups of msSQL data base and probably I am going to add again a vdisk to the OS and as above, format it and have the OS see it as storage to keep backups (of course there will be cloud backup option too)

So up until now the automatically zfs storage created suites me for the above 2 purposes, but..............

-I need a last portion of that array to be used for Vm backups and zfs storage can't keep vzbackups. On the other hand if I set the storage instead of ZFS to Directory I will be able to serve the backup purposes but not adding disks to the OSes.

To conclude here, is there a way to use that storage to serve all 3 purposes having it setup as zfs , Can I achieve this with Directory type better (even though I dont remember setting up a Directory storage and then having the option to add vdisk to an existing OS from it's Hardware options menu)? Any other thoughts that I havent think of? (Like it crossed my mind to break the 4 disk raid10 into 2 mirrors of 2 disks and have one mirror as zfs storage and the other as directory, but then again reductuancy goes for a walk)

I need some guidance here to achieve my goals above, the best possible way.

PS Directory storage gives only one advantage to my scenario, that of VZDump Backup File but is pretty much essential too, since default local installation storage is on a pair of 128gb enterprise ssd's which are only for prox itself and some isos. Keep in mind that at this point I can't switch or substract or add other hdd drives.

Thank you in advance
 
Last edited:
If you want to store ISOs, Backups, Templates and so on on a ZFS pool you can create a dataset on that pool and add a new directory storage with the mountpoint of that ZFS dataset to proxmox. Just keep in mind to add "is_mountpoint 1" to the storage in the /etc/pve/storage.cfg or Proxmox will complain that the directory isn't empty if you want to reboot.
 

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!