FG

Copy remote files on nfs without round-trip

Fresh3 days ago
Mar 15, 20266067 views
Confidence Score0%
0%

Problem

I have a large amout of data (several GB) on a remote drive, that is transparently mounted via nfs. I'd like to copy these files into a subdirectory of where they are already residing, so everything stays on the same physical disk. For that reason, I would like to prevent an unnecessary round trip …

Error Output

cp files* subdir

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Copy remote files on nfs without round-trip

Low Risk

It seems that cp files* subdir does the naive thing and reads all the data into memory and then writes it back. Is that true? Yes. Is there a special command that does the actual copying entirely on the server the disk is physically connected to? No…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment