openstack云存储管理命令
时间: 2023-10-16 21:06:47 浏览: 143
1. 创建存储容器:openstack container create <container_name>
2. 查看容器列表:openstack container list
3. 查看容器详情:openstack container show <container_name>
4. 删除容器:openstack container delete <container_name>
5. 上传文件到容器:openstack object create <container_name> <file_path>
6. 下载容器中的文件:openstack object save <container_name> <file_name>
7. 查看容器中的文件列表:openstack object list <container_name>
8. 查看容器中的文件详情:openstack object show <container_name> <object_name>
9. 删除容器中的文件:openstack object delete <container_name> <object_name>
10. 修改容器权限:openstack container set --property access=<public|private> <container_name>
11. 查看容器权限:openstack container show <container_name> | grep access
12. 查看容器配额:openstack quota show --class container
13. 修改容器配额:openstack quota set --class container <quota_option> <value>
14. 查看对象存储服务配额:openstack quota show --class object-store
15. 修改对象存储服务配额:openstack quota set --class object-store <quota_option> <value>
阅读全文