Difficulty: Intermediate
Estimated Time: 25-35 minutes

Prerequisites: If you haven't already done it, you should study first these examples which are closely related:

Usually projects have a central data storage, which can be accessed by all the parties involved in the project. It helps in sharing the data of the project with the commands dvc push and dvc pull (which are similar to git push and git pull).

In this example we will see how to share data with the help of a storage directory that is mounted through SSHFS. Normally we don't need to do this, since we can use a SSH remote storage directly. But we are using it just as an example, since SSHFS is easy to be used for an interactive tutorial. Once you understand how it works, it should be easy to implement it for other types of mounted storages (like NFS, Samba, etc.).

Mounted DVC Storage

Step 1 of 4

Step 1

Prepare

The setup of this example is similar to that of using a SSH server for data sharing.

  1. Setup of the server:

    play setup-server.sh

  2. Click on this command to switch to the first user on another terminal tab: su - first-user

    Then run the setup commands:

    play setup-first-user.sh

  3. Click on this command to switch to the second user on another terminal tab: su - second-user

    Then run the setup commands:

    play setup-second-user.sh