Operating System - HP-UX
1846606 Members
1808 Online
110256 Solutions
New Discussion

vxvm:vxconfigd: ERROR: Cannot reset VxVM kernel: A virtual disk device is open

 
Novonil Choudhuri
Frequent Advisor

vxvm:vxconfigd: ERROR: Cannot reset VxVM kernel: A virtual disk device is open

I am facing the issue as below.

I am not able to start vxconfigd deamon and also because of that i am not able to populate disks under vxvm through vxinstall.

# vxinstall
.......
........
Populating VxVM DMP device directories ....
vxvm:vxconfigd: ERROR: Cannot reset VxVM kernel: A virtual disk device is open

Tried the command :

bash-2.02# vxconfigd -k -r reset -d
vxvm:vxconfigd: ERROR: Cannot reset VxVM kernel: A virtual disk device is open

I was facing the same issue in another node but the issue resolved after issuing the above command successfully.

I have checked the troubleshooting guide and the error resolution is given as under.

vxvm:vxconfigd: ERROR: Cannot reset VxVM kernel:reasonDescription: The-r resetoption was specified to vxconfigd, but the VxVM kerneldrivers could not be reset. The most common reason is "A virtual disk device is open." This implies that a VxVM tracing or volume device is open.

Action:
If you want to reset the kernel devices, track down and kill all processes that have a volume or VERITAS Volume Manager tracing device open. Also, if any volumes are mounted as file systems, unmount those file systems.Any reason other than "A virtual disk device is open" does not normally occur unless there is a bug in the operating system or in VxVM.

I rebooted the system thrice but still the same issue persists.

If anybody have any solution to the above issue please let me know.
13 REPLIES 13
Adam Garsha
Valued Contributor

Re: vxvm:vxconfigd: ERROR: Cannot reset VxVM kernel: A virtual disk device is open

Do you have some volumes out there?

vxdisk -o alldgs list
vxprint

If you seek to break everything down and start over, maybe stopping volumes and deporting volumes will get you where you want to go.

vxvol -g MYDG stopall
vxdg deport MYDG
Novonil Choudhuri
Frequent Advisor

Re: vxvm:vxconfigd: ERROR: Cannot reset VxVM kernel: A virtual disk device is open

Thanks Adams for the imputs.

Infact how can you deport the dgs when the vxconfigd is not getting enable. Infact an alternative solution was successfull at times, i.e if you remove the file /etc/vx/reconfig.d/state.d/install-db ( if atall it is created ) and then reboot the system the command # vxconfigd -k -r reset -d works. and u can go ahead with the # vxinstall command.

Jannik
Honored Contributor

Re: vxvm:vxconfigd: ERROR: Cannot reset VxVM kernel: A virtual disk device is open

Last part from Veritas:
...
Any reason other than "A virtual disk device is open" does not normally occur unless there is a bug in the operating system or in VxVM.

So you have to make sure you have the newest patch on the system. I would open a case on this at HP.
jaton
Novonil Choudhuri
Frequent Advisor

Re: vxvm:vxconfigd: ERROR: Cannot reset VxVM kernel: A virtual disk device is open

I am using VXVM 3.5 along with the latest patch level avalaible.

So there must some solution which resolves this issue.
Zinky
Honored Contributor

Re: vxvm:vxconfigd: ERROR: Cannot reset VxVM kernel: A virtual disk device is open

You probably are using an EVA or similar array - correct?

A few questions:

1) Is the above true? an EVA is involved?
2) Are you using AutoPath or SecurePath?
3) Is your environment fully supported by VxVM?
4. Are you licensed fully in VxVM (i.e. DMP is active?)
5.) Do you know what you are doing?

Hakuna Matata

Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
Novonil Choudhuri
Frequent Advisor

Re: vxvm:vxconfigd: ERROR: Cannot reset VxVM kernel: A virtual disk device is open

Hi Below are the answers.

1) Is the above true? an EVA is involved?

Ans : The common storage connected to 4 nodes is a XP 1024 array.

2) Are you using AutoPath or SecurePath?

Ans : No

3) Is your environment fully supported by VxVM?

Ans : Yes

4. Are you licensed fully in VxVM (i.e. DMP is active?)

Ans : Yes I am using Storage Foundation Gold Key license which is a permanect one. DMP is active.

5.) Do you know what you are doing?

Ans : I am creating a VCS cluster having 4 nodes which will have access to sharedgs. On these sharedgs i will install oracle as database.

Thanks,

