fdisk -l sees the new disk, but vxdisk list does not seeing it

book

Article ID: 100003255

calendar_today

Updated On:

Description

Error Message

VxVM vxscsiinq ERROR V-5-1-8856 ./vxscsiinq issue_scsi_ioctl: ioctl failed for /dev/xvda
 

Cause

Vxvm does not recognize it disk

./vxscsiinq /dev/xvda
ioctl failed: Invalid argument
VxVM vxscsiinq ERROR V-5-1-8856 ./vxscsiinq issue_scsi_ioctl: ioctl failed for /dev/xvda, status        = -1 ERRNO      = 1d
VxVM vxscsiinq ERROR V-5-1-8887 ./vxscsiinq: Error returned from issue_scsi_ioctl

Resolution

As of now,  we only support specific devices (ide,scsi,iscsi,ssd,emcpower) and xen devices are not supported yet.   Like /dev/xvda ( it is not "sd" device format)

Suggestion: Customer  was running the xen server  with storage and VXVM   was  not running on it . Customer was presenting new devices from the Xen server to the Virtual machines. The Virtual Machine(client) was actually running standard VxVM, and suggested customer to install VxVm on the Xen server then export VxVm devices to the virtual machines.

 

Applies To

 cat /proc/partitions
major minor  #blocks  name
   3     0   26214400 hda
   3     1     104391 hda1
   3     2   26105625 hda2
 253     0   13172736 dm-0
 253     1   12910592 dm-1
 202     0   52429440 xvda
 202     1   52428096 xvda1

Issue/Introduction

Customer is assigning new luns from Xen servers Storage to Clients. Here is the command: # xm block-attach 8 phy:/dev/mapper/mp_xp10k_lun9 /dev/xvdb w # multipath -l
mp_xp10k_lun9 (360060e8004a56a000000a56a00000009) dm-5 HP,OPEN-V
[size=50G][features=1 queue_if_no_path][hwhandler=0][rw]
\_ round-robin 0 [prio=0][active]
\_ 2:0:0:5 sdf 8:80 [active][undef]
\_ 3:0:0:5 sdl 8:176 [active][undef]