Is there anything wrong with this storage approach of mounting ZFS as a directory ?

jegan

New Member
Jul 27, 2020
20
0
1
30
We have installed proxmox on 2 x 250gb disks (raid 10).

We are using 8 disk of 1.9tb for data. We have created ZFS using (Host -> Disk -> ZFS -> Create ZFS). All the 8 disks are used on raid 10.

This newly created zfs is mounted using the following commands
zfs create vmdataserver01/data
zfs set mountpoint=/vmdata vmdataserver01/data

We are creating the shared directory using Storage->Add->Directory (Here the directory path is mounted folder i.e /vmdata)
As we want to clone the VM between multiple host, We are creating the VMs (disk image) on the mounted directory of /vmdata.

Is there anything wrong with this approach ?
 
We have installed proxmox on 2 x 250gb disks (raid 10).
How can you use "raid 10" with just 2 drives? It requires atleast 4 drives.

We are using 8 disk of 1.9tb for data. We have created ZFS using (Host -> Disk -> ZFS -> Create ZFS). All the 8 disks are used on raid 10.

This newly created zfs is mounted using the following commands
Do you mean you used onboard/hardware raid for a raid10 array and created a zfs pool ontop of that raid array?
Never use any kind of raid if you want to use zfs. If the disks are connected to a raid controller you need to set it to IT mode and deactivate the raud functionality. Just use AHCI/SCSI and zfs will create a zraid of all the single 8 disks.
Or do you mean you created a zraid with mirror + stripe just like a conventional raid10?
 
I think snapshots will be likely not working in your approach, because on zfs native snapshot capabilities are used. Don't get what your approach has something to do with VM cloning. You can just do a zfs send / zfs receive to remote pools can you?
 
We are creating the shared directory using Storage->Add->Directory (Here the directory path is mounted folder i.e /vmdata)
As we want to clone the VM between multiple host, We are creating the VMs (disk image) on the mounted directory of /vmdata.

You have only clicked the "shared" checkbox and have not done any active sharing (e.g installed and configured NFS)? Then this is not what you think it does.
 

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!