zfs snapshot windows server

flexyz

Well-Known Member
Sep 22, 2016
154
9
58
54
Hi

I have a windows server and when I snapshot clone it and attach disk to another windows server new and changed files are not there.

zfs sync=standard also tried sync=always

disk is "writeback" also tried "no cache" and "write through"

I also tried to snapshot server when it is offline/turned off, same thing.

When I reboot original server, all files are present and good.

Any clues?

Thanks
Felix
 
I'm afraid I don't follow you completely. Could you provide the commands to reproduce your problem? What is the output of
Code:
qm config VMID
?
new and changed files are not there.
Are we talking about changed after your clone or after some snapshot in the past?
 
Hi

Basically I have a windows server running and when I add new files or remove folder and then take a snapshot on proxmox, clone it and run attach it to another vm running windows, the changes are not there. This is also the case if I change files, shutdown vm and then take snapshot.

I tried "no cache" and "write through" on the VM and the above is the same.

So very weird, I now upgraded to proxmox 6.x and it works as exspected with "write through" on the VM

Thanks
Felix
 
Hi!

Great that upgrading solved your problem! We'd appreciate if you could mark the thread as resolved by editing the top post. Of course, you can always open a new thread if something should go wrong.
 
Hi,

The problem is happening because you do not have instaled/active the guest agent in the VM. Without the guest agent the snapshot can not call fsfreeze and flush the VM data cache to disk.

Good luck / Bafta !
 

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!