Tutorial

Copy Files From Another File System

In this quick tutorial, we will be showing you how to use the qcopy tool to copy files from one file system to another. To do that, we are going to download the linux kernel files (v. 2.6.11.1). Please note that the version has no relevance for this tutorial, as it was chosen just to demonstrate the capabilities of the qcopy tool.

Contents

Reading Time: 3 minutes

Step-by-Step Tutorial

  1. First, we will download the zip folder to our client machine

    wget https://mirrors.edge.kernel.org/pub/linux/kernel/v2.6/linux-2.6.11.1.tar.gz

  2. Next, we will unzip the folder

    tar xzf linux-2.6.11.1.tar.gz

  3. Now, go to the Volumes tab, and create a new Volume. You can just call it “kernel” and leave everything else as is, and click on the “Create” button.
  4. We will be copying our linux kernel folder to our new volume using “qcopy:”
    • You will need to go to your Quobyte web console and click on the “information” icon next to the “user” icon, and select the “CLI and Endpoints…” option.
    • Copy the registries entry 
  5. To use the qcopy tool, you first need to type “qcopy”, followed by the name of the file you want to copy, the registries from 4b, and the name of the volume where you want to copy your file:

    qcopy linux-2.6.11.1.tar.gz uidexample.myquobyte.net:kernel

  6. If you go to your volumes in the web console, and give it a few seconds, you will see that the new volume has been populated with the Linux kernel folder.
    • Click the “Refresh” button if you don’t see anything changing after a few seconds.
    • Once the process is finished, you will have a total of 17091 files and 1084 directories in your new volume.
    • In your terminal, you will see a message that tells you the number of files and directories and the time it took to be processed. In our case, this is the output:
  7. Cd into the kernel volume, and do an ls to see what’s in there:
    • You should be able to see the linux kernel folder
    • You can cd into it and explore the content in it by doing an ls or ll.
  8. As you can see, copying files from one system to another using the qcopy tool is very easy.

Video - Quobyte Installation: Format Devices

Talk to Us

Quobyte can do a lot more for you than what you’ve seen so far.

To find out what, contact us to set up a quick demo.