Operating System - HP-UX
1837968 Members
2994 Online
110124 Solutions
New Discussion

Re: VERITAS volume manager

 
Rainer von Bongartz
Honored Contributor

VERITAS volume manager


Can anybody tell me the command to remove a Veritas logical volume and make the disk available to LVM ???


I cannot use the VERITAS GUI so i need the low level vx??? command

He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
5 REPLIES 5
Stefan Farrelly
Honored Contributor

Re: VERITAS volume manager


vxdg destroy

After that all you should need to do is a pvcreate -f /dev/rdsk/cxxxxx then add it to a volume group under LVM.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Rainer von Bongartz
Honored Contributor

Re: VERITAS volume manager

Stefan

since this is the rootdg volume I get the error

vxvm:vxdg: ERROR: Disk group rootdg: deport failed: Operation not allowed on root disk group


What can I do to remove the root volume group.

I really don't want VERITAS volumes on this box any more.

Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Stefan Farrelly
Honored Contributor

Re: VERITAS volume manager



To remove a disk from the rootdg group try;

vxdg rmdisk

And to remove a disk from VxVM so you can use it in LVM do;

vxdisk rm

Im not sure how to remove the rootdg group once created if the above doesnt work.
Im from Palmerston North, New Zealand, but somehow ended up in London...
George A Bodnar
Trusted Contributor

Re: VERITAS volume manager

From what I can remember you need to have at least one disk in rootdg. So if you want to remove all disk from Veritas try doing an uninstall and that should free your disk.

If you want to keep Veritas you need to add another disk into rootdg and then you can remove the other one you want.
Sanjay Yugal Kishore Ha
Frequent Advisor

Re: VERITAS volume manager

The vxdiskadm brings up a UI that has the similar features as the GUI.
Dying is the last thing that I will do.