Use cloudfuse for access bizznet GIO Storage





yum install gcc make fuse-devel curl-devel libxml2-devel openssl-devel json-c-devel json-c json_simple json_diff
mkdir app/
cd app/
git clone https://github.com/redbo/cloudfuse.git

cd cloudfuse/
./configure
make
make install
export PKG_CONFIG_PATH=/lib64/pkgconfig/


vi /root/.cloudfuse
username=AUTH USER
api_key=AUTH KEY
authurl=AUTH URL

chmod 700 /root/.cloudfuse

mkdir /biznetgiostorage
cloudfuse /biznetgiostorage

[root@srv ~]# df -h
Filesystem                              Size  Used Avail Use% Mounted on
/dev/mapper/srv-root                     35G  2.7G   33G   8% /
devtmpfs                                7.5G     0  7.5G   0% /dev
tmpfs                                   7.5G     0  7.5G   0% /dev/shm
tmpfs                                   7.5G  105M  7.4G   2% /run
tmpfs                                   7.5G     0  7.5G   0% /sys/fs/cgroup
/dev/mapper/srv-var_lib_mysql           345G  111G  235G  32% /var/lib/mysql
/dev/mapper/srv-home                    170G   65G  106G  38% /home
/dev/sda1                               253M  164M   89M  65% /boot
tmpfs                                   1.5G     0  1.5G   0% /run/user/0
tmpfs                                   1.5G     0  1.5G   0% /run/user/1001

[root@srv ~]# cloudfuse /dev/shm/biznetgiostorage

[root@srv]# df -h
Filesystem                              Size  Used Avail Use% Mounted on
/dev/mapper/srv-root                     35G  2.7G   33G   8% /
devtmpfs                                7.5G     0  7.5G   0% /dev
tmpfs                                   7.5G     0  7.5G   0% /dev/shm
tmpfs                                   7.5G  105M  7.4G   2% /run
tmpfs                                   7.5G     0  7.5G   0% /sys/fs/cgroup
/dev/mapper/srv-var_lib_mysql           345G  111G  235G  32% /var/lib/mysql
/dev/mapper/srv-home                    170G   65G  106G  38% /home
/dev/sda1                               253M  164M   89M  65% /boot
tmpfs                                   1.5G     0  1.5G   0% /run/user/0
tmpfs                                   1.5G     0  1.5G   0% /run/user/1001
cloudfuse                               8.0T   88K  8.0T   1% /dev/shm/biznetgiostorage



source : http://faq.biznetgiocloud.com/index.php?action=artikel&cat=19&id=308&artlang=id

No comments:

Post a Comment