Skip to main content
Snapdrive for Unix
La versione in lingua italiana fornita proviene da una traduzione automatica. Per eventuali incoerenze, fare riferimento alla versione in lingua inglese.

Righe di comando per il provisioning dello storage

Collaboratori

Alcuni comandi SnapDrive per UNIX vengono utilizzati per il provisioning dello storage.

Le seguenti opzioni della riga di comando vengono utilizzate per le operazioni di provisioning dello storage:

Operazione Opzione della riga di comando

Creare

`snapdrive storage create-lun long_lun_name [lun_name …​] -lunsize size [{ -dg

-vg } dg_name] [-igroup ig_name [ig_name …​]] [{ -reserve

-noreserve }][-fstype type] [-vmtype type]`

`snapdrive storage create {-lvol

-hostvol} file_spec [{-dg

-vg} dg_name]{-dgsize

-vgsize} size-filervol long_filer_path [{-noreserve

-reserve}] [-fstype type] [-vmtype type]`

`snapdrive storage create -fs file_spec -nolvm [-fsopts options ] [-mntopts options] [-nopersist] { -lun long_lun_name

-filervol long_filer_path } -lunsize size [-igroup ig_name [ig_name …​]] [{ -reserve

-noreserve }] [-fstype type] [-vmtype type]`

`snapdrive storage create host_lvm_fspec -filervol long_filer_path -dgsize size [-igroup ig_name [ig_name …​]] [{ -reserve

-noreserve }]`

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

-noreserve }]`

[NOTE] ==== È possibile utilizzare qualsiasi formato per -file_spec a seconda del tipo di storage che si desidera creare. (Ricordate che -dg è un sinonimo per -vg, e. -hostvol è un sinonimo per -lvol.)

Per creare un file system direttamente su un LUN, utilizzare questo formato: -fs file_spec [-nolvm -fs type] [-fsops options] [-mntopts options] [-vmtype type]

Per creare un file system che utilizza un gruppo di dischi o un volume host, utilizzare questo formato: -fs file_spec [-fstype type] [-fsopts options] [-mntops options] [-hostvol file_spec] [-dg dg_name] [-vmtype type]

Per creare un volume logico o host, utilizzare questo formato: [-hostvol file_spec] [-dg dg_name] [-fstype type] [-vmtype type]

Per creare un gruppo di dischi, utilizzare questo formato: -dg dg_name [-fstype type] [-vmtype type]

====

Connettersi

snapdrive storage connect -fs file_spec -nolvm -lun long_lun_name [-igroup ig_name [ig_name …​]] [-nopersist] [-mntopts options] [-fstype type] [-vmtype type]

snapdrive storage connect -fs file_spec -hostvol file_spec -lun long_lun_name [lun_name …​] [-igroup ig_name [ig_name …​]][-nopersist] [-mntopts options] [-fstype type] [-vmtype type]

snapdrive storage connect -lun long_lun_name [lun_name …​][-igroup ig_name [ig_name …​]][-vmtype type]

snapdrive storage connect -lun long_lun_name [lun_name…​][-vmtype type]

`snapdrive storage connect -fs_file_spec_ {-hostvol

-lvol} file_spec -lun long_lun_name [lun_name…​] [-nopersist] [-mntopts options] [-fstype type] [-vmtype type]`

Scollegare

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

`snapdrive storage disconnect {-vg

-dg

-fs

-lvol

-hostvol} file_spec [file_spec …​] [{-vg

-dg

-fs

-lvol

-hostvol} file_spec …​] …​] [-full] [-fstype type] [-vmtype type]`

Ridimensionare

`snapdrive storage resize {-dg

-vg} file_spec [file_spec …​]{-growby

-growto} size [-addlun [-igroup ig_name [ig_name …​]]] [{ -reseserve

-noreserve }]] [-fstype type] [-vmtype type]`

Mostra/Elenca

`snapdrive storage { show

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

`snapdrive storage { show

list } -filervol long_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 storage { show

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

`snapdrive storage { show

list } { -vg

-dg

-fs

-lvol

-hostvol } file_spec [file_spec …​] [{ -vg

-dg

-fs

-lvol

-hostvol } file_spec [file_spec …​]] [-verbose] [-quiet [-fstype type] [-vmtype type] [-status] [-capabilities]`

`snapdrive storage { show

list } { -filer filer_name [filer_name …​]

-filervol long_filer_path [filer_path …​] } [-verbose] [-capabilities] [-quiet]`

`snapdrive storage { show

list } -lun long_lun_name [lun_name …​] [-verbose] [-status] [-fstype type] [-vmtype type] [-capabilities] [-quiet]`

Eliminare

snapdrive storage delete [-lun] long_lun_name [lun_name…​] [-fstype type] [-vmtype type]

`snapdrive storage delete [-vg

-dg

-fs

-lvol

-hostvol] file_spec [file_spec …​] [{-vg

-dg

-fs

-lvol

Informazioni correlate