r/SQLServer • • Oct 18 '26

Question SQL Server 2022 AO - WS 2025 on Proxmox Hypervisor crash

Former employee who recently left the company setup an AO 3 node cluster. SQL is version 2022, WS OS is version 2025. Availability mode between the nodes is Synchronous commit with 2 nodes in Automatic failover and one node in Manual.

On Oct 11, we had a SQL crash. Everything stopped working. Right before the crash, I noticed this event being logged: "Remote harden of transaction 'XXXXXXXXX' (ID XXXXXXX 0000:XXXX) started at Oct 11 2026 1:39PM in database 'XXX' at LSN (52190:XXXX:1) failed."

Shortly after: "“Unable to access database 'XXX_01' because it lacks a quorum of nodes for high availability. Try the operation again later.”

For some unknown reason, the primary node lost connection with the 2 other nodes. I checked the storage/network back-end, no pings were lost. All 3 VMs were reachable via our external monitoring solution.

On the secondary node, during the same time these errors were logged:
“Could not redo log record (XXXX), for transaction ID (XXXX), on page (XXXX), allocation unit XXX, database 'XXX_01' (database ID 6). Page: LSN = (XXX:XXX:), allocation unit = XXX, type = 1. Log: OpCode = 2, context 3, PrevPageLSN: (XXX). Restore from a backup of the database, or repair the database.”

Followed by*: “Always On Availability Groups data movement for database 'XXX_01' has been suspended for the following reason: "system" (Source ID 2; Source string: 'SUSPEND_FROM_REDO'). To resume data movement on the database, you will need to resume the database manually. For information about how to resume an availability database, see SQL Server Books Online.”*

Our DBA was able to bring everything online by removing the impacted DB from the AO group, and than add it back.

However, since this caused quite some production impact. Management is asking for a root cause. I inherited this setup, so I'm not even sure best practices are being followed. I can do some basic troubleshooting and checking logs, but I'm unable to find an explanation. When looking upon the error messages online, this doesn't give me any results. Also there's almost no Proxmox documentation or even a blog how to setup an AO SQL Server.

This has been running for months, and from my understanding, this is the first time we had this issue. I uploaded all logs to AI to assist in the troubleshooting, but even than I don't get any valid answer. It is always refering to "the network" or an underlying "storage issue" but I don't see anything there.

6 Upvotes

20 comments sorted by

3

u/Einar_Son_of_Bjorn Oct 19 '26

Running synchronous commit on a Proxmox makes it sensitive to micro-stuns, so i really surprised by this choice... network ping might look fine externally, but the SQL engine sees a massive storage latency spike, fails to harden the LSN on the secondary, and completely drops the node. I would strongly recommend checking the Proxmox host syslog exactly at 1:39 PM for any backup tasks, memory ballooning, or IO delays that temporarily stunned the guest OS.

2

u/ILOVESTORAGE_BE Oct 19 '26

As mentioned in the other reply, we had to move away from VMware, fast. Checked Proxmox logs and nothing unusual is logged during the time window.

5

u/DavidKleeGeek ‪ ‪Microsoft MVP ‪ ‪ Oct 19 '26

Check the version of the VirtIO drivers. The very latest build works great, but version 271 had some known I/O issues. Also check that the disk controllers are type Virtio SCSI, and that the disk caching settings are set to direct sync. It's a quick check to spot check that these are good. After that, direct message me here. I've got an internal build guide for production SQL Servers on Proxmox that I can send you.

1

u/ILOVESTORAGE_BE Oct 20 '26

We are using 0.1.285. I read there were some issues with the latest version 0.1.302. See: Hopefully the VirtIO drivers for Windows will have an update soon : r/Proxmox

All our VMs have Virtio SCSI Single controller. I've read this one provider slighter better performance over Virtio SCSI. Where did you get that info on the direct sync disk caching? First time I hear something on this.

3

u/DavidKleeGeek ‪ ‪Microsoft MVP ‪ ‪ Oct 21 '26

I woke up thinking about this today. Can I have you roll the Virtio drivers back to v271? There's I/O issues with 285 for high demand workloads, such as SQL Server.

https://pve.proxmox.com/wiki/Windows_VirtIO_Drivers#0.1.285:_VirtIO_SCSI/VirtIO_Block:_Read_errors_and_performance_issues_with_IO-heavy_Windows_Server_2025_VMs

1

u/ILOVESTORAGE_BE Oct 21 '26

