truenas iscsi zvol (ext4 formatted) as vm image storage

ebricca

New Member
Sep 24, 2024
1
0
1
I have been envisioning a move from my own kvm ubuntu setup to proxmox.

I currently have the vm images already on a seperate storage (truenas underlying 15min snapshotted zvol)
with is mounted via iscsi as block device and formatted to ext4 which is housing the raw img files for kvm
(to restore which were rare, needed some action on truenas / expose snapshot as new iscsi ro-share and a mount and copy over to live)

I am pondering if I should just keep this setup and mount it via cli (iscsi+ext4) being the same setup as I did before and then expose it as local storage in proxmox.

the suggested mount iscsi and use lvm-thin seems a like bit like overkill - but there might be benefits?
( I would have to set it up anew (copy over data) .. )

real benefit I see is if reversion can be handled completely by the hypervisor with 15min snaphots ..
(running zvol snapshots on truenas just daily as a secondary security layer)

(I guess for clean migration I would in any case have to set it first as cli (iscsi+ext4) in proxmox
and in a second step create another iscsi share for copying over the vm image files .. )

( the suggested iscsi lun images feel very weird - especially getting the image files .. and I guess they are not auto created
unless used with some proxmox - truenas integration scripts - but I am quite relucatant to grant proxmox admin access to auto generate iscsi shares - https://forum.proxmox.com/threads/using-iscsi-lun-directly.119369/)

are there other great combinations for connecting proxmox and truenas together I am not seeing?
 
Last edited:
U can use zfs over iscsi. Therefore u have snapshots in pve, thin provisioning and speed.
 

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!