Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
en:services:application_services:high_performance_computing:transfer_data [2019/01/10 11:16] tehlers [Transfer Data] |
en:services:application_services:high_performance_computing:transfer_data [2020/09/09 15:22] mboden [/scratch] |
||
---|---|---|---|
Line 10: | Line 10: | ||
For the filesystem /scratch2 we don't have a dedicated transfernode. For this filesystem you need to use the frontend '' | For the filesystem /scratch2 we don't have a dedicated transfernode. For this filesystem you need to use the frontend '' | ||
+ | |||
+ | === Transfering Large Quantaties of Data === | ||
+ | |||
+ | If you need to transfer large quantities of data to our system, it may be advisable to copy directly to /scratch to increase the transfer rate, since the write-performance of our home file systems can sometimes be the limiting factor. Transfering to /scratch directly will not have this limitation. | ||
+ | |||
===== Within the GÖNET | ===== Within the GÖNET | ||
- | If your computer is located //inside the GÖNET//, you can use '' | + | ==== Using FileZilla ==== |
- | **your Home directory** | + | [[https:// |
+ | {{ : | ||
+ | Go to " | ||
+ | We disabled the password-only authentication so you have to change the "Logon Type" to "Key file" and supply an ssh key. See [[en: | ||
+ | {{ : | ||
+ | If you connect for the first time, you may be asked to confirm the fingerprint.\\ | ||
+ | You can now transfer data between your local machine and your home on our cluster by drag-and-dropping it from the left pane (or anywhere from your PC) to the right pane. You can also copy from our cluster to your machine. | ||
+ | {{ : | ||
+ | To transfer data to /scratch, make sure you are connected to transfer-scc.gwdg.de or if you need access to /scratch2, gwdu103.gwdg.de. You can type your scratch | ||
- | **/scratch** | + | ==== Using rsync ==== |
+ | |||
+ | If your computer is located | ||
+ | Here is an example for copying data from your computer to home or scratch | ||
+ | |||
+ | === your Home directory === | ||
- | using ssh (scp or rsync tunneled through ssh). Here is an example for copying data from your computer to scratch (please replace {SRC-DIR}, | ||
< | < | ||
- | scp -rp {SRC-DIR} {USERID}@transfer-scc.gwdg.de: | + | rsync -avvH {SRC-DIR} {USERID}@transfer-scc.gwdg.de: |
</ | </ | ||
\\ | \\ | ||
- | or | + | In order to transfer files from scratch back to your computer you swap the arguments of the commands: |
< | < | ||
- | rsync -avvH {SRC-DIR} | + | rsync -avvH {USERID}@transfer-scc.gwdg.de: |
</ | </ | ||
\\ | \\ | ||
- | In order to transfer files from scratch | + | |
+ | === /scratch | ||
< | < | ||
- | scp -rp {USERID}@transfer-scc.gwdg.de:/ | + | rsync -avvH {SRC-DIR} |
</ | </ | ||
\\ | \\ | ||
- | or | + | In order to transfer files from scratch back to your computer you swap the arguments of the commands: |
< | < | ||
rsync -avvH {USERID}@transfer-scc.gwdg.de:/ | rsync -avvH {USERID}@transfer-scc.gwdg.de:/ | ||
</ | </ | ||
\\ | \\ | ||
+ | |||
===== Outside of the GÖNET (from the Internet) | ===== Outside of the GÖNET (from the Internet) | ||
- | If your computer is located //outside the GÖNET//, you can use the server '' | + | If your computer is located //outside the GÖNET//, you can use the server '' |
**your Home directory** | **your Home directory** | ||
Line 48: | Line 67: | ||
For security reasons this node is not located inside the SCC network and therefor only has your Home directory but not /scratch accessible. | For security reasons this node is not located inside the SCC network and therefor only has your Home directory but not /scratch accessible. | ||
+ | |||
+ | ==== Getting Access to Scratch from Outside the GÖNET | ||
+ | |||
+ | The easiest way to get access to /scratch is to use our [[en: | ||
==== Getting Access to Scratch from Outside the GÖNET | ==== Getting Access to Scratch from Outside the GÖNET | ||
- | If you want to copy data to scratch, you need to " | + | If you want to copy data to scratch, you need to " |
< | < | ||
Line 113: | Line 136: | ||
\\ | \\ | ||
If your local port 4022 is already used, you can use any port above 1024 and below 32768, just change it in all commands. | If your local port 4022 is already used, you can use any port above 1024 and below 32768, just change it in all commands. | ||
+ | ===== ownCloud ===== | ||
+ | |||
+ | You can directly transfer data from and to the GWDG ownCloud by the WebDAV client '' | ||
+ | < | ||
+ | $ cadaver https:// | ||
+ | Authentication required for ownCloud on server `owncloud.gwdg.de': | ||
+ | Username: your-user-name | ||
+ | Password: | ||
+ | dav:/ | ||
+ | </ | ||
+ | You can use the usual commands such as '' | ||
+ | |||
+ | To change your directory on the cluster itself and list files, use '' | ||
+ | < | ||
+ | dav:/ | ||
+ | [... contents of ownCloud ...] | ||
+ | dav:/ | ||
+ | exampledir | ||
+ | dav:/ | ||
+ | Local directory: / | ||
+ | dav:/ | ||
+ | Creating `example': | ||
+ | dav:/ | ||
+ | dav:/ | ||
+ | Listing collection `/ | ||
+ | dav:/ | ||
+ | Uploading file1 to `/ | ||
+ | dav:/ | ||
+ | Uploading exampledir to `/ | ||
+ | Progress: [ ] 0.0% of 1 bytes failed: | ||
+ | Failed reading request body file: Is a directory | ||
+ | </ | ||
+ | Copying whole directories is not possible. You should create a tar or zip archive first and copy that. | ||
+ | < | ||
+ | dav:/ | ||
+ | dav:/ | ||
+ | total 1 | ||
+ | drwx------ 2 mboden GWDG 0 Dec 9 10:17 . | ||
+ | drwxr-xr-x 5 mboden GWDG 4 Dec 9 10:17 .. | ||
+ | dav:/ | ||
+ | Listing collection `/ | ||
+ | file1 0 Dec 9 10:10 | ||
+ | dav:/ | ||
+ | Downloading `/ | ||
+ | dav:/ | ||
+ | total 1 | ||
+ | drwx------ 2 mboden GWDG 0 Dec 9 10:19 . | ||
+ | drwxr-xr-x 5 mboden GWDG 4 Dec 9 10:17 .. | ||
+ | -rw------- 1 mboden GWDG 0 Dec 9 10:19 file1 | ||
+ | </ | ||
+ | |||
- | [[Kategorie: | ||