VxVM Volume rename - vxedit

 
SOLVED
Go to solution
MikeL_4
Super Advisor

VxVM Volume rename - vxedit

I issued the vxedit command to change the volume name from say xxxxvol to zzzzvol with vxedit rename xxxxvol zzzzvol
The vxprint after the change did not effect the p1 or sd definitions for the volume.
vxprint -h zzzzvol
Disk group: rootdg
TY NAME ASSOC
v zzzzvol fsgen
pl xxxxvol-01 zzzzvol
sd rootdisk01-05 xxxxvol-01

How do I also change the "p1 name" to also be zzzzvol, and rgw "sd rootdisk01-0" Assoc to also be zzzzvol-01

4 REPLIES 4
Robert-Jan Goossens_1
Honored Contributor
Solution

Re: VxVM Volume rename - vxedit

Hi Mike,

http://www.docs.hp.com/en/B7961-90019/ch01s08.html

--
vxedit allows you to modify certain records in the volume management databases. Only fields that are not volume usage-type-dependent can be modified.
--

# vxedit rename xxxxvol zzzzvol

did rename xxxxvol to zzzzvol, but not the xxxxvol-01 witch is a plex and xxxxvol-01 witch is a subdisk.

Hope this helps,
Robert-Jan
MikeL_4
Super Advisor

Re: VxVM Volume rename - vxedit

Thats correct, the rename xxxxvol to zzzzvol worked, but not the xxxxvol-01 and xxxxvol-01 did not change.

So the plex and subdisk are not changable ?



Robert-Jan Goossens_1
Honored Contributor

Re: VxVM Volume rename - vxedit

I can't test it, but I think you have to give vxedit the correct expression, in your case xxxxvol and xxxxvol-01

# vxedit rename xxxxvol-01 zzzzvol-01

http://www.cuddletech.com/veritas/man/vxedit.m
MikeL_4
Super Advisor

Re: VxVM Volume rename - vxedit

Thanks