Moving files on drive X to drive X takes too long

teckneeculler

Member
Power User
VIP
Local time
2:15 PM
Messages
512
W7 Ult 64 bit.

6TB USB 3 external HDD. (used 4TB, spare 2TB - round figures)
When I move files on this drive, it frequently takes as long as copying them would.
Doesn't file moving in one HDD just involve changing the file address?
In which case it should be virtually instantaneous.

Shouldn't it?
 

My Computer My Computer

At a glance

Win7 Ultimate SP1Intel Core i5 9400 Coffee Lake 14nm16G DDR4NVidia GeForce GTX 960
Computer type
PC/Desktop
Computer Manufacturer/Model Number
My build
OS
Win7 Ultimate SP1
CPU
Intel Core i5 9400 Coffee Lake 14nm
Motherboard
Asus Prime H310M-E R2.0 (LGA1151)
Memory
16G DDR4
Graphics Card(s)
NVidia GeForce GTX 960
Sound Card
Realtek High Definition Audio (mobo)
Monitor(s) Displays
Asus PA248 24" 16:10 format
Screen Resolution
1920x1200@59Hz
Hard Drives
1863GB Seagate ST2000DM
3726GB Seagate ST4000DM
1863GB Seagate ST2000DM
6TB Seagate
465GB NVMe Samsung SSD 970
PSU
750G2
Case
Tower
Cooling
Standard
Keyboard
USB
Mouse
USB
Internet Speed
920Mbs/480Mbs
Antivirus
Malwarebytes
Browser
Firefox
Hi teckneeculler,

Doesn't file moving in one HDD just involve changing the file address?
In which case it should be virtually instantaneous.

When was the last time you defragmented the drive?
 

My Computer My Computer

At a glance

Win 7 HP SP1 64-bit Vista HB SP2 32-bit Linux...Intel(R) Pentium(R) CPU P6200 @ 2.13GHz4.00 GBIntel(R) Graphics Media Accelerator HD
Computer type
Laptop
Computer Manufacturer/Model Number
Fujitsu LIFEBOOK
OS
Win 7 HP SP1 64-bit Vista HB SP2 32-bit Linux Mint 18.3
CPU
Intel(R) Pentium(R) CPU P6200 @ 2.13GHz
Motherboard
FUJITSU FJNBB06
Memory
4.00 GB
Graphics Card(s)
Intel(R) Graphics Media Accelerator HD
Sound Card
[1] Realtek High Definition Audio [2] Intel(R) Display Audio
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 59 Hz
Hard Drives
TOSHIBA MK5076GSX
Antivirus
AVG FREE
Doesn't file moving in one HDD just involve changing the file address?
In which case it should be virtually instantaneous.

Yes if on the same partition unless you don't have full ownership. Transferring between partition is the same as transferring from disk to disk. Moving files in the same partition only rewrites the MFT.
 

My Computer My Computer

At a glance

Windows 10 22H2 ProIntel(R) Xeon W-10885M2x 32 GB DDR4 ECC memory (128 GB max)Intel onboard GPU 1080p - Quadro RTX 5000 Max...
Computer type
Laptop
Computer Manufacturer/Model Number
Dell Precision 15 7550 Workstation
OS
Windows 10 22H2 Pro
CPU
Intel(R) Xeon W-10885M
Motherboard
Dell
Memory
2x 32 GB DDR4 ECC memory (128 GB max)
Graphics Card(s)
Intel onboard GPU 1080p - Quadro RTX 5000 Max-Q GPU 4K
Hard Drives
1TB Samsung 9100 Pro main M2 SSD
2x 2TB Samsung 9100 Pro temp storage M2 SSD (6 TB max)
Mouse
Logitech MX-25 Bluetooth
Internet Speed
slow
Antivirus
MS
Browser
Pale Moon 34.x.x - x64 AVX2 build
+1 for what both Paul and Bill said.
 

My Computer My Computer

At a glance

Linux Mint 18.2 xfce 64-bit (VMWare host) / W...Haswell4 GB
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell
OS
Linux Mint 18.2 xfce 64-bit (VMWare host) / Windows 8.1 Pro 32-bit (VMWare guest)
CPU
Haswell
Memory
4 GB
Monitor(s) Displays
Acer 23"
Screen Resolution
1920 x 1080
Hard Drives
Two hard drives, 1TB each: One for Linux, one for my data.
Keyboard
IBM Model M
Antivirus
Sophos (Linux), Trend Micro (Windows)
Browser
Firefox, Opera
Other Info
I use Samba to share my data drive with the other computers at my house and with my guest session in VMWare Workstation Player.
Paul Black: Last time I defragmented? Never. The drive is less than 12 months old, has only one partition, and is used only for storage. It rarely has any genuine file movement, other than adding files daily. However, I can easily defrag it.


Billmcct: I wouldn't have thought ownership was an issue. I bought it, plugged it in, created one partition, gave it a drive letter to permanently identify it, and that was it.
 

My Computer My Computer

At a glance

