$ leofs-adm status
[System Confiuration]
-----------------------------------+----------
Item | Value
-----------------------------------+----------
Basic/Consistency level
-----------------------------------+----------
system version | 1.2.16
cluster Id | leofs_1
DC Id | dc_1
Total replicas | 2
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 | 3923d007
previous ring-hash | 3923d007
-----------------------------------+----------
[State of Node(s)]
-------+--------------------------+--------------+----------------+----------------+----------------------------
type | node | state | current ring | prev ring | updated at
-------+--------------------------+--------------+----------------+----------------+----------------------------
S | [email protected] | running | 3923d007 | 3923d007 | 2015-12-15 16:15:34 +0900
S | [email protected] | running | 3923d007 | 3923d007 | 2015-12-15 16:15:34 +0900
S | [email protected] | running | 3923d007 | 3923d007 | 2015-12-15 16:15:34 +0900
S | [email protected] | running | 3923d007 | 3923d007 | 2015-12-15 16:15:34 +0900
G | [email protected] | running | 3923d007 | 3923d007 | 2015-12-15 16:15:38 +0900
-------+--------------------------+--------------+----------------+----------------+----------------------------
$ s3cmd put ~/Downloads/leofs-astra-for-rakuten-tech-final-beta.pdf s3://test
WARNING: Module python-magic is not available. Guessing MIME types based on file extensions.
'/Users/yosuke.hara/Downloads/leofs-astra-for-rakuten-tech-final-beta.pdf' -> 's3://test/leofs-astra-for-rakuten-tech-final-beta.pdf' [1 of 1]
13265327 of 13265327 100% in 0s 43.97 MB/s done
$ leofs-adm whereis test/leofs-astra-for-rakuten-tech-final-beta.pdf
-------+--------------------------+--------------------------------------+------------+--------------+----------------+----------------+----------------------------
del? | node | ring address | size | checksum | # of chunks | clock | when
-------+--------------------------+--------------------------------------+------------+--------------+----------------+----------------+----------------------------
| [email protected] | 28150dd2dafe750a5bdd6f2a4ef51ab9 | 12954K | 4fdc75036e | 3 | 526ea901a42c8 | 2015-12-15 16:16:05 +0900
| [email protected] | 28150dd2dafe750a5bdd6f2a4ef51ab9 | 12954K | 4fdc75036e | 3 | 526ea901a42c8 | 2015-12-15 16:16:05 +0900
$ leofs-adm update-acl test 05236 public-read
OK
$ leofs-adm get-buckets
cluster id | bucket | owner | permissions | created at
-------------+----------+-------------+----------------------------------+---------------------------
leofs_1 | test | _test_leofs | Me(full_control), Everyone(read) | 2015-12-15 16:15:40 +0900
$ curl --range 10000000-12000000 http://test.localhost:8080/leofs-astra-for-rakuten-tech-final-beta.pdf > 1.test
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1953k 100 1953k 0 0 37.3M 0 --:--:-- --:--:-- --:--:-- 38.1M
$ ls -l 1.test
-rw-r--r-- 1 yosuke.hara INTRA\Domain Users 2000001 Dec 15 16:18 1.test
Created
December 15, 2015 07:22
-
-
Save yosukehara/c040865abcef73555825 to your computer and use it in GitHub Desktop.
[LeoFS] issues with uploading/downloading multipart data <https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/leoproject_leofs/k7jAppwuovs/D7ikPZKtBgAJ>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment