Reading Time: 3 minutes
Step-by-Step Tutorial
-
To start, we will ssh into the first client:
-
Next, you can check the mounted file systems by running the “mount” command in your terminal:
-
Now, cd into /quobyte/
- If you are working on a new cluster, when you do an ls, you will notice that nothing is there
- Create a volume if you do not have one already. If you need any help creating volumes, make sure to check our previous tutorial: Format Your Devices and Create Your First Volume
- Now, if you do another ls, you will be able to see the brand new volume
- Lastly, cd into your volume
- If you are working on a new cluster, when you do an ls, you will notice that nothing is there
-
Next, we will create a file called "hello.txt" using vi:
- You can add any text you to it, and save it.
- You can add any text you to it, and save it.
-
Now head back to your Volume in the Quobyte console. If you refresh it, you will see the new file in the volume. You will see a message that reads: “1 file is redundant across machines” and that it can tolerate downtime of a machine.
-
Go back to the client machine and let’s create another file.
- This time we will call it "second-test.txt":
- Again, after creating, go back to your Volume in the Quobyte console. This time, check out the data devices, as well as the metadata devices being used in your volume.
- This time we will call it "second-test.txt":
-
Let’s go back to the terminal and ssh into the second client.
- Again, we will retrieve the clients list
- ssh into the second client
- Check the mounted file systems.
- Again, we will retrieve the clients list
-
Cd into /quobyte/ and do an ls. You should see the demo-volume that we created with the first client.
-
Cd into the existing volume.
- Now, if you do another ls, you will be able to see the files that we created with the first client.
- Now, if you do another ls, you will be able to see the files that we created with the first client.
-
Let’s create a new file using our second client. We will call this file "second-client.txt"
-
Add some text to your file and save it.
- Do one more ls to make sure all 3 files are there.
-
Let’s go back to the first client and do an ls
- You should be able to see all 3 files.
-
Now, if you go to the Quobyte Console, you will see all three files as well: