为识别卷,OpenVMS 会发出 UDID 值,该值可在创建或变更卷期间使用 -udidXXX 选项加以设置,其中 XXX 是唯一的 数字值。
每个 OpenVMS 光纤连接的卷都需要用户定义的标识或单元设备标识(UDID)。UDID 是在创建 OpenVMS 设备名时使用的非负整数。所有光纤连接的卷都具有分配类 $1$,后跟字母 DGA,然后带有 UDID 值。指定给 OpenVMS 系统的所有存储单元 LUN 都需要具有 UDID,以便操作系统可检测设备并对设备命名。LUN 0 必须已创建且存在,以便 OpenVMS 系统可以检测到其余分配的卷。
UDID 值必须在卷创建期间并且在设置 MDisk 和关联的组与主机信息之后输入。UDID 值可使用 chvdisk 命令进行更改或添加。请参阅Figure 1。
mkvdisk -mdiskgrp 0 -size 2 -unit gb -iogrp io_grp0 -mdisk mdisk0 -udid 10 -name ovms_10 mkvdiskhostmap -host gs160a ovms_10
lsvdisk -delim : id:name:IO_group_id:IO_group_name:status:mdisk_grp_id:mdisk_grp_name:capacity:type: FC_id:FC_name:RC_id:RC_name:vdisk_UID 0:ovms_0:0:io_grp_0:online:0:ds6000:2.0GB:striped:::::60050768019381005000000000000000 1:ovms_1:0:io_grp_0:online:0:ds6000:2.0GB:striped:::::60050768019381005000000000000001 2:ovms_2:0:io_grp_0:online:0:ds6000:2.0GB:striped:::::60050768019381005000000000000002 3:ovms_3:0:io_grp_0:online:0:ds6000:2.0GB:striped:::::60050768019381005000000000000003 4:ovms_4:0:io_grp_0:online:0:ds6000:3.0GB:striped:::::60050768019381005000000000000004 5:ovms_5:0:io_grp_0:online:0:ds6000:3.0GB:striped:::::60050768019381005000000000000005 6:ovms_6:0:io_grp_0:online:0:ds6000:2.0GB:striped:::::60050768019381005000000000000006 7:ovms_7:0:io_grp_0:online:0:ds6000:2.0GB:striped:::::60050768019381005000000000000007
show device fg/full要运行 Analyze/System 实用程序,您必须具有 OpenVMS CMKRNL 特权。 要使用该实用程序,请完成以下步骤:
fc show dev fga0
使用 SYSMAN 实用程序来发现 OpenVMS 主机上的新磁盘。请参阅Figure 3。
SYSMAN> IO SCSI_PATH_VERIFY SYSMAN> IO AUTOCONFIGURE SYSMAN> exit $ sho dev d Device Device Error Volume Free Trans Mnt Name Status Count Label Blocks Count Cnt GS160A$DKA0: Online 0 $1$DGA10: (GS160A) Online 0 $1$DGA11: (GS160A) Online 1 $1$DGA12: (GS160A) Online 1 $1$DGA13: (GS160A) Online 1 $1$DGA14: (GS160A) Online 0 $1$DGA15: (GS160A) Online 0 $1$DGA16: (GS160A) Online 0 $1$DGA17: (GS160A) Online 0 $1$DGA10001: (GS160A) Online 0 $1$DKD100: (GS160A) Online 0 $1$DKD300: (GS160A) Mounted 0 GS160A_SYS 25643715 341 1 $1$DKD500: (GS160A) Online 0 $1$DQA0: (GS160A) Online 0 $1$DQA1: (GS160A) Offline 1 $ init $1$dga16: dga16 $ init $1$dga17: dga17 $ mou $1$dga16 dga16 %MOUNT-I-MOUNTED, DGA16 mounted on _$1$DGA16: (GS160A) $ mou $1$dga17 dga17 %MOUNT-I-MOUNTED, DGA17 mounted on _$1$DGA17: (GS160A) $ init $1$dga10: dga10 $ init $1$dga11: dga11 $ mou $1$dga11 dga11 %MOUNT-I-MOUNTED, DGA11 mounted on _$1$DGA11: (GS160A) $ sho dev d Device Device Error Volume Free Trans Mnt Name Status Count Label Blocks Count Cnt GS160A$DKA0: Online 0 $1$DGA10: (GS160A) Online 0 $1$DGA11: (GS160A) Mounted alloc 12 DGA11 4193950 1 1 $1$DGA12: (GS160A) Online 57 $1$DGA13: (GS160A) Online 57 $1$DGA14: (GS160A) Online 56 $1$DGA15: (GS160A) Online 57 $1$DGA16: (GS160A) Mounted alloc 12 DGA16 4193950 1 1 $1$DGA17: (GS160A) Mounted alloc 20 DGA17 4193950 1 1 $1$DGA10001: (GS160A) Online 0 $1$DKD100: (GS160A) Online 0 $1$DKD300: (GS160A) Mounted 0 GS160A_SYS 25642572 341 1 $1$DKD500: (GS160A) Online 0 $1$DQA0: (GS160A) Online 0 $1$DQA1: (GS160A) Offline 1