- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Adding a disk to an existing volume group
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2008 03:42 AM
тАО02-21-2008 03:42 AM
A simple question ( I expect :-) )
I have to add a disk to an existing volume group which it has an Informix database that i have to make big.
I have read several post and the relatives documents but Ii have a doubt.
To do the vgextend, it's necessary to halt the package in which is defined the volume group or simply I do the command and after I modify the logical volumes and I make the vgexport -s -m so I can export the strcture to the other node that I have in my cluster ????
Thanks a lot,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2008 03:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2008 03:52 AM
тАО02-21-2008 03:52 AM
Re: Adding a disk to an existing volume group
--
that i have to make big
--
How big? Larger then the max_pe per pv?
Could you post the output of the vgdisplay -v vgxx command and the size of you disk/lun you would like to add?
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2008 04:03 AM
тАО02-21-2008 04:03 AM
Re: Adding a disk to an existing volume group
I have just calculated the size and it doesn't pass the limit max_pe.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2008 04:27 AM
тАО02-21-2008 04:27 AM
Re: Adding a disk to an existing volume group
I recommend a full backup before doing this work.
Note that if your PE size needs to be changed, the volume group needs to be redone from vgcreate command from scratch. Changing these aspects of volume group structure is not possible.
Plan a big enough window to handle this possible problem.
-s PE size
-p physical volume limit
These to vgcreate parameters let you control overall capacity. -p defaults to 255 and if you set that lower, your ability to access more space on a very large disk improves.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2008 04:56 AM
тАО02-21-2008 04:56 AM
Re: Adding a disk to an existing volume group
You will not be able to add this disk/lun online. If you are running 11.23 or 11.31 you could have a look at the vgmodify command, there is even un unsupported version of this command for 11.11.
Have a look at vgmodify document.
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1201316
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2008 12:18 AM
тАО02-22-2008 12:18 AM
Re: Adding a disk to an existing volume group
Hi Antonio,
You don't need to stop package to vgextend a clustered volume. Simply vgextend with your new disk (of course, beware max PE per PV etc...), and then vgexport in PREVIEW mode (-p) your VG, and then vgexport and vgimport on inactive node.
On active node:
vgexport -p -v -s -m VG.map VG
rcp VG.map file to inactive node.
On inactive node:
vgexport VG
mkdir /dev/VG
mknod /dev/VG c 64 0x??0000 (??->the same number it had before vgexport)
vgimport -v -s -m VG.map VG
It would be wise to vgcfgbackup your newly created VG.
Hope it helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-29-2008 08:55 PM
тАО02-29-2008 08:55 PM
Re: Adding a disk to an existing volume group
If i look at the problem from LVM angle it is very simple and straight forward, no need of vgmodify and all.
You don't have to deactivate the volume group in all nodes. But you to deactivate the VG in all nodes but one.
In that one node you can keep your applications active.
I am assuming that your VG is activated in Shared mode.
Then run vgchange -a e -x
Then run
vgextend
lvextend -l
vgchange -a s -x
vgexport -m /tmp/map -s -p
rcp /tmp/map to all other nodes.
in all other nodes run the following commands.
vgimport -m /tmp/map -s
vgchange -a s