Hello hello,<\/p>\n
I need to replace an aging HyperV host, and have been looking at Proxmox. I successfully setup a test machine with Proxmox, and (for now) a single Ubuntu Server VM.<\/p>\n
\n
AdvertisementThe Ubuntu Server is running Samba, and not much else.
\nThe Ubuntu Server is domain joined.
\nMy test share on the Ubuntu server has correctly configured user and admin permissions.<\/p>\n<\/blockquote>\nI started a file copy to the test server using robocopy from a windows machine to the ubuntu server VM. It ran happily for a while, but eventually started failing. When I investigated, both the Ubuntu server and Proxmox host were unreachable. I rebooted the Proxmox host via cli (physical access), and was able to access both Proxmox and the test server.<\/p>\n
Now, whenever I try to resume the robocopy, both proxmox and ubuntu server lock up / become inaccessible. If I attempt to search files on the ubuntu server, it (and proxmox) lock up and I have to reboot them.<\/p>\n
I’m seeing that Linux has a max file name path of 255 bytes. I wouldn’t be surprised if I have some file/folder paths over 260 characters (1 character is 1 byte, correct?) Think this is my culprit?<\/p>","upvoteCount":6,"answerCount":10,"datePublished":"2025-05-01T15:58:17.876Z","author":{"@type":"Person","name":"Mowing2613","url":"https://community.spiceworks.com/u/Mowing2613"},"acceptedAnswer":{"@type":"Answer","text":"
What hardware are you using for the Proxmox host? Check the Network card chipset and driver. I have seen issues in the past with onboard network adapters failing under load. You might need to put in a better quality network adapter with broadcom / intel chipset.<\/p>","upvoteCount":1,"datePublished":"2025-05-02T15:41:23.931Z","url":"https://community.spiceworks.com/t/file-copies-killing-proxmox-network-connection/1201724/5","author":{"@type":"Person","name":"whamel","url":"https://community.spiceworks.com/u/whamel"}},"suggestedAnswer":[{"@type":"Answer","text":"
Hello hello,<\/p>\n
I need to replace an aging HyperV host, and have been looking at Proxmox. I successfully setup a test machine with Proxmox, and (for now) a single Ubuntu Server VM.<\/p>\n
\nThe Ubuntu Server is running Samba, and not much else.
\nThe Ubuntu Server is domain joined.
\nMy test share on the Ubuntu server has correctly configured user and admin permissions.<\/p>\n<\/blockquote>\nI started a file copy to the test server using robocopy from a windows machine to the ubuntu server VM. It ran happily for a while, but eventually started failing. When I investigated, both the Ubuntu server and Proxmox host were unreachable. I rebooted the Proxmox host via cli (physical access), and was able to access both Proxmox and the test server.<\/p>\n
Now, whenever I try to resume the robocopy, both proxmox and ubuntu server lock up / become inaccessible. If I attempt to search files on the ubuntu server, it (and proxmox) lock up and I have to reboot them.<\/p>\n
I’m seeing that Linux has a max file name path of 255 bytes. I wouldn’t be surprised if I have some file/folder paths over 260 characters (1 character is 1 byte, correct?) Think this is my culprit?<\/p>","upvoteCount":6,"datePublished":"2025-05-01T15:58:17.933Z","url":"https://community.spiceworks.com/t/file-copies-killing-proxmox-network-connection/1201724/1","author":{"@type":"Person","name":"Mowing2613","url":"https://community.spiceworks.com/u/Mowing2613"}},{"@type":"Answer","text":"
Max folder path length, including file in Windows File Explorer is 260 characters (or bytes). Spaces also count as a character. Yes one ASCII character is one byte.<\/p>\n
You would likely have issues in Windows if you have nested paths so long you’re hitting 260 characters. I’ve seen this before and it causes some strange behavior.<\/p>\n
Robocopy is primarily a windows thing and since you’re trying to go from an NTFS file storage system to ext4 (probably) it’s hanging once it hits a certain file type which is causing your linux distro to crash. Try using something else like WinSCP (just got this from a quick google search). There may also be some things you can’t copy.<\/p>","upvoteCount":2,"datePublished":"2025-05-01T16:47:16.015Z","url":"https://community.spiceworks.com/t/file-copies-killing-proxmox-network-connection/1201724/2","author":{"@type":"Person","name":"c-t","url":"https://community.spiceworks.com/u/c-t"}},{"@type":"Answer","text":"
We do have issues with Windows occasionally due to excessively long file paths. Management is aware of the issues, but, as they happen (relatively) rarely, they mostly ignore it.<\/p>\n
I’ll look into WinSCP.<\/p>\n
Thanks<\/p>","upvoteCount":1,"datePublished":"2025-05-01T18:11:37.604Z","url":"https://community.spiceworks.com/t/file-copies-killing-proxmox-network-connection/1201724/3","author":{"@type":"Person","name":"Mowing2613","url":"https://community.spiceworks.com/u/Mowing2613"}},{"@type":"Answer","text":"
You can try the /256 switch which will skip long paths, using below will also write those errors and successes to the log so you can later review.<\/p>\n
robocopy /E /256 \"source_path\" \"destination_path\" /LOG:\"robocopy_log.txt\"<\/code><\/p>\n
Confirm you have the tools installed in your Ubuntu VM. While not strictly necessary, depending on the NIC you use, they may help<\/p>\n
sudo apt-get install proxmox-tools<\/code><\/p>","upvoteCount":3,"datePublished":"2025-05-01T19:23:49.999Z","url":"https://community.spiceworks.com/t/file-copies-killing-proxmox-network-connection/1201724/4","author":{"@type":"Person","name":"Rod-IT","url":"https://community.spiceworks.com/u/Rod-IT"}},{"@type":"Answer","text":"
How large is the disk you provisioned for the Ubuntu VM? Proxmox has issues with virtual disks larger than 2TB, although I’ve never seen it lock a host up.<\/p>","upvoteCount":0,"datePublished":"2025-05-02T17:59:35.773Z","url":"https://community.spiceworks.com/t/file-copies-killing-proxmox-network-connection/1201724/6","author":{"@type":"Person","name":"robhall","url":"https://community.spiceworks.com/u/robhall"}},{"@type":"Answer","text":"
Its an older desktop, to be fair. Definitely a proof of concept and not something I’d run in production. I could see this as a potential issue.<\/p>\n
I think I have a couple spare 10gbps ethernet cards lying around. I could try popping one into the system and seeing what happens.<\/p>","upvoteCount":0,"datePublished":"2025-05-09T13:53:26.568Z","url":"https://community.spiceworks.com/t/file-copies-killing-proxmox-network-connection/1201724/7","author":{"@type":"Person","name":"Mowing2613","url":"https://community.spiceworks.com/u/Mowing2613"}},{"@type":"Answer","text":"
I have an 800GB disk provisioned. I think whamel could be on to something. The hardware I’m testing on is an old spare machine, and I wouldn’t be surprised if it’s network adapter is failing under load.<\/p>","upvoteCount":0,"datePublished":"2025-05-09T13:54:29.260Z","url":"https://community.spiceworks.com/t/file-copies-killing-proxmox-network-connection/1201724/8","author":{"@type":"Person","name":"Mowing2613","url":"https://community.spiceworks.com/u/Mowing2613"}},{"@type":"Answer","text":"
Re-running my robocopy test now. Actually reran it earlier after installing a new dedicated network card and it worked flawlessly until I ran out of storage on the target lol. Seems like it worked then, will see if it works for the full copy.<\/p>\n
Looks like you may be right - flaky internal network card.<\/p>","upvoteCount":1,"datePublished":"2025-05-09T20:03:35.151Z","url":"https://community.spiceworks.com/t/file-copies-killing-proxmox-network-connection/1201724/9","author":{"@type":"Person","name":"Mowing2613","url":"https://community.spiceworks.com/u/Mowing2613"}},{"@type":"Answer","text":"
Glad to hear you worked it out!<\/p>","upvoteCount":0,"datePublished":"2025-05-09T20:17:33.286Z","url":"https://community.spiceworks.com/t/file-copies-killing-proxmox-network-connection/1201724/10","author":{"@type":"Person","name":"whamel","url":"https://community.spiceworks.com/u/whamel"}}]}}