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

在LUN上建立檔案系統、並自動設定LUN

貢獻者

您可以使用SnapDrive 適用於UNIX的功能在LUN上建立檔案系統。適用於UNIX的可自動建立相關的LUN。SnapDrive

步驟
  1. 在命令列輸入下列命令:

    hy* SnapDrive fssstorage create -fs file_spec-nolvm [-fstype][-fsopts options][-mntopts options][-nopersist]-filervol long filer_path-lunsize size[-igroup ig_name [ig_name …​]]__-{-repre -nes_nest*

    適用於UNIX的作業系統會建立您指定的檔案系統、並在您指定的儲存系統上建立LUN。SnapDrive它會執行與主機準備和探索LUN相關的所有工作、以及對應LUN並將其連接至主機實體。

範例:

直接在LUN上建立100-MB檔案系統:

# snapdrive storage create -fs /mnt/acct1 -filervol acctfiler:/vol/vol1 -lunsize 100m -nolvm

在沒有任何Volume Manager的原始LUN上建立檔案系統:

# snapdrive storage create -fs /mnt/vxfs2 -fstype vxfs -lun
snoopy:/vol/vol1/lunVxvm2 -lunsize 50m -nolvm
LUN snoopy:/vol/vol1/lunVxvm2 ... created
mapping new lun(s) ... done
discovering new lun(s) ... done
LUN to device file mappings:
- snoopy:/vol/vol1/lunVxvm2 => /dev/vx/dmp/Disk_1
file system /mnt/vxfs2 created