To recognize volumes, OpenVMS issues a UDID value, which can be set during a creation or a change of volumes by using the -udidXXX option, where XXX is any unique numeric number.
Each OpenVMS fibre-attached volume requires a user-defined identifier or unit device identifier (UDID). A UDID is a nonnegative integer that is used when an OpenVMS device name is created. All fibre-attached volumes have an allocation class of $1$, followed by the letters DGA, followed by the UDID value. All storage unit LUNs that you assign to an OpenVMS system require a UDID so that the operating system can detect and name the device. LUN 0 must be created and present so that the OpenVMS system can detect the rest of the assigned volumes.
UDID values must be entered during volume creation after MDisk and related group and host information is set up. UDID values can be changed or added by using the chvdisk command. See 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/fullTo run the Analyze/System utility, you must have OpenVMS CMKRNL privilege. To use this utility, complete the following steps:
ANALYZE/SYSTEM
fc show dev fgadapter0
fc show dev fga0
Use the SYSMAN utility to discover new disks on the OpenVMS host. See 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