This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am mflu on github. | |
* I am cloudbase (https://keybase.io/cloudbase) on keybase. | |
* I have a public key ASDR1TilBk46RQFipw-6uqAqchgzT2Ry-bw0wVudgVjQzAo | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@openvstorage]# ovs setup | |
+++++++++++++++++++++++++++++ | |
+++ Open vStorage Setup +++ | |
+++++++++++++++++++++++++++++ | |
+++ Setting up connections +++ | |
Enter the root password for this node | |
Password: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@ovs]# cat django_gunicorn_ovs.error | |
[2014-11-26 15:24:02 +0000] [7675] [DEBUG] Current configuration: | |
proxy_protocol: False | |
worker_connections: 1000 | |
syslog: False | |
statsd_host: None | |
post_fork: <function post_fork at 0x2a90f50> | |
pythonpath: None | |
enable_stdio_inheritance: False | |
worker_class: gevent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
mkdir -p /mnt/gluster/test_volume/test_dir | |
for i in `seq 1 10000`;do | |
echo $i; | |
md5=`echo $i | md5sum | awk '{print $1}'` | |
dir=${md5:0:2}/${md5:2:2}/${md5:4:2} | |
mkdir -p /mnt/gluster/test_volume/test_dir/$dir/a$i | |
mkdir -p /mnt/gluster/test_volume/test_dir/$dir/b$i |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I have created a volume named test_auth and set server.allow-insecure on | |
Volume Name: test_auth | |
Type: Distribute | |
Volume ID: d9bdc43e-15ce-4072-8d89-a34063e82427 | |
Status: Started | |
Number of Bricks: 3 | |
Transport-type: tcp | |
Bricks: | |
Brick1: server1:/mnt/xfsd/test_auth |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [[ "$#" < "2" || "$#" > "3" ]]; then | |
cat <<END | |
Glusterfs GFID resolver -- turns a GFID into a real file path | |
Usage: $0 <brick-path> <gfid> [-q] | |
<brick-path> : the path to your glusterfs brick (required) | |