This how to will provide you instructions for mounting your cloud storage to your CentOS, RHEL or Fedora system as a usable drive. This can be very useful and helpful when performing tasks and/or moving/manipulating files to and from your cloud storage device.
Retrieve your cloud storage information
First login to my.hivelocity.net and navigate to Services & Hardware.
Next, click the Cloud Storage button at the top. Once you are in the Cloud Storage page you will see Login Details. Please copy these details safely or keep this tab open as you will need these credentials later.
Now your ready to begin configuring the server
You will need:
- Server IP address
- Server SSH port (22 is default — if you see Connection refused error, you are using the wrong SSH port)
- User: root or sudoer user
1. Install SSHFS
Perform the following while connected to your server via SSH terminal application.
2. Create mount directory
3. Mount remote filesystem
Replace yourusername with your cloudstorage login username
Replace cloudstoragedomain with cloud storage IP or domain (cloudstorage1.hivelocity.net or cloudstorage2.hivelocity.net etc) found within your my.hivelocity.net -> Cloud Storage information Example line would something like:
4. Check the new mounted drive contents
Check to make sure the mount was created successfullyYou should now see the mount listed at the end
Also check to see if your storage contents can be listed
5. Configure the system to remount upon reboots
Navigate to the bottom of this file and insert the mount line:
6. Unmounting the drive
If you need unmount the drive at any time, you simply need to perform the following.
If you thought that was helpful, check out this article on How to use RSYNC with cloudstorage from our Impressive Support staff