LVM and VxVM

vxvm 3.5 losing configurations after restart.

 
pa8700
Regular Advisor

vxvm 3.5 losing configurations after restart.

vxvm 3.5 losing configurations after restart.

the vxconfigd is running.Once i have created a new diskgroup .I am able to see the dg and able to make newvolumes anslo.But if I am restarted the server.All the configuration are going except for rootdg.

Please help me
5 REPLIES 5
Richard Hepworth
Esteemed Contributor

Re: vxvm 3.5 losing configurations after restart.

Hi,

Diskgroup configurations for veritas are all held on the disk headers. Are you sure the disk group has just not imported after reboot??
what does vxdisk -o alldgs list show?
pa8700
Regular Advisor

Re: vxvm 3.5 losing configurations after restart.

See the below out put it shows the disks belongs to the DG but wile i am trying to import i am getting the below eror.

[root@nobby /]# vxdg import oracle
vxvm:vxdg: ERROR: Disk group oracle: import failed: Disk for disk group not found

Pls find the vxdisk listing

[root@nobby /]# vxdisk -o alldgs list
DEVICE TYPE DISK GROUP STATUS
c17t0d1 simple - - LVM
c17t6d2 simple - - LVM
c17t6d3 simple - (oracle) online
c17t6d4 simple - (rootdg) online
c17t6d5 simple - (test) online
c17t6d6 simple - - online
c17t6d7 simple disk01 rootdg online
Richard Hepworth
Esteemed Contributor

Re: vxvm 3.5 losing configurations after restart.

How many disks were in the oracle disk group before reboot?
Have you tried a force import?

vxdg -f import oracle

Also strange that it looks like you have 2 rootdgs? One imported and one not......whats the deal with that one?
pa8700
Regular Advisor

Re: vxvm 3.5 losing configurations after restart.

[root@nobby /]# vxdg -f import oracle
vxvm:vxdg: ERROR: Disk group oracle: import failed: Unexpected kernel error in configuration update


It is showing the eror.only ne disk is in oracle.

Another rootdg in due to the reinitialization of vxvm.


One more thig nw i just created a new dg and deported.and tryied to import it is showing error

[root@nobby /]# vxdg -n newname import test1
vxvm:vxdg: ERROR: Disk group test1: import failed: Disk for disk group not found
Ganesh.A
Advisor

Re: vxvm 3.5 losing configurations after restart.

Hi ,

Pls try the following....

vxconfigd -k
vxdctl enable
then try
vxdg -C -f import
if any issues, pls provide vxdisk -s list as well