VXFEN vxfenconfig ERROR V-11-2-1136 Not an sg device or old sg driver

book

Article ID: 100000719

calendar_today

Updated On:

Description

Error Message

VXFEN vxfenconfig ERROR V-11-2-1136 Not an sg device or old sg driver
VXFEN vxfenconfig ERROR V-11-2-1136 Not an sg device or old sg driver
 
Environment:
RHEL4|RHEL5|SLES10|SLES9
Storage Foundation for Cluster File System 5.0MP3
 

Cause

 
The problem seen, If the following conditions are true.
a. The fdisk utility shows a partition label for the disks that are being used for coordinator disks.
b. The/proc/partitions kernel file does not show a partition table for the disks that are being used for coordinator disks.
 
Below commands produce the error.
a. Administrator is using vxfenswap to swap out coordinator disks.
b. Administrator is using `vxfenconfig -c` or `vxfen start` to configure fencing.
 
Example
# vxdisk -e -o alldgs list |grep vxfen
emc_clariion0_3auto:cdsdisk - (vxfencoorddg) online sdl lun RAID_5
emc_clariion0_4auto:cdsdisk - (vxfencoorddg) online sdk lun RAID_5
emc_clariion0_5auto:cdsdisk - (vxfencoorddg) online sdab lun RAID_5
 
Looking at one of disks "sdab". As we can see the label shows partitions 3 and 8 exist.
# fdisk -l /dev/sdab
Disk /dev/sdab (Sun disk label): 16 heads, 10 sectors, 44798 cylinders
Units =cylinders of 160 * 512 bytes
Device Flag Start End Blocks Id System
/dev/sdab3 u0 44798 3583840 5 Whole disk
/dev/sdab8 u0 44798 3583840 f Unknown
 
Now looking at /proc/partitions. As we can see the kernel has not been updated with the partition table; hence why we see the error.
 
# more /proc/partitions |grep sdab
65 1763584000 sdab
 
#vxfenconfig -c
VXFEN vxfenconfig NOTICE Driver will use SCSI-3 compliant disks.
VXFEN vxfenconfig ERROR V-11-2-1136 Not an sg device or old sg driver
VXFEN vxfenconfig ERROR V-11-2-1136 Not an sg device or old sg driver
 
Solution:
Remove the device from VxVM.
# vxdisk rm sdab
Now update the kernel with the partition table.
# blockdev --rereadpt /dev/sdab
 
If the device is busy then the blockdev command will fail. If this is the case try and find which application is holding the device open then rerun the blockdev command.
 
Final solution will be to reboot to resolve the issue.
 
 

 

Issue/Introduction

VXFEN vxfenconfig ERROR V-11-2-1136 Not an sg device or old sg driver