1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

SoftLayer Object StorageをLinuxへマウントする方法

Last updated at Posted at 2016-03-30

EC2の無料のUbuntuにSoftLayer Object Storageをマウント

増幅処理をしたデータをObject Storageにあげる必要があり、増幅処理をするまえのデータをObject Storageへアップし、マウントして増幅処理を行えばアップロード時間短縮ができるのでは、と思ってやってみた。

1.EC2上にUbuntsuを構築
 今回は無料枠のUbuntsuを選択

2.必要なツールをインストール
# sudo su -

# apt-get update
# apt-get install build-essential libcurl4-openssl-dev libxml2-dev libssl-dev libfuse-dev
# apt-get install git
# apt-get install libjson0 libjson0-dev

3.CloudFuseのインストール
# git clone https://github.com/redbo/cloudfuse
# cd cloudfuse
# ./configure
# make
# make install

4.Object Storageの接続情報を設定
# vi ~/.cloudfuse
※下記情報を入力。(SoftLayer management consoleで情報を取得)
 username=xxxxx
 api_key=xxxx
 authurl=xxxx

5.マウント
# cloudfuse /mnt
# df
Filesystem 1K-blocks Used Available Use% Mounted on
udev 503212 12 503200 1% /dev
tmpfs 101636 332 101304 1% /run
/dev/xvda1 8115168 1073556 6606336 14% /
none 4 0 4 0% /sys/fs/cgroup
none 5120 0 5120 0% /run/lock
none 508160 0 508160 0% /run/shm
none 102400 0 102400 0% /run/user
cloudfuse 8589934588 0 8589934588 0% /mnt

以上。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?