跳到主要内容

配置卷配置选项

可将卷配置为精简配置、厚配置或半厚配置。

关于本任务

-space-slo 选项设置为 thick 可确保:

  • 在聚合中预分配整个卷。不能使用 volume createvolume modify 命令配置卷的 -space-guarantee 选项。

  • 保留覆盖所需的全部空间。不能使用 volume modify 命令配置卷的 -fractional-reserve 选项。

-space-slo 选项设置为 semi-thick 可确保:

  • 在聚合中预分配整个卷。不能使用 volume createvolume modify 命令配置卷的 -space-guarantee 选项。

  • 不为覆盖保留任何空间。可使用 volume modify 命令配置卷的 -fractional-reserve 选项。

  • 启用快照拷贝自动删除。

配置卷配置选项:volume create -vserver vserver_name -volume volume_name -aggregate aggregate_name -space-slo none|thick|semi-thick -space-guarantee none|volume

对于全闪存阵列系统和非全闪存阵列 DP 卷,-space-guarantee 选项默认为 none 。对于其他情况,默认值为 volume 。对于现有 FlexVol 卷,请使用 volume modify 命令配置配置选项。

示例

以下命令在 SVM vs1 上配置 vol1,以实现精简配置:

cluster1::> volume create –vserver vs1 -volume vol1 -space-guarantee none
示例

以下命令在 SVM vs1 上配置 vol1,以实现厚配置:

cluster1::> volume create –vserver vs1 -volume vol1 -space-slo thick
示例

以下命令在 SVM vs1 上配置 vol1,以实现半厚配置:

cluster1::> volume create –vserver vs1 -volume vol1 -space-slo semi-thick