Lignes de commande de provisionnement du stockage
Certaines commandes SnapDrive pour UNIX sont utilisées pour le provisionnement du stockage.
Les options de ligne de commande suivantes sont utilisées pour les opérations de provisionnement du stockage :
Fonctionnement | Option de ligne de commandes |
---|---|
Création |
`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 [-devicetype {shared |
dedicated}] [{-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 }] [-devicetype {shared |
dedicated}] [-fstype type] [-vmtype type]` |
`snapdrive storage create host_lvm_fspec -filervol long_filer_path -dgsize size [-igroup ig_name [ig_name …]] [{ -reserve |
-noreserve }] [-devicetype {shared |
dedicated}]` |
`snapdrive storage create host_lvm_fspec -lun long_lun_name [lun_name …] -lunsize size [-igroup ig_name [ig_name …]] [{ -reserve |
-noreserve }]` [NOTE]
====
Vous pouvez utiliser n'importe quel format pour le Pour créer un système de fichiers directement sur une LUN, utilisez le format suivant : Pour créer un système de fichiers utilisant un groupe de disques ou un volume hôte, utilisez le format suivant : Pour créer un volume logique ou hôte, utilisez le format suivant : Pour créer un groupe de disques, utilisez le format suivant : ==== |
Connectez-vous |
`snapdrive storage connect -fs file_spec -nolvm -lun long_lun_name [-igroup ig_name [ig_name …]] [-nopersist] [-mntopts options] [-devicetype {shared |
dedicated}][-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] [-devicetype {shared |
dedicated}][-fstype type] [-vmtype type]` |
|
`snapdrive storage connect -lun long_lun_name [lun_name…][-devicetype {shared |
dedicated}][-vmtype type]` |
`snapdrive storage connect -fs file_spec {-hostvol |
-lvol} file_spec -lun long_lun_name [lun_name…] [-devicetype {shared |
dedicated}] [-nopersist] [-mntopts options] [-fstype type] [-vmtype type]` |
Déconnexion |
`snapdrive storage disconnect -lun long_lun_name [lun_name…] [-devicetype {shared |
dedicated}][-vmtype type]` |
`snapdrive storage disconnect {-vg |
-dg |
-fs |
-lvol |
-hostvol} file_spec [file_spec …] [{-vg |
-dg |
-fs |
-lvol |
-hostvol} file_spec …] …] [-full] [-devicetype {shared |
dedicated}][-fstype type] [-vmtype type]` |
Redimensionner |
`snapdrive storage resize {-dg |
-vg} file_spec [file_spec …]{-growby |
-growto} size [-addlun [-igroup ig_name [ig_name …]]] [{ -reseserve |
-noreserve }]] [-fstype type] [-vmtype type]` |
Afficher/liste |
`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} [-devicetype {shared |
dedicated}] [-capabilities]` |
`snapdrive storage show [-verbose] {-filer filername [filername…] |
-filervol volname [volname…]} [-devicetype {shared |
dedicated}] [-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] [-devicetype {shared |
dedicated}] [-capabilities] [-quiet]` |
`snapdrive storage { show |
list } -lun long_lun_name [lun_name …] [-verbose] [-status] [-fstype type] [-vmtype type] [-capabilities] [-quiet]` |
Supprimer |
`snapdrive storage delete [-lun] long_lun_name [lun_name…] [-devicetype {shared |
dedicated}] [-fstype type] [-vmtype type]` |
`snapdrive storage delete [-vg |
-dg |
-fs |
-lvol |
-hostvol] file_spec [file_spec …] [{-vg |
-dg |
-fs |
-lvol |
-hostvol} file_spec [file_spec …] …] [-full] [-devicetype {shared |
Informations connexes