This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
cluster:136 [2015/08/14 17:47] hmeij [How do I ..?] |
cluster:136 [2020/07/28 17:21] (current) hmeij07 |
||
---|---|---|---|
Line 1: | Line 1: | ||
\\ | \\ | ||
**[[cluster: | **[[cluster: | ||
+ | |||
+ | ''/ | ||
+ | |||
+ | --- // | ||
==== HomeDir & Storage Options ==== | ==== HomeDir & Storage Options ==== | ||
Line 35: | Line 39: | ||
Do not use any type of copy tool with a GUI or cp/scp or s/ftp. Especially the GUI (drag& | Do not use any type of copy tool with a GUI or cp/scp or s/ftp. Especially the GUI (drag& | ||
- | + | **Check it out:** | |
- | Check it out: | + | |
+ | * '' | ||
* is the server busy ('' | * is the server busy ('' | ||
* is there memory available ('' | * is there memory available ('' | ||
- | * is anybody else using rsync ('' | + | * is anybody else using rsync ('' |
- | * is the server busy writing ('' | + | * is the server busy writing ('' |
- | Three scenarios are depicted below | + | Three scenarios are depicted below. When crossing the vertical boundaries you are not dealing with local content anymore, thus the content needs to flow over the network. '' |
< | < | ||
- | | | + | | /home | group share | some lab location |
some lab location | some lab location | ||
< | < | ||
some other college | some other college | ||
- | | | + | | / |
</ | </ | ||
- | | + | **Some feature examples** |
+ | |||
+ | | ||
* '' | * '' | ||
- | * delete files on destination not present on source | + | * delete files on destination not present on source |
* '' | * '' | ||
- | * throttle the rate of traffic generated, make your sysadmin happy, use | + | * throttle the rate of traffic generated, make your sysadmin happy, use <5000 |
* '' | * '' | ||
- | * and much more ... | + | * do not look inside files |
+ | * '' | ||
+ | * use a remote shell from host to host (crossing those vertical boundaries above) | ||
+ | * '' | ||
- | So to put it all together, for example move my directory | + | Note the use of trailing slashes, it means update everything inside source '' |
- | '' | + | ** Putting it all together ** |
- | Is output ok? Then run again the '' | + | < |
- | Note the lack of source trailing slash but present destination trailing slash; meaning put source inside destination | + | # copy the dir stuff from lab or remote college to my home on HPCC in tmp area |
+ | # (first log in to remote | ||
- | Once contents have been migrated '' | + | rsync -vac --bwlimit=2500 --whole-files / |
+ | |||
+ | # sync my HPCC dir stuff folder into /archives locally on sharptail, then clean up | ||
+ | # (first log in to sharptail) | ||
+ | |||
+ | rsync -vac --bwlimit=2500 / | ||
+ | rm -rf /home/user/stuff/* | ||
+ | |||
+ | # generate a copy of content on Rstore disk array outside of HPCC but within wesleyan.edu | ||
+ | # (get paths and share names from faculty member, on sharptail do) | ||
+ | |||
+ | rsync -vac --bwlimit=2500 / | ||
+ | |||
+ | # you can also do this in reverse, log in to sharptail first | ||
+ | |||
+ | rsync -vac --bwlimt=2500 user@rstoresrv0.wesleyan.edu:/ | ||
+ | |||
+ | </ | ||