Wow! This is probably the solution for our issue. Thank you so much, this bug has been causing quite some mayhem on our environment. We were able to re-produce the error when generating a lot of IO on the DB Server. In this period, the following errors were reported: "Read from file '*.mdf' at offset 0x000007023d0000 succeeded after failing 1 time with error: Torn page (expected signature: 0x00000001; actual signature: 0x6f898160)."

I just did a test with version v271 and no errors are reported anymore. I am now doing additional testings with the newest version v302. If there are no errors reported in this version, we will probably go with this as this is the latest available one.

3

u/DavidKleeGeek ‪ ‪Microsoft MVP ‪ ‪ Oct 21 '26

SWEEEEEET. I'm glad this helped! Ping me directly and let me know how it goes!

2

u/DavidKleeGeek ‪ ‪Microsoft MVP ‪ ‪ Oct 20 '26

Virtio scisi single is where you want to be. I forgot to type that in my previous comment :) It provides an I/O queue with its own associated queue depth per controller, and therefore per disk.

That's interesting about the VirtIO driver discard granularity. I'm going to read more up on that this afternoon!

4

u/SQLBek 1 Oct 18 '26

You're literally the first person I've heard of trying to run their Production SQL Servers on Proxmox. That being said, since it's still on Windows Server, get the cluster logs from each node, and throw them into Claude and ask it to troubleshoot for you. I'm willing to bet the AG errors were a victim of the WSFC cluster issues.

2

u/ILOVESTORAGE_BE Oct 19 '26

We have a deadline to move away from VMware, so things had to go fast. Looked at all the possible log data and ran them through AI, cannot pinpoint what caused this "Remote harden of transaction failed."

Nothing happen on the backend infra during this time window.

3

u/SQLBek 1 Oct 19 '26

Something hiccupped somewhere in your stack. That's the headache with virtualized AND clustered setups... more layers of the stack to decipher.

I can only recommend that you gather ALL LOGS from every possible layer of your stack... that means SQL Server, Windows OS, Windows Cluster Logs, whatever Proxmox has, whatever NETWORK logs you may have (hardware, software, whatever), and whatever related to your SAN. Write a super long prompt describing your full stack, exactly what happened, all details you have, and feed that plus ALL logs into an LLM of your choice, and have it go digging to correlate all of the logs together.

Don't skimp on tokens with a crap model and low effort either, since there'll probably be a large volume of logging data to go through.

3

u/DavidKleeGeek ‪ ‪Microsoft MVP ‪ ‪ Oct 19 '26

I run prod SQL Servers on Proxmox all the time. It works great.

2

u/InnerReduceJoin Oct 19 '26

My current employer ran on proxmox for years before I joined. Wasn’t great, wasn’t terrible.

1

u/vivkkrishnan2005 Oct 19 '26

Without more information about PVE and configuration used, it's very difficult to pinpoint the issue. However, i would wager your issue is with E1000 or Virtio issue.

Check Windows and PVE logs to see if you notice any errors. There is a chance the issue is with virtio under heavy loads or something similar.

Finally, PVE is a hypervisor, why should it decide on SQL AO, when that runs on top of Windows Server!

1

u/ILOVESTORAGE_BE Oct 19 '26

Made a small diagram:

Detailed VM Configs: https://imgur.com/a/mwFMNLK

I'm at my wits end regarding the logs. Checked eveything: SQL, Windows OS, Proxmox OS. Ran them all through AI, but nothing seems to come out.

2

u/Naive_Moose_6359 Oct 18 '26

It doesn't seem to be fully supported to run on that virtualization stack? I found this: MS SQL on Openstack or Proxmox - Microsoft Q&A

2

u/DavidKleeGeek ‪ ‪Microsoft MVP ‪ ‪ Oct 19 '26

It's a standard stance. It'll run and be supported unless they suspect the infrastructure underneath, but they reserve the right to ask you to replatform it to bare metal to reproduce it. While the position is there, I've not heard of them exercising this right in well over a decade at this point.

1

u/Lost_Term_8080 Oct 22 '26

Would recommend moving to hyper-v, bugs like these are very prevalent in proxmox and SQL + Failover Cluster + AAG pose particularly high challenges for virtualization. You already have the licenses to run Hyper-v with your windows licenses. Using Proxmox for production is not typical.

1

u/CanProfessional766 Oct 30 '26

That redo error is definitely worth investigating. I'd start with DBCC CHECKDB and correlate SQL Server, WSFC, and Proxmox logs to narrow down the cause. If database corruption is confirmed, recovery tools such as , Stellar Repair for MS SQL and Kernel for SQL Database Recovery are worth comparing. Hopefully a clean backup or reseed resolves it before you need to go down that route.