Operating System - HP-UX
1847074 Members
5210 Online
110262 Solutions
New Discussion

How do I "back out" of VxVM?

 
SOLVED
Go to solution
Stuart Abramson_2
Honored Contributor

How do I "back out" of VxVM?

We built a few VxVM DGs and File systems to try them out and now don't want to
use them.

How do I "backout" the VxVM stuff: DGs, Devices, etc.

I want to use ONLY LVM from now on.

I can just "deport" the DGs, but I want the devices to go back under control of
LVM.

I want the "rootdg" back also.
7 REPLIES 7
Pete Randall
Outstanding Contributor

Re: How do I "back out" of VxVM?

Silly me - there's no page numbers! Under the "Converting LVM to VxVM" section, there's a subsection called "Restoring the LVM Volume Group Configuration". That should help, I think.


Pete


Pete
Stuart Abramson_2
Honored Contributor

Re: How do I "back out" of VxVM?

No. I don't want to restore anything.

I just ran "vxinstall", vxenablef -a, and created a few VxVM Data Groups.

Now, I want to remove them. And put the disks back under control of LVM.

How do I do that?
Pete Randall
Outstanding Contributor
Solution

Re: How do I "back out" of VxVM?


Destroy a disk group: vxdg deport disk_group

then pvcreate.



Pete




Pete
Stuart Abramson_2
Honored Contributor

Re: How do I "back out" of VxVM?

That's it?

Can I do that for "rootdg" also?

Stuart
Pete Randall
Outstanding Contributor

Re: How do I "back out" of VxVM?

Stuart,

I believe that's all there is to it. As for rootdg, you'll obviously have to re-install after, but that should do it.


Pete


Pete
Alzhy
Honored Contributor

Re: How do I "back out" of VxVM?

If you've rooted your OS -- meaning - did not use LVM for managing your OS disks then there should be a "recipe" for that in the manuals. However if you set up rootDG in a different disk and also have other diskgroups defined then:

touch /etc/vx/reconfig.d/state.d/install-db
reboot
and wipe out all configs on those disks previously used and proceed using them in LVM (pvcreate -f..., ).

or you can do - for each DG except rootDG:

umount the FS
vxdg destroy DG
and unsetup each disk used by the DG:
/etc/vx/bin/vxdiskunsetup cnTnDn

Hakuna Matata.