Direct Connected SAS drive throwing ext4-fs errors

Nov 1, 2024
2
1
3
Hi Everyone,

I am new to Proxmox and have a Dell server that is directly connected to a Dell storage array through two SAS cables. In Proxmox I have mounted a storage volume directly and formatted the volume as EXT4. Here are the commands that I used:
mkfs.ext4 /dev/sda
mount -t ext4 /dev/sda /mnt
In Proxmox Add Directory /mnt - make sure to select shared storage

This all seemed to be working great until I added a second Proxmox server to the cluster and connected the same storage to it as well. In the Proxmox cluster I do have it configured as shared storage:

1731093465802.png

My problem is that I am experiencing slowness and random issues on my VMs and I am also having issues importing new VMs over from VMWare.

When I pull up a console view of Proxmox I see this on the one Proxmox server:
1731093578958.png
And this on the other Proxmox server:1731093618672.png

I would greatly appriciate any insight on what I should do to fix all these errors. Please also let me know if I can provide any additional relevant info.

Thanks,
J
 
Hi @jcassel , welcome to the forum.

Based on your message, it seems to me that you would like to share your storage within the cluster. You did tick the "shared" option in your screenshot.
However, marking storage as shared does not actually make it shared. It's a message to PVE that it should expect to see this storage on all nodes and use it from all nodes.

The problem is that EXT4 is NOT concurrent access safe. You are actually guaranteed to have data corruption in such case.

If you wanted to use a file based shared storage you need a Cluster Filesystem. One option is OCFS2. There several good threads on this topic on the forum.

Another option is block storage addressing. For this you will use LVM and no Filesystem.

You should wipe your disk and reconfigure it properly going forward.
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!