From 1664024380e8ae1a87cd3792c0ff81001a708752 Mon Sep 17 00:00:00 2001 From: oojo12 <47154698+oojo12@users.noreply.github.com> Date: Thu, 10 Feb 2022 08:00:32 -0500 Subject: [PATCH 1/6] add section for sharing data between sessions --- docs/products/sessions/README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/products/sessions/README.md b/docs/products/sessions/README.md index f584ec3a..eec7cbe6 100644 --- a/docs/products/sessions/README.md +++ b/docs/products/sessions/README.md @@ -49,3 +49,15 @@ The equivalent CLI command: grid session delete $INTERACTIVE_NODE_ID ``` +## Share Data Between Sessions +At this time the only supported way to share data between sessions is to mount the sessions locally and copy files to the local mounts. Establishing SSH connection to your sessions is a prerequisite to this. See these [steps](https://github.com/gridai/grid-docs/blob/doc-182-share-data-between-sessions/docs/products/sessions/how-to-ssh-into-a-session.md) to set up SSH connection with your sessions. After that you can do the following to create your session mounts: + +``` +# Do for each session you wish to share data between +mkdir +grid session mount +mkdir /shared_data + +# to share data from a session to another session +cp -R ./shared_data +``` From 19e618de54af2560b0e7684e590b9ca7093a40f9 Mon Sep 17 00:00:00 2001 From: oojo12 <47154698+oojo12@users.noreply.github.com> Date: Thu, 10 Feb 2022 08:02:20 -0500 Subject: [PATCH 2/6] add warning note --- docs/products/sessions/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/products/sessions/README.md b/docs/products/sessions/README.md index eec7cbe6..39994ea3 100644 --- a/docs/products/sessions/README.md +++ b/docs/products/sessions/README.md @@ -50,7 +50,7 @@ grid session delete $INTERACTIVE_NODE_ID ``` ## Share Data Between Sessions -At this time the only supported way to share data between sessions is to mount the sessions locally and copy files to the local mounts. Establishing SSH connection to your sessions is a prerequisite to this. See these [steps](https://github.com/gridai/grid-docs/blob/doc-182-share-data-between-sessions/docs/products/sessions/how-to-ssh-into-a-session.md) to set up SSH connection with your sessions. After that you can do the following to create your session mounts: +At this time the only supported way to share data between sessions is to mount the sessions locally and copy files to the local mounts. Establishing SSH connection to your sessions is a prerequisite to this. See these [steps](https://github.com/gridai/grid-docs/blob/doc-182-share-data-between-sessions/docs/products/sessions/how-to-ssh-into-a-session.md) to set up SSH connection with your sessions. **Be sure to logout of the interactive session before attempting the next step**. After that you can do the following to create your session mounts: ``` # Do for each session you wish to share data between From 8b4beb491f1de8e4407f8b9065bc897f77aa1cb4 Mon Sep 17 00:00:00 2001 From: oojo12 <47154698+oojo12@users.noreply.github.com> Date: Thu, 10 Feb 2022 08:14:22 -0500 Subject: [PATCH 3/6] fix --- docs/products/sessions/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/products/sessions/README.md b/docs/products/sessions/README.md index 39994ea3..e2ef1400 100644 --- a/docs/products/sessions/README.md +++ b/docs/products/sessions/README.md @@ -59,5 +59,5 @@ grid session mount mkdir /shared_data # to share data from a session to another session -cp -R ./shared_data +cp -R /shared_data ``` From 85c192bfcbe80eb492667f8ab02585450bc0d2bd Mon Sep 17 00:00:00 2001 From: oojo12 <47154698+oojo12@users.noreply.github.com> Date: Fri, 11 Feb 2022 10:51:36 -0500 Subject: [PATCH 4/6] update hyperlink --- docs/products/sessions/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/products/sessions/README.md b/docs/products/sessions/README.md index e2ef1400..e9b8687c 100644 --- a/docs/products/sessions/README.md +++ b/docs/products/sessions/README.md @@ -50,7 +50,7 @@ grid session delete $INTERACTIVE_NODE_ID ``` ## Share Data Between Sessions -At this time the only supported way to share data between sessions is to mount the sessions locally and copy files to the local mounts. Establishing SSH connection to your sessions is a prerequisite to this. See these [steps](https://github.com/gridai/grid-docs/blob/doc-182-share-data-between-sessions/docs/products/sessions/how-to-ssh-into-a-session.md) to set up SSH connection with your sessions. **Be sure to logout of the interactive session before attempting the next step**. After that you can do the following to create your session mounts: +At this time the only supported way to share data between sessions is to mount the sessions locally and copy files to the local mounts. Establishing SSH connection to your sessions is a prerequisite to this. See these [steps](./how-to-ssh-into-a-session.md) to set up SSH connection with your sessions. **Be sure to logout of the interactive session before attempting the next step**. After that you can do the following to create your session mounts: ``` # Do for each session you wish to share data between From a15dea29afe9282953c26f7432e0be98f5290db1 Mon Sep 17 00:00:00 2001 From: oojo12 <47154698+oojo12@users.noreply.github.com> Date: Wed, 16 Feb 2022 12:26:58 -0500 Subject: [PATCH 5/6] address change request --- docs/products/sessions/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/products/sessions/README.md b/docs/products/sessions/README.md index e9b8687c..b3d6c5e2 100644 --- a/docs/products/sessions/README.md +++ b/docs/products/sessions/README.md @@ -59,5 +59,5 @@ grid session mount mkdir /shared_data # to share data from a session to another session -cp -R /shared_data +cp -R /shared_data ``` From 08af332de83a58fa6e409786114599c42595284f Mon Sep 17 00:00:00 2001 From: oojo12 <47154698+oojo12@users.noreply.github.com> Date: Wed, 16 Feb 2022 12:28:13 -0500 Subject: [PATCH 6/6] Update README.md --- docs/products/sessions/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/products/sessions/README.md b/docs/products/sessions/README.md index b3d6c5e2..3d12d922 100644 --- a/docs/products/sessions/README.md +++ b/docs/products/sessions/README.md @@ -54,9 +54,9 @@ At this time the only supported way to share data between sessions is to mount t ``` # Do for each session you wish to share data between -mkdir -grid session mount -mkdir /shared_data +mkdir +grid session mount +mkdir /shared_data # to share data from a session to another session cp -R /shared_data