cancel
Showing results for 
Search instead for 
Did you mean: 

vxvmconvert

Mr Zer0
Trusted Contributor

vxvmconvert

Hi all,

Basically i want to convert a LVM volume group to VxVM disk group. I identified that vxvmconvert is the command to use for that. vxvmconvert is giving the following error in the analysis phase.

*********************************************

Select Volume Groups to analyze :
[,all,list,listvg,q,?] ov-dg

ov-dg

Analyze this Volume Group? [y,n,q,?] (default: y) y

The following disk has been found in the volume group
and will be analyzed for VxVM conversion.

c0t14d3

VxVM INFO V-5-2-841
To allow analysis, a new VxVM disk group, ov-dg, will be
fabricated and the disk device c0t14d3 will be added to the
disk group with the disk name ov-dg01.

Use the default disk layout for the disk? [y,n,q,?] (default: y) y

VxVM ERROR V-5-2-806
The analysis operation failed with the following error:

VxVM vxlvmencap ERROR V-5-2-1960
It is not possible to convert c0t14d3, for the following reason:
VxVM vxhpcap ERROR V-5-1-0 c0t0d0: Cannot get dmpnode info errno=22
VxVM vxhpcap ERROR V-5-1-0 c2t0d0: Cannot get dmpnode info errno=22
VxVM vxhpcap ERROR V-5-1-0 c0t0d0: Cannot get dmpnode info errno=22
VxVM vxhpcap ERROR V-5-1-0 c2t0d0: Cannot get dmpnode info errno=22
VxVM vxhpcap ERROR V-5-1-0 device is disabled: /dev/rdsk/c0t0d0

Hit RETURN to continue.


Second Stage Conversion Analysis of ov-dg

Analysis of ov-dg found sufficient Private Space for conversion


VxVM WARNING V-5-2-2227
Conversion Analysis of the following devices indicates that the
Volume Group is still in use, which may prevent the completion
of the conversion without having to reboot the system. You may
want to double check that none of the volumes in the volume
group are in use before continuing with the conversion.

c0t14d3

Hit RETURN to continue.


VxVM INFO V-5-2-723 Volume Group Analysis Completed

Hit RETURN to continue.


*********************************************
I have 4 logical volumes on this ov-dg volume group. I want to convert it to a disk group. How do i do that?
Also find the output of `vgdisplay -v ov-dg`

*********************************************
--- Volume groups ---
VG Name /dev/ov-dg
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 4
Open LV 4
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 8632
VGDA 2
PE Size (Mbytes) 4
Total PE 8630
Alloc PE 3072
Free PE 5558
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

--- Logical volumes ---
LV Name /dev/ov-dg/ov-volume-lcore
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 512
Allocated PE 512
Used PV 1

LV Name /dev/ov-dg/ov-volume-var
LV Status available/syncd
LV Size (Mbytes) 7168
Current LE 1792
Allocated PE 1792
Used PV 1

LV Name /dev/ov-dg/ov-volume-analysis
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 512
Allocated PE 512
Used PV 1

LV Name /dev/ov-dg/ov-volume-etc
LV Status available/syncd
LV Size (Mbytes) 1024
Current LE 256
Allocated PE 256
Used PV 1


--- Physical volumes ---
PV Name /dev/dsk/c0t14d3
PV Name /dev/dsk/c2t14d3 Alternate Link
PV Status available
Total PE 8630
Free PE 5558
Autoswitch On
Proactive Polling On

*********************************************
6 REPLIES
Mr Zer0
Trusted Contributor

Re: vxvmconvert

Also i have data on these logical volumes. Will it be safe?
Duncan Edmonstone
Honored Contributor

Re: vxvmconvert

What sort of storage are these disks on? I Vaguely remember problems with this when not having an up-to-date Array Support Library. I'd also check you have the latest VxVM command patch.

HTH

Duncan

HTH

Duncan
Mr Zer0
Trusted Contributor

Re: vxvmconvert

VxVm is of version 5.0
How do u check that u have the latest patches?
Mr Zer0
Trusted Contributor

Re: vxvmconvert

Storage is on EMC Symmetrix DMX 4. It supports VxVM 5.0
Srimalik
Valued Contributor

Re: vxvmconvert

There is a warning about open volumes ..please make sure that you unmount all the filesystems which reside on the volumes.

If a database id running and using these volumes please stop the database.
abandon all hope, ye who enter here..
Mr Zer0
Trusted Contributor

Re: vxvmconvert

.