xiaoyuyao commented on a change in pull request #475: HDDS_2743. shell/VolumeCommands.md translation URL: https://github.com/apache/hadoop-ozone/pull/475#discussion_r369863722
########## File path: hadoop-hdds/docs/content/shell/VolumeCommands.zh.md ########## @@ -0,0 +1,107 @@ +--- +title: 卷命令 +weight: 2 +summary: 卷命令帮助你管理卷的生命周期 +--- +<!--- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +Volume 命令通常需要管理员权限,ozone shell 支持以下卷命令: + + * [创建](#创建) + * [删除](#删除) + * [查看](#查看) + * [列举](#列举) + * [更新](#更新) + +### 创建 + +管理员可以通过 `volume create` 命令创建一个卷并分配给一个用户。 + +***参数:*** + +| 参数名 | 说明 | +|--------------------------------|-----------------------------------------| +| -q, \-\-quota | 可选,指明该卷在 Ozone 集群所能使用的最大空间,即份额。 | Review comment: 份额=》限额 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
