copy-wlan-quick-bbcp:howto_copy_wlan_quick_bbcp
Différences
Ci-dessous, les différences entre deux révisions de la page.
copy-wlan-quick-bbcp:howto_copy_wlan_quick_bbcp [2018/09/11 09:15] – créée ronan | copy-wlan-quick-bbcp:howto_copy_wlan_quick_bbcp [2019/01/11 15:58] (Version actuelle) – rguyader | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | # apt-get install libssl-dev build-essential zlib1g-dev git | + | <code bash> |
- | # | + | apt-get install libssl-dev build-essential zlib1g-dev git |
- | # | + | git clone http:// |
- | # vi Makefile | + | cd bbcp/src |
+ | vi Makefile | ||
+ | </ | ||
Line : | Line : | ||
Replace by : | Replace by : | ||
- | # make Linux | + | <code bash> |
- | # cd .. | + | make Linux |
- | # sudo cp bin/ | + | cd .. |
- | # sudo chown root:root /bin/bbcp | + | sudo cp bin/ |
- | # sudo chmod 755 /bin/bbcp | + | sudo chown root:root /bin/bbcp |
+ | sudo chmod 755 /bin/bbcp | ||
+ | </ | ||
===== Howto use ===== | ===== Howto use ===== | ||
Ligne 20: | Ligne 24: | ||
===== Upload ===== | ===== Upload ===== | ||
+ | <code bash> | ||
# bbcp --ipv4 --port 7777 --verbose --progress 5 --streams 60 --windowsz 128K --append --gross --mkdir --readable --recursive --symlinks keep --sync dd --xfrrate 50M / | # bbcp --ipv4 --port 7777 --verbose --progress 5 --streams 60 --windowsz 128K --append --gross --mkdir --readable --recursive --symlinks keep --sync dd --xfrrate 50M / | ||
+ | </ | ||
+ | |||
bbcp: Indexing files to be copied... | bbcp: Indexing files to be copied... | ||
bbcp: Copying 0 files and 0 links in 0 directories. | bbcp: Copying 0 files and 0 links in 0 directories. | ||
Ligne 30: | Ligne 36: | ||
===== Download ===== | ===== Download ===== | ||
+ | <code bash> | ||
# bbcp --reverse --ipv4 --port 7777 --verbose --progress 5 --streams 60 --windowsz 512K --append --gross --mkdir --readable --recursive --symlinks keep --sync dd --xfrrate 50M root@example.com:/ | # bbcp --reverse --ipv4 --port 7777 --verbose --progress 5 --streams 60 --windowsz 512K --append --gross --mkdir --readable --recursive --symlinks keep --sync dd --xfrrate 50M root@example.com:/ | ||
+ | </ | ||
+ | |||
bbcp: Indexing files to be copied... | bbcp: Indexing files to be copied... | ||
bbcp: Copying 0 files and 0 links in 0 directories. | bbcp: Copying 0 files and 0 links in 0 directories. | ||
Ligne 45: | Ligne 53: | ||
bbcp: 180515 16: | bbcp: 180515 16: | ||
bbcp: 180515 16: | bbcp: 180515 16: | ||
- | |||
===== Sans limit rate download ===== | ===== Sans limit rate download ===== | ||
+ | <code bash> | ||
# bbcp --reverse --ipv4 --port 7777 --verbose --progress 5 --streams 30 --windowsz 512K --append --gross --mkdir --readable --recursive --symlinks keep --sync dd root@example.com:/ | # bbcp --reverse --ipv4 --port 7777 --verbose --progress 5 --streams 30 --windowsz 512K --append --gross --mkdir --readable --recursive --symlinks keep --sync dd root@example.com:/ | ||
+ | </ | ||
+ | |||
bbcp: Indexing files to be copied... | bbcp: Indexing files to be copied... | ||
bbcp: Copying 0 files and 0 links in 0 directories. | bbcp: Copying 0 files and 0 links in 0 directories. | ||
Ligne 64: | Ligne 74: | ||
===== Sans limit rate upload ===== | ===== Sans limit rate upload ===== | ||
+ | <code bash> | ||
# bbcp --ipv4 --port 7777 --verbose --progress 5 --streams 30 --windowsz 512K --append --gross --mkdir --readable --recursive --symlinks keep --sync dd / | # bbcp --ipv4 --port 7777 --verbose --progress 5 --streams 30 --windowsz 512K --append --gross --mkdir --readable --recursive --symlinks keep --sync dd / | ||
+ | </ | ||
+ | |||
bbcp: Source I/O buffers (46080K) > 25% of available free memory (132084K); copy may be slow | bbcp: Source I/O buffers (46080K) > 25% of available free memory (132084K); copy may be slow | ||
bbcp: Indexing files to be copied... | bbcp: Indexing files to be copied... | ||
Ligne 85: | Ligne 98: | ||
File / | File / | ||
1 file copied at effectively 31.4 MB/s | 1 file copied at effectively 31.4 MB/s | ||
- | |||
--idfile fname | --idfile fname | ||
specifies the name of the ssh identity file if one has been specifically created for bbcp. The identity filename, prefixed by –i, is included in the ssh command line when starting the source and target nodes. | specifies the name of the ssh identity file if one has been specifically created for bbcp. The identity filename, prefixed by –i, is included in the ssh command line when starting the source and target nodes. | ||
copy-wlan-quick-bbcp/howto_copy_wlan_quick_bbcp.1536657305.txt.gz · Dernière modification : 2018/09/11 09:15 de ronan