Move Command on Host and LXC

manjotsc

Active Member
Jul 2, 2020
73
6
28
Montreal, Quebec
Hi,

I need help troubleshooting this problem I am encountering with mv command for large files, I have a hard drive mounted in LXC Container as Directory from Proxmox Host, when I run a mv command on proxmox host to move files from one folder to another, it is done instantly, but if I run any mv command from LXC Container on that same hard drive. It actually starts copying that file over to another folder, rather than just updating that folder's address in the filesystem.

I have folder called mp4media about 12GB of files

running this command on host takes few seconds, but running this command inside LXC on a mount point takes 10~15 minutes.

mv /mnt/4tb/videos/mp4media/* mnt/4tb/archive/mp4media/

Thanks,
 

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!