1832787 Members
3046 Online
110045 Solutions
New Discussion

Re: VxVm and Lvm

 
SOLVED
Go to solution
manu_5
Frequent Advisor

VxVm and Lvm

Hi,
I created a volume group in HP 11i using VxVm and I am not having license for same .I did that for trial But Now I want to configure those disks back in lvm but i am not able to as My system reboots everytime giving the error of vxconfigd on the console if i have disks connected to the system.ho ican i just get them back
11 REPLIES 11
V.Tamilvanan
Honored Contributor

Re: VxVm and Lvm

Hi,
The Base-Vxvm is inbuilt with Hp_X 11i. You don't require any license for that separately.
Only Veritas volume manager is optional and u require license for that.

Have a look at this link:-
http://devrsrc1.external.hp.com/STK/partner/11iv1.5RN.html#VXVM
Steven E. Protter
Exalted Contributor

Re: VxVm and Lvm

VxVm is part of the base license for the OS. The advanced features are not enabled there.

All you need to do is to remove the volumes on the disks and whateve vxvm has in place of volume groups.

Once the disks are unused you should be able to use the pvcreate /dev/rdsk/c#t#d# to clear the contents of the former vxvm disk.

Next you use vgextend to extend an existing volume group to the new disks.

Or create a new volume group and extend that to the new disk.

Then you are done.

If you have no plans to use vxvm, you are better off removing it completely from your system with swremove. This might also help with your issue.

You can't boot off vxvm anyway so your system should be bootable after these changes.

Just to be save though, run a make_tape_recovery tape before you start. Though vxvm might interfere with that too.

Tough situation, but you can get out of it if you are careful.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
manu_5
Frequent Advisor

Re: VxVm and Lvm

Hi,
I forgot to mention that my disks are coming from a San Array (hitachi 5846) and when the os boots it says "Unlicensed Array ", VxVm Starto Failed and it reboots everytime.
manu_5
Frequent Advisor

Re: VxVm and Lvm



NOTICE: vxvm:vxdmp: added disk array 3346443040048920, datype = HITACHI58

NOTICE: vxvm:vxdmp: added disk array 334644304007DA74, datype = HITACHI58

WARNING: vxvm:vxdmp: Unlicensed array S/N 3346443040048920 installed
WARNING: vxvm:vxdmp: Unlicensed array S/N 334644304007DA74 installed
vxvm:vxconfigd: ERROR: enable failed: Volboot file not loaded
transactions are disabled.
/sbin/rc: failed to read row and column info from screen

HP-UX Start-up in progress
__________________________

Configure system crash dumps ........................................ OK
VxVM device node check .............................................. OK
VxVM general startup ................................................
Trap Type 15 (Data page fault):
Instruction Address (pcsq.pcoq) = 0x0.0x746f4c
Instruction (iir) = 0x53990040 (load/store)
Target Address (isr.ior) = 0x0.0x0000000000000020
Base Register (gr28) = 0x0000000000000000
Savestate Ptr (ssp) = 0xa7cac00.0x400003ffffff16e8
Savestate Return Pointer (ss_rp) = 0x0000000000746f4c
twang
Honored Contributor
Solution

Re: VxVm and Lvm

# mkdir -p /etc/vx/reconfig.d/state.d/
# touch /etc/vx/reconfig.d/state.d/install-db

You may now reboot system and see.
sdip
Advisor

Re: VxVm and Lvm

Hi,

Use the following steps.

1) vxdisk list # if it shows those disks then you should uderstand Veritas configuration daemon is using those disks.

2) /etc/vx/bin/vxdiskunsetup -F
# Will remove that disks entry from Veritas
config DB.

3) pvcreate -f /dev/dsk/????

You can go to /sbin/init.d/ & can move to all vxvm* file to any other dir.

Now you can reboot & see the difference.

manu_5
Frequent Advisor

Re: VxVm and Lvm

Hi

touch /etc/vx/reconfig.d/state.d/install-db

system has come up .But is it a permanent solution for this problem or I have to do something else also.
V.Tamilvanan
Honored Contributor

Re: VxVm and Lvm

Hi,
When the system starts up the /sbin/rc1.d/S092vxvm-startup file checks for the file /etc/vx/reconfig.d/state.d/install-db . If it is there it considers Vxvm is not yet initialized and exit the normal vxvm startup procedure.
So it is permanent only. You can have alook at /sbin/rc1.d/S092vxvm-startup for further details.

manu_5
Frequent Advisor

Re: VxVm and Lvm

Thanks ,

So What that ,means is If You do not used VxVm this file install-db will be existing by default.Please confirm
V.Tamilvanan
Honored Contributor

Re: VxVm and Lvm

Hi manu,
Yes. You are 100% correct.

HTH
manu_5
Frequent Advisor

Re: VxVm and Lvm

Thanks for the replies