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

連線至包含LUN的Snapshot複本

貢獻者

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

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

    hy* SnapDrive fsnap connect -lun s_lun_named_lun_name[-lun]s_lun_named_lun_name …​-snapname long快照名稱[-igroup ig_name[ig_name…​]][-sepoid]*

    註 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

下列範例將LUN lun1_0連接至Snapshot lech:/vol/vol1:rt:

snapdrive snap connect -fs /mnt/fs /mnt/fs1  -snapname lech:/vol/vol1:rrt
connecting /mnt/fs:
   LUN copy lun1_0 ... created
     (original: lech:/vol/vol1/lun1)
   exporting new lun(s) to Guest OS ... done
   discovering new lun(s) ... done
Successfully connected to snapshot lech:/vol/vol1:rrt
        file system: /mnt/fs1