Snapdrive for Unix
简体中文版经机器翻译而成,仅供参考。如与英语版出现任何冲突,应以英语版为准。

连接具有磁盘组,主机卷和文件系统的 LUN

贡献者

要使用 SnapDrive storage connect` 命令连接具有磁盘组,主机卷和文件系统的 LUN ,您需要遵循以下语法。

输入以下命令:

` * SnapDrive storage connect-fs file_spec -hostvol file_spec -lun lun_name [lun_name…​] [-igroup ig_name [ig_name…​]] [-noperistre] [-mntopts options] [-fstype type]` vm_type]`

示例:连接在 LUN 上创建的文件系统

# snapdrive storage connect -fs /mnt/fs -lun f270-221-189:/vol/vol0/lun111 -nolvm
mapping lun(s) ... done
discovering lun(s) ... done
LUN f270-221-189:/vol/vol0/lun111 connected
- device filename(s): /dev/vx/dmp/fas2700_939

示例:连接在 RDM LUN 上创建的文件系统

# snapdrive storage connect -fs /mnt/fs -lun lech:/vol/vol1/lun1 -nolvm
exporting new lun(s) to Guest OS ... done
discovering lun(s) ... done
LUN lech:/vol/vol1/lun1 connected
- device filename(s): /dev/sdb