“1+X中级B卷:对象存储管理”的版本间的差异

来自CloudWiki
跳转至: 导航搜索
操作步骤
 
第5行: 第5行:
 
==操作步骤==
 
==操作步骤==
  
 
+
[root@xiandian ~]# openstack container create examtest
  
 
  <nowiki>
 
  <nowiki>
  
 
    
 
    
[root@xiandian ~]# openstack container create examtest
+
 
  
 
+---------------------------------------+-----------+------------------------------------+
 
+---------------------------------------+-----------+------------------------------------+
第21行: 第21行:
  
 
+---------------------------------------+-----------+------------------------------------+
 
+---------------------------------------+-----------+------------------------------------+
 +
</nowiki>
  
 
[root@xiandian ~]# openstack container list
 
[root@xiandian ~]# openstack container list
 +
 +
<nowiki>
  
 
+----------+
 
+----------+
第33行: 第36行:
  
 
+----------+
 
+----------+
 +
</nowiki>
  
 
[root@xiandian ~]# openstack object create examtest aaa.txt
 
[root@xiandian ~]# openstack object create examtest aaa.txt
 +
 +
<nowiki>
  
 
+---------+-----------+----------------------------------+
 
+---------+-----------+----------------------------------+
第45行: 第51行:
  
 
+---------+-----------+----------------------------------+
 
+---------+-----------+----------------------------------+
 +
</nowiki>
  
 
[root@xiandian ~]# openstack object list examtest
 
[root@xiandian ~]# openstack object list examtest
 +
 +
<nowiki>
  
 
+---------+
 
+---------+

2020年11月24日 (二) 14:20的最新版本

题目

使用提供的“all-in-one”虚拟机,使用openstack命令,创建名为examtest的容器并查询,上传一个aaa.txt(可自行创建)文件到这个容器中并查询。依次将操作命令和返回结果以文本形式提交到答题框。

参考实训:Cinder、Swift运维

操作步骤

[root@xiandian ~]# openstack container create examtest


   


+---------------------------------------+-----------+------------------------------------+

| account | container | x-trans-id |

+---------------------------------------+-----------+------------------------------------+

| AUTH_0ab2dbde4f754b699e22461426cd0774 | examtest | tx9e7b54f8042d4a6ca5ccf-005a93daf3 |

+---------------------------------------+-----------+------------------------------------+

[root@xiandian ~]# openstack container list


+----------+

| Name |

+----------+

| examtest |

+----------+

[root@xiandian ~]# openstack object create examtest aaa.txt


+---------+-----------+----------------------------------+

| object | container | etag |

+---------+-----------+----------------------------------+

| aaa.txt | examtest | 45226aa24b72ce0ccc4ff73eefe2e26f |

+---------+-----------+----------------------------------+

[root@xiandian ~]# openstack object list examtest


+---------+

| Name |

+---------+

| aaa.txt |

+---------+