Win7 Ultimate SP1Intel Core i5 9400 Coffee Lake 14nm16G DDR4NVidia GeForce GTX 960
Computer type
PC/Desktop
Computer Manufacturer/Model Number
My build
OS
Win7 Ultimate SP1
CPU
Intel Core i5 9400 Coffee Lake 14nm
Motherboard
Asus Prime H310M-E R2.0 (LGA1151)
Memory
16G DDR4
Graphics Card(s)
NVidia GeForce GTX 960
Sound Card
Realtek High Definition Audio (mobo)
Monitor(s) Displays
Asus PA248 24" 16:10 format
Screen Resolution
1920x1200@59Hz
Hard Drives
1863GB Seagate ST2000DM
3726GB Seagate ST4000DM
1863GB Seagate ST2000DM
6TB Seagate
465GB NVMe Samsung SSD 970
PSU
750G2
Case
Tower
Cooling
Standard
Keyboard
USB
Mouse
USB
Internet Speed
920Mbs/480Mbs
Antivirus
Malwarebytes
Browser
Firefox
How many files are we talking about?
Move a file within a logical drive is, as you said, nearly instantaneous, as it's a metadata-only operation. But, if the number of files to move is substantial, that tiny operation may have to be repeated a significant number of times. To put into some concrete numbers, move 1 file is lightning-fast, move 500000 files will take a looooong time, no matter their size.

Another guess is that, if you're still using an antivirus, that the thing is scanning the whole pack before moving, thus forcing reading the whole actual data instead of being a directory operation. I don't know if that's the case, or even if antiviruses really do that, but it's one more thing to consider.

Yet another guess, if you're using Explorer to perform the move, and have some addin installed, that may also be the cause of the slowness. Trying with another program would discard this as a root cause.


Yes if on the same partition unless you don't have full ownership.

How does ownership even affect file move? Permissions will be checked, but ownership isn't going to come into consideration, neither for the origin nor the destination. The only thing required is read-write permission on the source files and write permission on the target folder.
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64Intel Core i7-740QM8 GB DDR3NVIDIA GeForce 330GT
Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba Sattelite A665-S6092
OS
Windows 7 Ultimate x64
CPU
Intel Core i7-740QM
Memory
8 GB DDR3
Graphics Card(s)
NVIDIA GeForce 330GT
Screen Resolution
1366x768
Hard Drives
Samsung 840 SSD 500GB
1TB USB3 external HD
Cooling
Coolermaster Notepal U3 notebook cooling pad
Internet Speed
3mbps ASDL
Antivirus
ClamWin 0.98.7
Browser
Opera 12.17 x86 (main), Firefox 38 (sec), IE11 (last resort)
How many files are we talking about? One. At a time, that is.

A typical case is when I move a 2GB file from folder X to folder Y. (On the same, single-partition HDD)

And it takes say, 30 secs to move it. IMHO, that's way too long for a re-addressing process. The file could be copied in that time.

Virus check slowing it down? Maybe. I use Malwarebytes full, latest version. I can try turning it off, it IS a real 'granny' at times.

Other than that, I dunno. The only other factor is it's a USB drive. But USB 3 in a USB 3 certified enclosure. And I have an i5 quad-core processor with 16GB ram.

Anyway, I defragged it, using O&O Pro 21 (which, BTW, is excellent software). It was 5% fragged, but that's not excessive, IMHO.

Another of my regular HDDs turned out to be 63% fragged (OMG) but I wouldn't have guessed that, going by its always speedy performance.

Maybe I should test read-write the USB drive with diagnostic software. What's best?
 

My Computer My Computer

At a glance

Win7 Ultimate SP1Intel Core i5 9400 Coffee Lake 14nm16G DDR4NVidia GeForce GTX 960
Computer type
PC/Desktop
Computer Manufacturer/Model Number
My build
OS
Win7 Ultimate SP1
CPU
Intel Core i5 9400 Coffee Lake 14nm
Motherboard
Asus Prime H310M-E R2.0 (LGA1151)
Memory
16G DDR4
Graphics Card(s)
NVidia GeForce GTX 960
Sound Card
Realtek High Definition Audio (mobo)
Monitor(s) Displays
Asus PA248 24" 16:10 format
Screen Resolution
1920x1200@59Hz
Hard Drives
1863GB Seagate ST2000DM
3726GB Seagate ST4000DM
1863GB Seagate ST2000DM
6TB Seagate
465GB NVMe Samsung SSD 970
PSU
750G2
Case
Tower
Cooling
Standard
Keyboard
USB
Mouse
USB
Internet Speed
920Mbs/480Mbs
Antivirus
Malwarebytes
Browser
Firefox
One file at a time shouldn't take 30 seconds, not even on the slowest of drives.
Is the drive in use by something else?
Disk damage could cause slowdowns, a full chkdsk may help identify or discard the cause.
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64Intel Core i7-740QM8 GB DDR3NVIDIA GeForce 330GT
Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba Sattelite A665-S6092
OS
Windows 7 Ultimate x64
CPU
Intel Core i7-740QM
Memory
8 GB DDR3
Graphics Card(s)
NVIDIA GeForce 330GT
Screen Resolution
1366x768
Hard Drives
Samsung 840 SSD 500GB
1TB USB3 external HD
Cooling
Coolermaster Notepal U3 notebook cooling pad
Internet Speed
3mbps ASDL
Antivirus
ClamWin 0.98.7
Browser
Opera 12.17 x86 (main), Firefox 38 (sec), IE11 (last resort)
Back
Top