Quantcast
Channel: Tutorials — LowEndTalk
Viewing all articles
Browse latest Browse all 1028

VFS Mount on Hubic/PCS

$
0
0

Octave has recently announced on Twitter (https://twitter.com/olesovhcom/status/708241818694115328) the possibility to mount your storage as an additional partition on your Linux machine. They basically developed an app named "svfs" which a Virtual File System over Openstack Swift built upon fuse (https://github.com/ovh/svfs)

Installation (Debian/Ubuntu)

Download and install the latest release packaged for your distribution.

Wget https://github.com/ovh/svfs/releases/download/v0.4.1/svfs_0.4.1_amd64.deb

dpkg -i svfs_0.4.1_amd64.deb

Installation (CentOS)

Download and install the latest release packaged for your distribution.

wget https://github.com/ovh/svfs/releases/download/v0.4.1/svfs-0.4.1-1.x86_64.rpm

rpm -i svfs-0.4.1-1.x86_64.rpm

Now you can mount the Hubic space. Make sure to retrieve the token and endpoint by logging and clicking on "Execute":

https://api.hubic.com/console/#/account/credentials

token: "xyxyxyxyxyxyxyxy" endpoint: https://lb1.hubic.ovh.net/v1/AUTH_xyxyxyxyxyxyxyxy expires: "2016-03-12T17:30:00+01:00"}

Now let's go ahead:

mkdir /hubic

mount -t svfs -o uid=0,gid=0,token=xyxyxyxyxyxyxyxy,storage_url=https://lb1.hubic.ovh.net/v1/AUTH_xyxyxyxyxyxyxyxy,container=default hubic /hubic

Now you can mount it:

mount ("df" command does not show the mount yet, so that's normal)

cd /hubic

ls


Viewing all articles
Browse latest Browse all 1028

Trending Articles