Righe di comando per l'operazione Snapshot
I comandi SnapDrive per UNIX vengono utilizzati per le operazioni Snapshot.
La seguente tabella fornisce diverse opzioni della riga di comando per le operazioni Snapshot.
Operazione | Opzioni della riga di comando |
---|---|
Creare |
`snapdrive snap create [-lun |
-dg |
-vg |
-hostvol |
-lvol |
-fs] file_spec [file_spec …] [{-lun |
-dg |
-vg |
-hostvol |
-lvol |
-fs} file_spec [file_spec …] …] -snapname snap_name [-force [-noprompt]] [-unrelated] [-fstype type] [-vmtype type]` |
Mostra/Elenca |
`snapdrive snap { show |
list } -filervol filervol [filervol…][-verbose]` |
`snapdrive snap { show |
list } [-verbose] {-vg |
-dg |
-fs |
-lvol |
-hostvol} file_spec [file_spec…] [-fstype type] [-vmtype type]` |
|
`snapdrive snap{show |
list} [-verbose] [-lun |
-vg |
-dg |
-fs |
-lvol |
-hostvol] file_spec [file_spec…]` |
Connettersi |
`snapdrive snap connect -lun s_lun_name d_lun_name [[-lun] s_lun_name d_lun_name …] -snapname long_snap_name [-split] [-clone {lunclone |
optimal |
unrestricted}] [-prefixfvprefixstr] [-verbose]` NOTE: In un comando SnapDrive SNAP Connect, il nome del LUN deve essere nel formato |
`snapdrive snap connect fspec_set [fspec_set…] -snapname long_snap_name [-autoexpand] [-autorename] [-nopersist] [-mntopts options] [{-reserve |
-noreserve}] [-readonly] [-split] [-clone {lunclone |
optimal |
unrestricted}] [-prefixfv prefixstr] [-verbose]` [NOTE] ==== L'argomento fspec_set ha il seguente formato: `[-vg |
-dg |
-fs |
-lvol |
-hostvol] src_file_spec[dest_file_spec] [{-destdg |
-destvg} dgname] [{-destlv |
-desthv} lvname]` ==== |
Rinominare |
|
Ripristinare |
`snapdrive snap restore [-lun |
-dg |
-vg |
-hostvol |
-lvol |
-fs |
-file] file_spec [file_spec …] [{-lun |
-dg |
-vg |
-hostvol |
-lvol |
-fs |
-file} file_spec [file_spec …] …] -snapname snap_name [-force [-noprompt]] [-mntopts options][{-reserve |
-noreserve}] [-vbsr [preview |
execute]]` |
Scollegare |
|
`snapdrive snap disconnect {-dg |
-vg |
-hostvol |
-lvol |
-fs} file_spec [file_spec …] [{-dg |
-vg |
-hostvol |
-lvol |
-fs} file_spec [file_spec …] …] [-full] [-fstype type] [-vmtype type] [-split]` |
Eliminare |
|