ethscpall(8)
β¨ ethscpall β¨
okay bestie, sit down, hydrate, because this one is genuinely iconic π
this is ethscpall(8) from the EFSFFCLIRG (Man Page) lineup, and it is exactly the tool you want when you gotta beam files from this system out to a whole crowd of hosts in the fabric. one command, many machines. main character energy fr fr π«Ά
π NAME π
ethscpall β copies files or directories from the current system to multiple hosts in the fabric. no cap.
When you're copying large directory trees, use the -t option to improve performance β the way it works is it tars and compresses the tree, transfers the resulting compressed tarball to each node, and untars it on each node. so it's giving efficient, honestly π
Use this tool for copying data files, operating system files, or applications to all the hosts (or a subset of hosts) within the fabric. that's the whole vibe.
NOTE: read these, they matter, do not skip, I'm serious π¨ - This tool can only copy from this system to a group of systems in the cluster. To copy from hosts in the cluster to this host, useethuploadall. -user@syntax cannot be used when specifying filenames. like, at all. don't try it π - Be aware that for the-roption, when copying a single source directory, if the destination directory does not exist it will be created and the source files placed directly in it. - In other situations, the-roption will copy the source directory as a directory under the destination directory. - The-Roption will always copy the source directory as a directory under the destination directory. - The-toption will always place the files found insource_dirdirectly in the destination directory.
π Syntax π
here's the shape of it, keep it close:
ethscpall [-pq] [-r|-R] [-f hostfile] [-h 'hosts'] [-u user] [-B
interface]
source_file ... dest_file
ethscpall [-t] [-pq] [-Z tarcomp] [-f hostfile] [-h 'hosts'] [-u
user] [-B interface]
[ source_dir [ dest_dir]]
π Options π
every single one, bestie, no skips:
--helpβ produces full help text. your little cheat sheet π₯°-pβ performs copy in parallel on all hosts. go go go π₯-qβ does not list files being transferred. quiet luxury, periodt.-rβ performs recursive copy of directories usingscp.-Rβ performs recursive copy of directories usingrsync(only copy changed files). so it's like, lowkey efficient.-tβ performs optimized recursive copy of directories usingtar.dest_diris optional. Ifdest_diris not specified, it defaults to the current directory name. If bothsource_diranddest_dirare omitted, they both default to the current directory name.-hhosts β specifies the list of hosts to copy to.-fhostfile β specifies the file with hosts in cluster. Default is/etc/eth-tools/hostsfile.-uuser β specifies the user to perform copy to. Default is current user.-Binterface β specifies local network interface to use forscporrsync.-Ztarcomp β specifies a simple tar compression option to use, such as--xzor--lzip.- When the host list is large, better compression may be preferred.
- When host list is small, faster compression may be preferred.
-Z ' 'will not use compression. Default is-z.
source_fileβ specifies the file or list of source files to copy.source_dirβ specifies the name of the source directory to copy. If omitted, current working directory is used.dest_fileordest_dirβ specifies the name of the destination file or directory. If copying multiple files, use a directory name instead as the destination. If the file or directory name is omitted, the source file or current directory name is used, respectively.
πΈ Example πΈ
the receipts, exactly as they are:
# efficiently copy an entire directory tree
ethscpall -t -p /usr/src/eth/mpi_apps /usr/src/eth/mpi_apps
# copy a group of files
ethscpall a b c /root/tools/
# copy to an explitly specified set of hosts
ethscpall -h 'arwen elrond' a b c /root/tools
HOSTS='arwen elrond' ethscpall a b c /root/tools
# copy to an explitly specified set of hosts over local eth2 nic
echscpall -h 'arwen elrond' -B eth2 a b c /root/tools
π¦ Environment Variables π¦
The following environment variables are also used by this command:
HOSTSβ List of hosts; used if-hoption not supplied.HOSTS_FILEβ File containing list of hosts; used in absence of-fand-h.FF_MAX_PARALLELβ When the-poption is used, maximum concurrent operations are performed.
and that's the whole page, bestie, you ate it π mwah. this was the ethscpall(8) page, Copyright(C) 2020-2024 Intel Corporation β go forth and copy responsibly, ily πβ¨π¦
π¦ where this page comes from
- centos-stream 9: eth-tools-fastfabric 1:12.1.0.0-4.el9 Β· BSD
- fedora 43: eth-tools-fastfabric 1:12.1.0.0-151.fc43 Β· BSD-3-Clause
- fedora 44: eth-tools-fastfabric 1:12.1.0.1-6.fc44 Β· BSD-3-Clause
- opensuse-leap 16.0: eth-fastfabric 11.7.0.0-160000.2.2 Β· BSD-3-Clause OR GPL-2.0-only
- Copyright 2020-2024, Intel Corporation
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms