VxVM + WDRBD (vhd) 환경에서 mirror 생성이 안된다

 1. Environment   

  • Test 환경
  • O/S : Windows 2008, Windows 2012
  • VxVM : Veritas Volume manager 6.1
  • Wdrbd : 1.5.2  ( 1.5.0 )

 2. Symptoms

  • VxVM + WDRBD (vhd) 환경에서 mirror 생성이 안된다

 3. Solution

Veritas Volume manager 6.1 version에서는 VHD로 Mirror 생성시 meta 생성이 불가능하여 Mirror 생성이 안된다.

Error Message 참고

Failed to IOCTL_DISK_GET_DRIVE_GEOMETRY_EX(\\.\Volume{bcbd777c-c7c4-4c1c-9501-321b562e0066}) error_code=21
ioctl(md_fd, BLKSSZGET) returned 21, assuming hard_sect_size is 512 Byte 
Failed to IOCTL_DISK_GET_LENGTH_INFO(\\.\Volume{bcbd777c-c7c4-4c1c-9501-321b562e
0066}) error_code=21
\\.\Volume{bcbd777c-c7c4-4c1c-9501-321b562e0066} is only 0 bytes. That’s not enough.
Failed to IOCTL_DISK_GET_DRIVE_GEOMETRY_EX(\\.\Volume{bcbd777c-c7c4-4c1c-9501-321b562e0066}) error_code=21
ioctl(md_fd, BLKSSZGET) returned 21, assuming hard_sect_size is 512 Byte 
Failed to IOCTL_DISK_GET_LENGTH_INFO(\\.\Volume{bcbd777c-c7c4-4c1c-9501-321b562e0066}) error_code=21
\\.\Volume{bcbd777c-c7c4-4c1c-9501-321b562e0066} is only 0 bytes. That’s not enough.
Command ‘drbdmeta 1 v09 ////?//Volume{bcbd777c-c7c4-4c1c-9501-321b562e0066}// C:/Program Files/drbd/mccs_meta_disk/mccs_meta_disk_D.vhd create-md 1’ terminated
with exit code 10

Veritas Volume manager 6.1 사용시 VHD로 Meta 생성은 불가능하고 RAW 볼륨으로 Meta생성시 Mirror 생성은 가능하다.

추가로 최신 버전인 Veritas_InfoScale_7.3.1 ( volummme manager 상위버전 ) 에서는 VHD로도 Mirror생성이 가능함