Snapdrive for Unix
简体中文版经机器翻译而成,仅供参考。如与英语版出现任何冲突,应以英语版为准。

存储配置命令行

贡献者

某些 SnapDrive for UNIX 命令用于存储配置。

以下命令行选项用于存储配置操作:

操作 命令行选项

创建

SnapDrive storage create-lun long_lun_name [lun_name …​] -lunsize size [ { -dg _ -vg } dg_name] ( -igroup ig_name _ ) ] ( { -reserve _ noreserve } ))【 -fstype _type_vm_type]`

SnapDrive storage create { -lvol _ -hostvol } file_spec { -dg _ -vg } dg_name] { -dgsize _ -vgsize } size-filervol lor_filer_path { -noreserve _ -reserve } ] 【 -fstype type】 【 -vmtype type_type 】`

SnapDrive storage create -fs file_spec -nolvm ( -fsopts options ) "-mntopts options] ( -noperatest] ) { -lun long_lun_name _ - -filervol long_filer_path } -lunsize size ( -igroup vm_name _ )( _ig_name …​ ) _noresype` _

SnapDrive storage create host_lvm_fspec -filervol lor_filer_path -dgsize size "-igroup ig_name [ig_name …​]] [ { -reserve _ -noreserver] }`

SnapDrive storage create host_lvm_fspec -lun long_lun_name [lun_name …​] -lunsize size [-igroup ig_name [ig_name …​]] [ { -reserve

-noreserve } ]`

[NOTE] ==== 您可以根据要创建的存储类型对 ` -file_specs` 参数使用任意格式。(请记住, ` -DG` 是 ` -vg` 的同义词, ` -hostvol` 是 ` -lvol` 的同义词。)

要直接在 LUN 上创建文件系统,请使用以下格式: ` -fs file_spec ( -nolvm -fs type) "-fsops options] ( -mntopts options) ( -vmtype type)`

要创建使用磁盘组或主机卷的文件系统,请使用以下格式: ` -fs file_spec ( -fstype type) [-fsopts options] ( -mntops options) [-hostvol file_spec] ( -dg dg_name) ] ( -vmtype type)`

要创建逻辑卷或主机卷,请使用以下格式: ` [-hostvol file_spec] [-dg dg_name] [-fstype type] [-vmtype type]`

要创建磁盘组,请使用以下格式: ` -dg dg_name [-fstype type] [-vmtype type]`

====

连接

SnapDrive storage connect -fs file_spec-nolvm -lun lun_name "-igroup ig_name _ [_ig_name …​]] [-noperisure] [-mntopts options] [-fstype type] [-vmtype type]`

SnapDrive storage connect -fs file_spec -hostvol file_spec -lun lun_name [lun_name …​] [-igroup ig_name [ig_name …​]]]-noperuse] [-mntopts options] [-fstype type] [-vmtype type_type]`

SnapDrive 存储连接 -lun lun_name [lun_name …​]-igroup ig_name [ig_name …​]-vmtype type]`

SnapDrive 存储连接 -lun lun_name lun_name…​]-vmtype type]`

SnapDrive storage connect -fs_file_spec_ { -hostvol _ -lvol } file_spec -lun lon_name [lun_name…​] 【 -noperesist] 【 -mntopts 选项】【 -fstype type] 【 -vmtype type] 】`

断开连接

SnapDrive storage disconnect -lun long_lun_name [lun_name…​] [-vmtype type]`

SnapDrive 存储断开连接 { -vg _ -dg _ -fs _ -lvol _ -hostvol } file_spec [file_spec_]] { -vg _ -dg _ -fs _ lvol _ -hostvol } file_spec … ] …… ] 【 -full】 【 -fstype type】 【 -vmtype type】`

调整大小

SnapDrive 存储调整大小 { -dg _ -vg } file_spec [file_spec …​] { -growby _ - -growto } size [-addlun_ [-igroup ig_name [ig_name …​]]] { -reseserve _ -noreserve } ]] 【 -fstype type _typetypetype_<_<__`

显示 / 列表

SnapDrive 存储 { show

list } -filer filername [filername …​] [-verbose ] [-quiet ] [-capabilities ]`

SnapDrive 存储 { show

list } -filervol lor_filer_path [filer_path…​] 【 -verbose 】【 -quiet 】【 -capabilities 】`

SnapDrive storage { show

list } { -all

device } { -capabilities }`

SnapDrive storage show [-verbose ] { -filer filername __filername…​]

-filervol volname [volname…​] } { -capabilities }`

SnapDrive 存储 { show

list } -lun long_lun_name [lun_name …​] [-verbose ] [-quiet ] [-status] [-capitalies]`

SnapDrive 存储 { show` list } { -vg

-dg

-fs

-lvol hostvol } _file_spec [file_spec…​] { -vg _ -dg _ -fs _ -lvol _ -hostvol } _file_spec [file_spec]] vm-verbes] 【 -verbytype_status_<sttype_<status__capabilities 】

SnapDrive 存储 { show

list } { -filer filer_name [filer_name …​] _ -filervol lor_filer_path _filer_path _ ] } ( -verbose )【功能】( -quiet )`

SnapDrive 存储 { show

list } -lun lon_name [lun_name …​] 【详细信息】【 -status] 【 -fstype type】 【 -vmtype type】 【功能】【静默】`

删除

SnapDrive 存储删除( -lun ) long_lun_name ( lun_name ) 【 -fstype type】 【 -vmtype 】`

  • 相关信息 *