[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#18681: cp Specific fail example
From: |
Linda Walsh |
Subject: |
bug#18681: cp Specific fail example |
Date: |
Sat, 11 Oct 2014 02:24:31 -0700 |
User-agent: |
Thunderbird |
Bob Proulx wrote:
Meanwhile... I would be one of those suggesting that perhaps you
should try using rsync instead of cp. The cp command is lean and mean
by comparison to rsync (and should stay that way). But rsync has many
attractive features for doing large copies.
---- fwiw...---
Like large execution times... from the latest snapshot on my system --
I use rsync to only move differences between yesterday and "today[whenever
new snap is taken]"... it was a larger than normal snap -- most only
take 75-90 minutes...but rsync (these are the script messages) with some
debugging output still turned on... even an rm over the resulting diff
took 101 seconds... then cp comes along.. even w/a sync it would
still be under a minute.
I.e. rsync copied just the diffs to "/home.diff", then
find with "-empty -delete" is used to get rid of empty dirs (rsync
creates many of these). then a static partition is created to hold
the "diff" output -- and cp took walked and copied the tree in 12s.
(output wasn't flushed, but it's not that long.. <a minute...).
If rsync wasn't so slow at local I/O...*sigh*....
rsync took 110m, 14s
Empty-directory removal took 1m, 41s
Find used space for /home.diff...sz=4.3GB, min=5.4GB, extsz=4.0MB,
n-ext'=1388
target extents num=1388, size=4.0M
Old volume active: Deactivated. Removed.
Create vol. Home-2014.10.08-03.07.05, size 5.4G
{L=>141008030705, /dev/Data/Home-2014.10.08-03.07.05=>CODE(0xbf24a0),
f=>CODE(0xbf24e8), d=>{su=>"64k", sw=>1}, i=>{maxpct=>10, size=>256},
s=>{size=>4096}}
About to copy base-diff dir to static
Copying diffs to dated static snap...Time: 0m, 12s.
mklabel@
/home/.snapdir/@GMT-2014.10.08-03.07.05/./._snapdat_=snap_copy_complete
after copy2staticsnap: complete
- bug#18681: The Linux cp command has bugs, Polehn, Mike A, 2014/10/10
- bug#18681: cp Specific fail example, Polehn, Mike A, 2014/10/10
- bug#18681: cp Specific fail example, Paul Eggert, 2014/10/10
- bug#18681: cp Specific fail example, Polehn, Mike A, 2014/10/10
- bug#18681: cp Specific fail example, Bob Proulx, 2014/10/10
- bug#18681: cp Specific fail example,
Linda Walsh <=
- bug#18681: cp Specific fail example, Bob Proulx, 2014/10/12
- bug#18681: cp Specific fail example, Leslie S Satenstein, 2014/10/12
- bug#18681: cp Specific fail example, Linda Walsh, 2014/10/12
- bug#18681: cp Specific fail example, Bob Proulx, 2014/10/19
- bug#18681: cp Specific fail example, Linda Walsh, 2014/10/20
bug#18681: The Linux cp command has bugs, Paul Eggert, 2014/10/10
bug#18681: The Linux cp command has bugs, Assaf Gordon, 2014/10/10