Skip to main content
Snapdrive for Unix
本繁體中文版使用機器翻譯,譯文僅供參考,若與英文版本牴觸,應以英文版本為準。

連線至包含LUN的Snapshot複本

貢獻者

您可以使用「SnapDrive Snapsnap Connect」命令連線至包含LUN的Snapshot複本。

步驟
  1. 輸入下列命令語法以連線至包含LUN的Snapshot複本:

    hy* SnapDrive 快照連接-LUN s_lun_name d_lun_name[-lun]s_lun_name d_lun_name…​ -snapname long快照名稱[-igroup ig_name[ig_name…​] [-split]*

    註 _s_LUN_name_和_d_LUN_name_的格式應為LUN_name或qtree名稱/LUN_name。

適用於UNIX的可複製您指定的LUN、並將其連線至新位置。SnapDrive

以下範例將hornet/vol/vol1/tuesdaysnapshot中的LUN mylun1連接到mylun1copy:

# ./snapdrive snap connect -lun mylun1 mylun1copy -snapname
hornet:/vol/vol1:tuesdaysnapshot
connecting hornet:/vol/vol1/mylun1:
LUN copy mylun1copy ... created
(original: hornet:/vol/vol1/mylun1) mapping new lun(s) ... done
discovering new lun(s) ... done

以下範例分別將兩個LUN(mylun1和mylun2)連接至mylun1copy和mylun2copy:

# ./snapdrive snap connect -lun mylun1 mylun1copy -lun mylun2
mylun2copy -snapname hornet:/vol/vol1:tuesdaysnapshot
connecting hornet:/vol/vol1/mylun1:
LUN copy mylun1copy ... created
(original: hornet:/vol/vol1/mylun1)
mapping new lun(s) ... done
connecting hornet:/vol/vol1/mylun2:
LUN copy mylun2copy ... created
(original: hornet:/vol/vol1/mylun2)
mapping new lun(s) ... done
discovering new lun(s) ... done