From 6829b0dca17a8e8c6b1e68dc79875233de33a2b0 Mon Sep 17 00:00:00 2001 From: Ondrej Dvorak <ondrej.dvorak@vsb.cz> Date: Thu, 4 Aug 2022 10:54:51 +0200 Subject: [PATCH] Revert "Update docs.it4i/dice.md" This reverts commit d95b46c5458587ca80665b312de3a4ce1f5402aa --- docs.it4i/dice.md | 134 +++++++++++++++++++++++----------------------- 1 file changed, 66 insertions(+), 68 deletions(-) diff --git a/docs.it4i/dice.md b/docs.it4i/dice.md index 554cc6da9..e287042c9 100644 --- a/docs.it4i/dice.md +++ b/docs.it4i/dice.md @@ -51,74 +51,72 @@ ml irodsfs - config files for irodsfs and icommands will be loaded - now you can choose between Fuse client or iCommands -==='***Fuse***' - - ```console - ssh some_user@karolina.it4i.cz - [some_use@login4.karolina ~]$ ml irodsfs - - irodsfs configuration file has been created at /home/dvo0012/.irods/config.yml - iRODS environment file has been created at /home/dvo0012/.irods/irods_environment.json - - to start irodsfs, run: irodsfs -config ~/.irods/config.yml ~/IRODS - to start iCommands, run: iinit - - For more information, see https://docs.it4i.cz/dice/ - ``` - - To mount your iRODS collection to ~/IRODS, run - - ```console - [some_user@login4.karolina ~]$ irodsfs -config ~/.irods/config.yml ~/IRODS - time="2022-08-04 08:54:13.222836" level=info msg="Logging to /tmp/irodsfs_cblmq5ab1lsaj31vrv20.log" function=processArguments package=main - Password: - time="2022-08-04 08:54:18.698811" level=info msg="Found FUSE Device. Starting iRODS FUSE Lite." function=parentMain package=main - time="2022-08-04 08:54:18.699080" level=info msg="Running the process in the background mode" function=parentRun package=main - time="2022-08-04 08:54:18.699544" level=info msg="Process id = 27145" function=parentRun package=main - time="2022-08-04 08:54:18.699572" level=info msg="Sending configuration data" function=parentRun package=main - time="2022-08-04 08:54:18.699730" level=info msg="Successfully sent configuration data to background process" function=parentRun package=main - time="2022-08-04 08:54:18.922490" level=info msg="Successfully started background process" function=parentRun package=main - ``` - - To unmount it, run - - ```console - fusermount -u ~/IRODS - ``` - - you can work with fuse as an ordinary directory ( ls, cd, cp, mv etc ) - { .annotate } - -=== '***iCommands***' - - ```console - ssh some_user@karolina.it4i.cz - [some_use@login4.karolina ~]$ ml irodsfs - irodsfs configuration file has been created at /home/dvo0012/.irods/config.yml. - to start irods fs run: irodsfs -config ~/.irods/config.yml ~/IRODS - - iCommands environment file has been created at /home/$USER/.irods/irods_environment.json. - to start iCommands run: iinit - - [some_use@login4.karolina ~]$ iinit - Enter your current PAM password: - ``` - - - put you password you set in keycloak - - ```console - [some_use@login4.karolina ~]$ ils - /IT4I/home/some_user: - test.1 - test.2 - test.3 - test.4 - ``` - - - upload `iput` , download `iget` - - for more help, type `ihelp` - { .annotate } - +***Fuse*** + +```console +ssh some_user@karolina.it4i.cz +[some_use@login4.karolina ~]$ ml irodsfs + +irodsfs configuration file has been created at /home/dvo0012/.irods/config.yml +iRODS environment file has been created at /home/dvo0012/.irods/irods_environment.json + +to start irodsfs, run: irodsfs -config ~/.irods/config.yml ~/IRODS +to start iCommands, run: iinit + +For more information, see https://docs.it4i.cz/dice/ +``` + +To mount your iRODS collection to ~/IRODS, run + +```console +[some_user@login4.karolina ~]$ irodsfs -config ~/.irods/config.yml ~/IRODS +time="2022-08-04 08:54:13.222836" level=info msg="Logging to /tmp/irodsfs_cblmq5ab1lsaj31vrv20.log" function=processArguments package=main +Password: +time="2022-08-04 08:54:18.698811" level=info msg="Found FUSE Device. Starting iRODS FUSE Lite." function=parentMain package=main +time="2022-08-04 08:54:18.699080" level=info msg="Running the process in the background mode" function=parentRun package=main +time="2022-08-04 08:54:18.699544" level=info msg="Process id = 27145" function=parentRun package=main +time="2022-08-04 08:54:18.699572" level=info msg="Sending configuration data" function=parentRun package=main +time="2022-08-04 08:54:18.699730" level=info msg="Successfully sent configuration data to background process" function=parentRun package=main +time="2022-08-04 08:54:18.922490" level=info msg="Successfully started background process" function=parentRun package=main +``` + +To unmount it, run + +```console +fusermount -u ~/IRODS +``` + +you can work with fuse as an ordinary directory ( ls, cd, cp, mv etc ) + +***iCommands*** + +```console +ssh some_user@karolina.it4i.cz +[some_use@login4.karolina ~]$ ml irodsfs +irodsfs configuration file has been created at /home/dvo0012/.irods/config.yml. + to start irods fs run: irodsfs -config ~/.irods/config.yml ~/IRODS + +iCommands environment file has been created at /home/$USER/.irods/irods_environment.json. + to start iCommands run: iinit + +[some_use@login4.karolina ~]$ iinit +Enter your current PAM password: +``` + +- put you password you set in keycloak + +```console +[some_use@login4.karolina ~]$ ils +/IT4I/home/some_user: + test.1 + test.2 + test.3 + test.4 +``` + +- upload `iput` , download `iget` +- for more help, type `ihelp` + ### ***Users Without IT4I Account (No Access to Cluster)*** - we suppose, you will upload your data from your local pc/vm -- GitLab