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 18:09] hmeij [Moving Content] |
cluster:136 [2020/07/28 17:21] (current) hmeij07 |
||
---|---|---|---|
Line 1: | Line 1: | ||
\\ | \\ | ||
**[[cluster: | **[[cluster: | ||
+ | |||
+ | ''/ | ||
+ | |||
+ | --- // | ||
==== HomeDir & Storage Options ==== | ==== HomeDir & Storage Options ==== | ||
Line 37: | Line 41: | ||
**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. When crossing the vertical boundaries you are not dealing with local content anymore, thus the content needs to flow over the network. '' | + | 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. '' |
< | < | ||
Line 56: | Line 61: | ||
**Some feature examples** | **Some feature examples** | ||
- | * preserve permissions, | + | * preserve permissions, |
* '' | * '' | ||
* delete files on destination not present on source (careful!) | * delete files on destination not present on source (careful!) | ||
* '' | * '' | ||
- | * throttle the rate of traffic generated, make your sysadmin happy, use | + | * throttle the rate of traffic generated, make your sysadmin happy, use <5000 |
* '' | * '' | ||
- | * use a remote shell form host to host (crossing those vertical boundaries above) | + | |
- | * '' | + | * '' |
- | * Once contents have been migrated '' | + | |
+ | * '' | ||
- | Note the use of trailing slashes, it means update everything inside source '' | + | Note the use of trailing slashes, it means update everything inside source '' |
- | ** Examples | + | ** Putting it all together |
< | < | ||
- | # copy from dir stuff lab or remote college to my home on HPCC in tmp area | + | # copy the dir stuff from lab or remote college to my home on HPCC in tmp area |
+ | # (first log in to remote location) | ||
- | rsync -vac --bwlimit=2500 / | + | rsync -vac --bwlimit=2500 |
- | # sync my stuff folder into / | + | # sync my HPCC dir stuff folder into / |
+ | # (first log in to sharptail) | ||
rsync -vac --bwlimit=2500 / | rsync -vac --bwlimit=2500 / | ||
Line 82: | Line 90: | ||
# generate a copy of content on Rstore disk array outside of HPCC but within wesleyan.edu | # 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--bwlimit=2500 / | + | rsync -vac --bwlimt=2500 user@rstoresrv0.wesleyan.edu:/ |
</ | </ |