iSCSI + LVM issues

marcosmalfatti

Renowned Member
Nov 26, 2010
2
0
66
Hello everybody
I am facing an issue related to iSCSI + LVM
My configuration is as follows:
3 x servers
1 x Dell MD3200i with 3 "drawers". Each drawer is being made available entirely as a LUN.
On each server I installed the iscsci and multipath packages.
For each iSCSI LUN I created a VG (It's a testing environment, performance considerations are not relevant at this point).
In one of the VG I created an LV to host the Snippets. I formatted this LV as ext4 and manually mounted it in the path /mnt/Snippets and each of the servers.
The problem is that the files that are written to Snippets are not synchronized to the other servers. Therefore, it is not possible to move VMs to other servers.

Thank you in advance.
 
In one of the VG I created an LV to host the Snippets. I formatted this LV as ext4 and manually mounted it in the path /mnt/Snippets and each of the servers.
The problem is that the files that are written to Snippets are not synchronized to the other servers. Therefore, it is not possible to move VMs to other servers.
What you are attempting to do is to create a semblance of a Clustered File system. However, EXT4 is not a clustered filesystem. You are corrupting the data and metadata on every write. You should research CFS options, there are very few available.

https://forum.proxmox.com/threads/direct-io-failed-with-proxmox-8-2-2-and-ocfs2-on-msa2052.148256
https://forum.proxmox.com/threads/i...-cluster-filesystems-certified-for-pve.155150
https://forum.proxmox.com/threads/p...d-lvm-lv-with-msa2040-sas-partial-howto.57536

Good luck


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
Last edited:

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!