Observed behavior:
Data written to an LVM placed on MD raid, type: raid1, with turned on writemostly flag for one of the partitions, IS NOT WRITTEN. After a reboot, all changes to the LVM are REVERTED.
Additional observed behavior:
1. any lvm snapshot are impossible to remove, different errors, or messages saying that snapshot is removed, but it is NOT removed.
2. SWAP signature written to pve/swap lv is not recognized when trying to mount swap
3. Some files may contain random bytes instead of the proper content
4. Task messages (lower panel) in proxmox web, may contain random characters
5. ext4 may be damaged
6. no aparent messages in dmesg
7. happened after upgrade from pve 8 to 9
Affected machines: 1
Tried to reproduce: no
Problem solved instantly after disabling writemostly: yes
Missing files after full recovery: 1
dpkg --verify detected any damage: no
ram is good: yes
drives are good: yes, no smart errors, no zfs errors (zfs placed on the same drives), no raid errors.
any zfs pools affected: no
Possible connection: https://lkml.org/lkml/2025/9/3/112
Is related?: Inconclusive
Additional info:
Kernel: 6.14.11-2 (2025-09-12T09:46Z)
pveversion: pve-manager/9.0.10
1st drive: sata, ssd (set writemostly)
2nd drive: nvme
MDRaid, raid1 for system LVM, partition number 3. bitmap: 1/1 pages [4KB], 65536KB chunk, metadata 1.2, boot from raid, grub and kernel are assembling the array on the fly when booting.
First suspicion in the event chain: bad ram
First reaction: reboot with auto ram check (kernel memtest=3)
Second suspicion in the event chain: bad drive
Second reaction: drives check - no errors
Third suspicion in the event chain: BUG in LVM handling
Third reaction: lvm check - no errors/inconclusive/won'tcheck
Fourth suspicion in the event chain: md raid
Fourth reaction: initiatie md check, no change, no errors detected. Disable writemostly -> problem is fixed instantly without a reboot.
Data written to an LVM placed on MD raid, type: raid1, with turned on writemostly flag for one of the partitions, IS NOT WRITTEN. After a reboot, all changes to the LVM are REVERTED.
Additional observed behavior:
1. any lvm snapshot are impossible to remove, different errors, or messages saying that snapshot is removed, but it is NOT removed.
2. SWAP signature written to pve/swap lv is not recognized when trying to mount swap
3. Some files may contain random bytes instead of the proper content
4. Task messages (lower panel) in proxmox web, may contain random characters
5. ext4 may be damaged
6. no aparent messages in dmesg
7. happened after upgrade from pve 8 to 9
Affected machines: 1
Tried to reproduce: no
Problem solved instantly after disabling writemostly: yes
Missing files after full recovery: 1
dpkg --verify detected any damage: no
ram is good: yes
drives are good: yes, no smart errors, no zfs errors (zfs placed on the same drives), no raid errors.
any zfs pools affected: no
Possible connection: https://lkml.org/lkml/2025/9/3/112
Is related?: Inconclusive
Additional info:
Kernel: 6.14.11-2 (2025-09-12T09:46Z)
pveversion: pve-manager/9.0.10
1st drive: sata, ssd (set writemostly)
2nd drive: nvme
MDRaid, raid1 for system LVM, partition number 3. bitmap: 1/1 pages [4KB], 65536KB chunk, metadata 1.2, boot from raid, grub and kernel are assembling the array on the fly when booting.
First suspicion in the event chain: bad ram
First reaction: reboot with auto ram check (kernel memtest=3)
Second suspicion in the event chain: bad drive
Second reaction: drives check - no errors
Third suspicion in the event chain: BUG in LVM handling
Third reaction: lvm check - no errors/inconclusive/won'tcheck
Fourth suspicion in the event chain: md raid
Fourth reaction: initiatie md check, no change, no errors detected. Disable writemostly -> problem is fixed instantly without a reboot.