Operating System - HP-UX
1833780 Members
2674 Online
110063 Solutions
New Discussion

Consolidate Physical Disks

 
SOLVED
Go to solution
CJENSEN_1
Regular Advisor

Consolidate Physical Disks

I have a VA7100, connected to a RP5470 running HPUX 11.11. I have a couple of volume groups with more than one disk per volume group. I would like to clean this up - ie - one physical disk per volume group. Was wondering what steps are involved in doing this.
Thanks.
5 REPLIES 5
Steven E. Protter
Exalted Contributor
Solution

Re: Consolidate Physical Disks

Shalom,

One physical disk per volume group?

Why use LVM at all. You can do physical disk allocation.

The point of LVM is to give you storage flexibility, many disks in a vg or one. So you want to use the tool that makes you flexible to make your configuration inflexible.

Okay, I can see a valid reason to do this, to permit you to separate database i/o but that could be handled by disk distribution within a volume group.

So.

1) Back up your data, because you are probably going to hammer something.
2) remove all logical volumes from a disk to be removed from the volume group. Or vgexport the whole volume group and rebuild.
3) vgreduce vgname full_path_to_disk
4) Go through man vgcreate and build a volume group with one disk in it.

I can't wait to see other's responses to this query, which will undoubtedly be more entertaining than mine.

:-)

All of this can be done with SAM.

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
CJENSEN_1
Regular Advisor

Re: Consolidate Physical Disks

We're a small shop, and I only do the HPUX admin on a part time basis.

I'm curious when you say you can use SAM for everything. I'll recap what I do:

1) use cvui to create the LUN
2) go into SAM, create the volumne group and do the logical volume stuff

So I've got two LUN's (two physical volumes) created on the VA7100, that are in one volume group. I wish to delete the LUN's, and recreate them as one LUN.
Torsten.
Acclaimed Contributor

Re: Consolidate Physical Disks

This is a lot of work and I cannot see any reason why you want to do this.
I would not do any changes ...

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
CJENSEN_1
Regular Advisor

Re: Consolidate Physical Disks

I appreciate your comment. I was looking to determine if it was really worth it or not.
CJENSEN_1
Regular Advisor

Re: Consolidate Physical Disks

Thx