Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

removing root disk and creating parition VxVM

Status
Not open for further replies.

krishsays

IS-IT--Management
Dec 3, 2004
45
GB
Hi people

I have a problem here. We built a system and the root disk was created with the default partitions and there were still some space available on it and this disk was put under veritas control and it was mirrored.Now We want to create one more partition on this disk. I want to disconnect the mirror and then remove it from Veritas control and then use format/partition to create the desired partition and then again encapsulate it and put it under Veritas control so that data remains the intact. Please let me know if this would create any problems. Are there any chances that i will screw up the OS ?
Reason to do this "some clustering issues which will take lot of time to explain. So I have to do this no other choice. Please let me a rough procedure for doing this and whether this is feasible or not ..

thanks,
 
You should not have to remove the disk from Veritas to add another partition as long as all slices are not currently used and there is space available.
 
Hi comtec ,

thanks for your reply ...I am really not sure whether it is possible to create the partition in the disk ..once it is under veritas control... I think while encapsulating first time veritas stores the current partition table ..and i can not change that once it is under veritas control ...can you let me how can i do it ..if possible kind of rough procedure ..with some command refrences ... i will highly thankful for that...it will solve big problem for me...

thanks
 
You do not need to unencapsulate it to do that.

The unused space should be showing as free space in vxdg -g rootdg free. You should just create a new mirrored Veritas volume on the root disk and its mirror using VxVM as normal.

If your application or cluster or whatever needs to access that volume using the underlying partition you can use the vxmksdpart utility to create the appropriate partition table entries, provided there are enough unused slots in the partition table. This can be tricky though, so do so at your own risk!

Have a look at the documentation you can find on support.veritas.com, and if you have any specific questions I can help out.

Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top