Re: server-side-copy: seems not to get used
Rowland Penny via samba <[email protected]> Tue, 24 Mar 2026 13:24:45 +0000
| Newsgroups | gmane.network.samba.general |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 24 Mar 2026 13:50:03 +0100 "Stefan G. Weichinger via samba" <[email protected]> wrote: > Am 24.03.26 um 13:38 schrieb Stefan G. Weichinger via samba: > > Am 23.03.26 um 16:10 schrieb Rowland Penny via samba: > > > >> Have tried connecting via smbclient and using 'scopy' (see 'man > >> smbclient' for more info) to see if server side copy works ? > > > > No! Didn't know about that ... will try that asap. Currently I > > don't have a working AD user (samba is domain member, and that > > AD-domain is administered by some other company). > > > > smbclient with root seems not to work ... hmm > > forget that. set a password, works. > > I access that server over my openvpn-connection. > > Started a scopy of my 15 GB pcap file from yesterday > > and watched the traffic graph on my local firewall/router: no traffic > seen > > scopy runs ... but compared to a "time cp bu18.pcap bu19.pcap" in a > ssh-session it's around one minute slower > > 15 GB in 1:50 minutes for "cp in ssh" > > vs ~ 3:00 minutes for "scopy in smbclient" > > Does that tell me that server side copy works already? > Probably not :-( I copied a 3.1GB .iso file into a share directory, this took approx 51 seconds I then connected to the share and copied the .iso to a new name with smbclient scopy, this took approx 15 seconds, or to put it another way, it was faster. scopy attempts to use server-side copy but if it fails it falls back to using read then write. Rowland -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba