本繁體中文版使用機器翻譯,譯文僅供參考,若與英文版本牴觸,應以英文版本為準。
準備使用Sun Volume Manager移轉Solaris主機LUN
貢獻者
在使用Sun Volume Manager將Solaris主機資料LUN從ONTAP 以7-Mode運作的VMware移轉至叢集ONTAP 式VMware之前、您必須先收集轉換程序所需的資訊。
此工作適用於複本型轉換和無複本轉換。
步驟
-
顯示LUN以識別要轉換的LUN名稱:
’* LUN show*’
fas8040-shu01> lun show /vol/ufs/ufs1 5g (5368709120) (r/w, online, mapped) /vol/ufs/ufs2 5g (5368709120) (r/w, online, mapped) /vol/zfs/zfs1 6g (6442450944) (r/w, online, mapped) /vol/zfs/zfs2 6g (6442450944) (r/w, online, mapped)
-
在主機上、找出LUN的裝置檔案名稱:
「#sanlun LUN show*」
設備文件名列在“設備文件名”列中。
# sanlun lun show controller(7mode)/ device host lun vserver(Cmode) lun-pathname filename adapter protocol size mode -------------------------------------------------------------------------------------------------------------------------- fas8040-shu01 /vol/zfs/zfs2 /dev/rdsk/c0t60A98000383035356C2447384D396550d0s2 scsi_vhci0 FCP 6g 7 fas8040-shu01 /vol/zfs/zfs1 /dev/rdsk/c0t60A98000383035356C2447384D39654Ed0s2 scsi_vhci0 FCP 6g 7 fas8040-shu01 /vol/ufs/ufs2 /dev/rdsk/c0t60A98000383035356C2447384D39654Ad0s2 scsi_vhci0 FCP 5g 7 fas8040-shu01 /vol/ufs/ufs1 /dev/rdsk/c0t60A98000383035356C2447384D396548d0s2 scsi_vhci0 FCP 5g
-
列出並記錄SVM、然後取得與SVM相關的磁碟:
《元集》
"元集-s Set-name
# metaset Set name = svm, Set number = 1 Host Owner Solarisx2-shu04 Yes Drive Dbase /dev/dsk/c0t60A98000383035356C2447384D39654Ad0 Yes /dev/dsk/c0t60A98000383035356C2447384D396548d0 Yes
# metastat -s svm svm/d2: Concat/Stripe Size: 10452992 blocks (5.0 GB) Stripe 0: Device Start Block Dbase Reloc /dev/dsk/c0t60A98000383035356C2447384D396548d0s0 0 No Yes svm/d1: Concat/Stripe Size: 10452992 blocks (5.0 GB) Stripe 0: Device Start Block Dbase Reloc /dev/dsk/c0t60A98000383035356C2447384D39654Ad0s0 0 No Yes Device Relocation Information: Device Reloc Device ID /dev/dsk/c0t60A98000383035356C2447384D396548d0 Yes id1,sd@n60a98000383035356c2447384d396548 /dev/dsk/c0t60A98000383035356C2447384D39654Ad0 Yes id1,sd@n60a98000383035356c2447384d39654a
-
列出並記錄掛載點:
‘* df–ah*’
# df -ah Filesystem size used avail capacity Mounted on /dev/md/svm/dsk/d1 4.9G 1.5G 3.4G 31% /d1 /dev/md/svm/dsk/d2 4.9G 991M 3.9G 20% /d2