swift-get-nodes /etc/swift/container.ring.gz AUTH_42859d61583d48b7aead939fb39cb898/test
Account AUTH_42859d61583d48b7aead939fb39cb898 Container test Object None
Partition 732 Hash b7061894c2e3e95019922044ae5ba1e7
Server:Port Device 10.0.1.200:6201 md0 Server:Port Device 10.0.1.202:6201 md0 Server:Port Device 10.0.1.201:6201 md0 Server:Port Device 10.0.1.203:6201 md0
curl -g -I -XHEAD "http://10.0.1.200:6201/md0/732/AUTH_42859d61583d48b7aead939fb39cb898/test" curl -g -I -XHEAD "http://10.0.1.202:6201/md0/732/AUTH_42859d61583d48b7aead939fb39cb898/test" curl -g -I -XHEAD "http://10.0.1.201:6201/md0/732/AUTH_42859d61583d48b7aead939fb39cb898/test" curl -g -I -XHEAD "http://10.0.1.203:6201/md0/732/AUTH_42859d61583d48b7aead939fb39cb898/test"
Use your own device location of servers: such as "export DEVICE=/srv/node" ssh 10.0.1.200 "ls -lah ${DEVICE:-/srv/node*}/md0/containers/732/1e7/b7061894c2e3e95019922044ae5ba1e7" ssh 10.0.1.202 "ls -lah ${DEVICE:-/srv/node*}/md0/containers/732/1e7/b7061894c2e3e95019922044ae5ba1e7" ssh 10.0.1.201 "ls -lah ${DEVICE:-/srv/node*}/md0/containers/732/1e7/b7061894c2e3e95019922044ae5ba1e7" ssh 10.0.1.203 "ls -lah ${DEVICE:-/srv/node*}/md0/containers/732/1e7/b7061894c2e3e95019922044ae5ba1e7"
note: `/srv/node*` is used as default value of `devices`, the real value is set in the config file on each storage node.
curl -g -I -XHEAD "http://10.0.1.200:6201/md0/732/AUTH_42859d61583d48b7aead939fb39cb898/test" HTTP/1.1 204 No Content X-Backend-Timestamp: 1516147706.22688 X-Container-Object-Count: 111 X-Put-Timestamp: 1516147706.21897 X-Backend-Put-Timestamp: 1516147706.21897 Last-Modified: Wed, 17 Jan 2018 00:08:27 GMT X-Backend-Delete-Timestamp: 0000000000.00000 X-Container-Bytes-Used: 169852754740 X-Timestamp: 1516147706.22688 X-Backend-Storage-Policy-Index: 0 Content-Type: text/plain; charset=utf-8 X-Backend-Status-Changed-At: 1516147706.21897 Content-Length: 0 Date: Tue, 27 Mar 2018 07:32:29 GMT
the command outputs:
curl -i "http://10.0.1.200:6201/md0/732/AUTH_42859d61583d48b7aead939fb39cb898/test?prefix=SW_DVD9_Win_Svr_STD_Core_and_DataCtr_Core_2016_64Bit_Russian_-3_MLF_X21-30363.ISO.part&format=json" -H "Accept: text/plain" -H "Accept: text/plain" HTTP/1.1 200 OK Content-Length: 526 X-Backend-Timestamp: 1516147706.22688 X-Container-Object-Count: 111 X-Put-Timestamp: 1516147706.21897 X-Backend-Put-Timestamp: 1516147706.21897 Last-Modified: Wed, 17 Jan 2018 00:08:27 GMT X-Backend-Delete-Timestamp: 0000000000.00000 X-Container-Bytes-Used: 169852754740 X-Timestamp: 1516147706.22688 X-Backend-Storage-Policy-Index: 0 Content-Type: application/json; charset=utf-8 X-Backend-Status-Changed-At: 1516147706.21897 Date: Tue, 27 Mar 2018 07:32:35 GMT
[{"hash": "50c3bc20c789a917cc0c28e2c8e8f715", "last_modified": "2018-01-17T00:18:18.343570", "bytes": 4096000000, "name": "SW_DVD9_Win_Svr_STD_Core_and_DataCtr_Core_2016_64Bit_Russian_-3_MLF_X21-30363.ISO.part/000000", "content_type": "application/octet-stream"}, {"hash": "3a35f27e249f2cb4750524baa3703439", "last_modified": "2018-01-17T00:18:18.536620", "bytes": 1775667200, "name": "SW_DVD9_Win_Svr_STD_Core_and_DataCtr_Core_2016_64Bit_Russian_-3_MLF_X21-30363.ISO.part/000001", "content_type": "application/octet-stream"}]
swift-get-nodes /etc/swift/ container. ring.gz AUTH_42859d6158 3d48b7aead939fb 39cb898/ test
Account AUTH_42859d6158 3d48b7aead939fb 39cb898
Container test
Object None
Partition 732 019922044ae5ba1 e7
Hash b7061894c2e3e95
Server:Port Device 10.0.1.200:6201 md0
Server:Port Device 10.0.1.202:6201 md0
Server:Port Device 10.0.1.201:6201 md0
Server:Port Device 10.0.1.203:6201 md0
curl -g -I -XHEAD "http:// 10.0.1. 200:6201/ md0/732/ AUTH_42859d6158 3d48b7aead939fb 39cb898/ test" 10.0.1. 202:6201/ md0/732/ AUTH_42859d6158 3d48b7aead939fb 39cb898/ test" 10.0.1. 201:6201/ md0/732/ AUTH_42859d6158 3d48b7aead939fb 39cb898/ test" 10.0.1. 203:6201/ md0/732/ AUTH_42859d6158 3d48b7aead939fb 39cb898/ test"
curl -g -I -XHEAD "http://
curl -g -I -XHEAD "http://
curl -g -I -XHEAD "http://
Use your own device location of servers: -/srv/node* }/md0/container s/732/1e7/ b7061894c2e3e95 019922044ae5ba1 e7" -/srv/node* }/md0/container s/732/1e7/ b7061894c2e3e95 019922044ae5ba1 e7" -/srv/node* }/md0/container s/732/1e7/ b7061894c2e3e95 019922044ae5ba1 e7" -/srv/node* }/md0/container s/732/1e7/ b7061894c2e3e95 019922044ae5ba1 e7"
such as "export DEVICE=/srv/node"
ssh 10.0.1.200 "ls -lah ${DEVICE:
ssh 10.0.1.202 "ls -lah ${DEVICE:
ssh 10.0.1.201 "ls -lah ${DEVICE:
ssh 10.0.1.203 "ls -lah ${DEVICE:
note: `/srv/node*` is used as default value of `devices`, the real value is set in the config file on each storage node.
curl -g -I -XHEAD "http:// 10.0.1. 200:6201/ md0/732/ AUTH_42859d6158 3d48b7aead939fb 39cb898/ test" Timestamp: 1516147706.22688 Object- Count: 111 Put-Timestamp: 1516147706.21897 Delete- Timestamp: 0000000000.00000 Bytes-Used: 169852754740 Storage- Policy- Index: 0 Status- Changed- At: 1516147706.21897
HTTP/1.1 204 No Content
X-Backend-
X-Container-
X-Put-Timestamp: 1516147706.21897
X-Backend-
Last-Modified: Wed, 17 Jan 2018 00:08:27 GMT
X-Backend-
X-Container-
X-Timestamp: 1516147706.22688
X-Backend-
Content-Type: text/plain; charset=utf-8
X-Backend-
Content-Length: 0
Date: Tue, 27 Mar 2018 07:32:29 GMT
the command outputs:
curl -i "http:// 10.0.1. 200:6201/ md0/732/ AUTH_42859d6158 3d48b7aead939fb 39cb898/ test?prefix= SW_DVD9_ Win_Svr_ STD_Core_ and_DataCtr_ Core_2016_ 64Bit_Russian_ -3_MLF_ X21-30363. ISO.part& format= json" -H "Accept: text/plain" -H "Accept: text/plain" Timestamp: 1516147706.22688 Object- Count: 111 Put-Timestamp: 1516147706.21897 Delete- Timestamp: 0000000000.00000 Bytes-Used: 169852754740 Storage- Policy- Index: 0 Status- Changed- At: 1516147706.21897
HTTP/1.1 200 OK
Content-Length: 526
X-Backend-
X-Container-
X-Put-Timestamp: 1516147706.21897
X-Backend-
Last-Modified: Wed, 17 Jan 2018 00:08:27 GMT
X-Backend-
X-Container-
X-Timestamp: 1516147706.22688
X-Backend-
Content-Type: application/json; charset=utf-8
X-Backend-
Date: Tue, 27 Mar 2018 07:32:35 GMT
[{"hash": "50c3bc20c789a9 17cc0c28e2c8e8f 715", "last_modified": "2018-01- 17T00:18: 18.343570" , "bytes": 4096000000, "name": "SW_DVD9_ Win_Svr_ STD_Core_ and_DataCtr_ Core_2016_ 64Bit_Russian_ -3_MLF_ X21-30363. ISO.part/ 000000" , "content_type": "application/ octet-stream" }, {"hash": "3a35f27e249f2c b4750524baa3703 439", "last_modified": "2018-01- 17T00:18: 18.536620" , "bytes": 1775667200, "name": "SW_DVD9_ Win_Svr_ STD_Core_ and_DataCtr_ Core_2016_ 64Bit_Russian_ -3_MLF_ X21-30363. ISO.part/ 000001" , "content_type": "application/ octet-stream" }]