Snapdrive for Unix
日本語は機械翻訳による参考訳です。内容に矛盾や不一致があった場合には、英語の内容が優先されます。

LUN 以外の共有ストレージエンティティの Snapshot コピーへの接続

共同作成者

lun snap connect コマンドを使用すると、 SnapDrive 以外の共有ストレージ・エンティティの Snapshot コピーに接続できます。

手順
  1. 次のコマンドを入力します。

    * SnapDrive snap connect_fspec_set_[fspec_set…​] -snapname_long_snap_name_[-deviceType shareed] [-split] *

    この構文では '`fspec_set`{-dg|-fs}_src_file_spec_[ddest_file_spec][-ddestdG_dgname_]'` を指定します

次の例では、元のホストクラスタ上の共有ストレージエンティティを含む Snapshot コピーに接続します。この処理は非クラスタマスターノードから実行されますが、コマンドはマスターノードに出荷されて実行されます。

# snapdrive snap connect -fs /mnt/sfortesting /mnt/sfortesting2 -
snapname f270-
197-109:/vol/vol2:testsfarcsnap -devicetype shared -autorename
Execution started on cluster master: sfrac-57
connecting sfortesting_SdDg:
LUN copy sfortesting_SdLun_0 ... created
(original: f270-197-109:/vol/vol2/sfortesting_SdLun)
mapping new lun(s) ... done
discovering new lun(s) ... done
Connecting cluster node: sfrac-58 mapping lun\(s\) ... done
discovering lun(s) ... done
LUN f270-197-109:/vol/vol2/sfortesting_SdLun_0 connected
- device filename(s): /dev/vx/dmp/c3t0d22s2
Importing sfortesting_SdDg_0
Activating hostvol sfracvxfstestfs_SdHv_0
Successfully connected to snapshot f270-197-
109:/vol/vol2:testsfarcsnap
disk group sfortesting_SdDg_0 containing host volumes
sfortesting_SdHv_0 (filesystem: /mnt/sfortesting2)

次の例では、元にならないホストクラスタ上の共有ストレージエンティティを含む Snapshot コピーに接続します。この処理は非クラスタマスターノードから実行されますが、コマンドはマスターノードに出荷されて実行されます。

# snapdrive snap connect -fs /mnt/sfortesting -snapname f270-197-
109:/vol/vol2:testsfarcsnap -devicetype shared
Execution started on cluster master: sfrac-57
connecting sfortesting_SdDg:
LUN copy sfortesting_SdLun_0 ... created
(original: f270-197-109:/vol/vol2/sfortesting_SdLun)
Step Action
184 Connecting to a Snapshot copy
mapping new lun(s) ... done
discovering new lun(s) ... done
Connecting cluster node: sfrac-58
mapping lun(s) ... done
discovering lun(s) ... done
LUN f270-197-109:/vol/vol2/sfortesting_SdLun_0 connected
- device filename(s): /dev/vx/dmp/c3t0d1s2
Importing sfortesting_SdDg
Activating hostvol sfortesting_SdHv
Successfully connected to snapshot f270-197-
109:/vol/vol2:testsfarcsnap
disk group sfortesting_SdDg containing host volumes
sfortesting_SdHv (filesystem: /mnt/sfortesting)