Novonil
Prashanth.D.S
Honored Contributor

Re: vxvm:vxconfigd: ERROR: Cannot reset VxVM kernel: A virtual disk device is open

Hi Novonil,

Whats the VxVM version and what is the version of ASL ?

Best Regards,
Prashanth
Novonil Choudhuri
Frequent Advisor

Re: vxvm:vxconfigd: ERROR: Cannot reset VxVM kernel: A virtual disk device is open

Prasanth i hope u have not read the full messages on this thread. The VXVM version is 3.5 and what is the ASL you are talking about ?
Zinky
Honored Contributor

Re: vxvm:vxconfigd: ERROR: Cannot reset VxVM kernel: A virtual disk device is open

Novonil, Prasant knows very well what he's talking about...

You're environment it seems is NOT fully supported in the absence of that ASL -- which stands for Array Support Library. There should be one for the XP12024.. go to Symantec/Veritas Website and download it and install...

To check if you have the ASL...

swlist|grep -i VRTShp


Reboot your machine and check syslog/dmesg if you have a message their saying something like a supported array was recognized...

Also check licensing via "vxlicrep" and post your result...

Hakuna Matata

Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
Prashanth.D.S
Honored Contributor

Re: vxvm:vxconfigd: ERROR: Cannot reset VxVM kernel: A virtual disk device is open

Hi Novonil,

You can download it from below attached site..

http://seer.support.veritas.com/docs/281249.htm

Best Regards,
Prashanth
Novonil Choudhuri
Frequent Advisor

Re: vxvm:vxconfigd: ERROR: Cannot reset VxVM kernel: A virtual disk device is open

Thanks for clarifying the point on ASL.

I will install the same and reproduce the issue.

Thank you all for helping me in this .
Novonil Choudhuri
Frequent Advisor

Re: vxvm:vxconfigd: ERROR: Cannot reset VxVM kernel: A virtual disk device is open

Hi all , i think i do not have the ASL for XP1024 as below.

slpam15:/mnt/concat>vxddladm listsupport
LIB_NAME ARRAY_TYPE VID PID
=======================================================================
libvxautoraid.sl A/A HP C3586A
libvxautoraid.sl A/A HP C5447A
libvxautoraid.sl A/A HP A5257A
libvxdgc.sl A/P DGC all
libvxeccs.sl A/A ECCS all
libvxemc.sl A/A EMC SYMMETRIX
libvxfc60.sl A/P HP A5277A
libvxfujitsu.sl A/A FUJITSU GR710
libvxfujitsu.sl A/A FUJITSU GR720
libvxfujitsu.sl A/A FUJITSU GR730
libvxfujitsu.sl A/A FUJITSU GR740
libvxfujitsu.sl A/A FUJITSU GR820
libvxfujitsu.sl A/A FUJITSU GR840
libvxhds.sl A/A HITACHI OPEN-*
libvxhitachi.sl A/PG HITACHI DF350
libvxhitachi.sl A/PG HITACHI DF400
libvxhitachi.sl A/PG HITACHI DF500
libvxnec.sl A/A NEC DS1200
libvxnec.sl A/A NEC DS1200F
libvxnec.sl A/A NEC DS3000SL
libvxnec.sl A/A NEC DS3000SM
libvxnec.sl A/A NEC DS3001
libvxnec.sl A/A NEC DS3002
libvxnec.sl A/A NEC DS1000
libvxnec.sl A/A NEC DS1000F
libvxnec.sl A/A NEC DS1100
libvxnec.sl A/A NEC DS1100F
libvxnec.sl A/A NEC DS3011
libvxnec.sl A/A NEC DS1230
libvxnec.sl A/A NEC DS450
libvxnec.sl A/A NEC DS450F
libvxnec.sl A/A NEC iStorage 1000
libvxnec.sl A/A NEC iStorage 2000
libvxnec.sl A/A NEC iStorage 4000
libvxshark.sl A/A IBM 2105
libvxstorcomp.sl A/A StorComp OmniForce
libvxva.sl A/A HP A6188A
libvxva.sl A/A HP A6189A
libvxveritas.sl A/PF VERITAS all
libvxxp256.sl A/A HP OPEN-*

So everytime when we get the vxconfigd errors we have tio check the ASL for the common storage ?
Novonil Choudhuri
Frequent Advisor

Re: vxvm:vxconfigd: ERROR: Cannot reset VxVM kernel: A virtual disk device is open

Need to check the ASL for the storage connected if this issue occurs.