Copying files to/from Windows guest VM

chudak

Renowned Member
May 11, 2019
352
27
68
Hello

I am seeing problems copying files to/from Windows guest VM from SMB drive. Copying gets stuck and can’t finish and timing out.

Same files copy fine on a real Windows computer

Wonder if anyone has seen something similar

TIA
 
Either I am asking stupid questions or service here has become less supportive :(
I get no answer lately to any of my posts.

Both cases are not good.
 
Either I am asking stupid questions or service here has become less supportive
Neither nor, but your question is just much too vague for a specific answer. You gave zero information about your hardware setup, your VM setup, the source and the destination disks (SSDs? HDDs?), storage configuration (Raid? ZFS? Topology?) or your network. I can not know how large the file is, how fast the copy process starts and so on. It is not even clear if the destination is a VM on the same PVE or an external device w/o PVE.

On the other hand the generic effect has been discussed several times. Most times it boils down to buffer bloat: too large buffers, enabled write caches and/or slow destination with consumer SSDs which accept data, fill their internal buffers and need to write it back to the actual storage area some (5 to 30) seconds later - and block I/O for a surprising long time, leading to a "stuttering" effect.

So the generic recommendation is to check all physical connections, check Smart-Data and the error log on all disks, disable write caches for the virtual PVE VM-disks and use Enterprise class SSDs.

Does this help?
 
Last edited:
Thx I have it disabled

Do I need to try to check Discard?
couldnt hurt. I am having a similar issue I just posted about which is why I am here. copying large file from server vm to my desktop over the network is slower than normal. I don't have anything getting stuck though. Im assuming for me its normal for ZFS. Just trying to confirm.
 
couldnt hurt. I am having a similar issue I just posted about which is why I am here. copying large file from server vm to my desktop over the network is slower than normal. I don't have anything getting stuck though. Im assuming for me its normal for ZFS. Just trying to confirm.
In my case, I keep backups for Quicken (runs on Windows 11 VM) data files on an SMB drive and it used to work fine but lately, all operations are timing out.

The file is not too big ~300MB

Same case but not from a VM but from laptop has no problems