Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

LeoFS v1.3.2 TEST on Mac OS X

  • Date: Feb 3rd, 2017
  • Mac OS: Darwin Kernel Version 14.5.0: Sun Sep 25 22:07:15 PDT 2016; root:xnu-2782.50.9~1/RELEASE_X86_64 x86_64

Operations

$ ./leofs-adm status
 [System Confiuration]
-----------------------------------+----------
 Item                              | Value
-----------------------------------+----------
 Basic/Consistency level
-----------------------------------+----------
                    system version | 1.3.2
                        cluster Id | leofs_1
                             DC Id | dc_1
                    Total replicas | 1
          number of successes of R | 1
          number of successes of W | 1
          number of successes of D | 1
 number of rack-awareness replicas | 0
                         ring size | 2^128
-----------------------------------+----------
 Multi DC replication settings
-----------------------------------+----------
        max number of joinable DCs | 2
           number of replicas a DC | 1
-----------------------------------+----------
 Manager RING hash
-----------------------------------+----------
                 current ring-hash | 433fe365
                previous ring-hash | 433fe365
-----------------------------------+----------

 [State of Node(s)]
-------+--------------------------+--------------+----------------+----------------+----------------------------
 type  |           node           |    state     |  current ring  |   prev ring    |          updated at
-------+--------------------------+--------------+----------------+----------------+----------------------------
  S    | storage_0@127.0.0.1      | running      | 433fe365       | 433fe365       | 2017-02-03 09:29:43 +0900
  G    | gateway_0@127.0.0.1      | running      | 433fe365       | 433fe365       | 2017-02-03 09:29:44 +0900
-------+--------------------------+--------------+----------------+----------------+----------------------------

$ s3cmd mb s3://test/
Bucket 's3://test/' created
yosuke.hara@P30088:~/dev/projects/leo-project/leofs-v1.3 (develop)

$ s3cmd put ./test.1 s3://test/
upload: './test.1' -> 's3://test/test.1'  [1 of 1]
 2572 of 2572   100% in    0s   197.17 kB/s  done
 
$ s3cmd put ./test.2 s3://test/
upload: './test.2' -> 's3://test/test.2'  [1 of 1]
 2572 of 2572   100% in    0s   224.86 kB/s  done
 
$ s3cmd put ./test.3 s3://test/
upload: './test.3' -> 's3://test/test.3'  [1 of 1]
 2572 of 2572   100% in    0s   138.30 kB/s  done

$ leofs-adm whereis test/test.1
-------+--------------------------+--------------------------------------+------------+--------------+----------------+----------------+----------------+----------------------------
 del?  |           node           |             ring address             |    size    |   checksum   |  has children  |  total chunks  |     clock      |             when
-------+--------------------------+--------------------------------------+------------+--------------+----------------+----------------+----------------+----------------------------
       | storage_0@127.0.0.1      | c1f2a727683dfde253785da03c684da2     |         3K |   8bd34ef19d | false          |              0 | 5479563687063  | 2017-02-03 09:30:27 +0900

yosuke.hara@P30088:~/dev/projects/leo-project/test/temp$ leofs-adm whereis test/test.2
-------+--------------------------+--------------------------------------+------------+--------------+----------------+----------------+----------------+----------------------------
 del?  |           node           |             ring address             |    size    |   checksum   |  has children  |  total chunks  |     clock      |             when
-------+--------------------------+--------------------------------------+------------+--------------+----------------+----------------+----------------+----------------------------
       | storage_0@127.0.0.1      | 359e50f90be520c9609ce3e4cf9e44b5     |         3K |   8bd34ef19d | false          |              0 | 547956481ec5f  | 2017-02-03 09:30:45 +0900

yosuke.hara@P30088:~/dev/projects/leo-project/test/temp$ leofs-adm whereis test/test.3
-------+--------------------------+--------------------------------------+------------+--------------+----------------+----------------+----------------+----------------------------
 del?  |           node           |             ring address             |    size    |   checksum   |  has children  |  total chunks  |     clock      |             when
-------+--------------------------+--------------------------------------+------------+--------------+----------------+----------------+----------------+----------------------------
       | storage_0@127.0.0.1      | 339b2ec19be159a9ac881d71ba4a76f0     |         3K |   8bd34ef19d | false          |              0 | 5479564b4baea  | 2017-02-03 09:30:48 +0900
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.