- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Add in a new PV into VG
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
тАО12-06-2004 03:55 PM
тАО12-06-2004 03:55 PM
Currently I have 1 VG00 with 1 PV which is 36GB. The PE size is 4MB.
I would like to add in a new PV which is 72GB into this VG00. So, what is the size that system will detect? 72GB or 36GB?
Because according to HP engineer, he told me that even I add in more than 36GB hard disk into this VG00, the max size that the system detect is 36GB only.
Is it true that what he told me?
regards.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2004 04:02 PM
тАО12-06-2004 04:02 PM
Re: Add in a new PV into VG
HP engineer is true.
max. size you can use from one PV is =size of one pv extent*Max PE per PV.
for the root pv when you are installing OS ,the number of extents and Max PE per PV will be setted automatically as per size of disk.you have to create a new VG if you want to use this 73GB fully.
otherwise you should install OS on higher size disk and then add smaller disk.
regds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2004 04:11 PM
тАО12-06-2004 04:11 PM
Re: Add in a new PV into VG
see the following links also.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=18389
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=195975
regds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2004 04:14 PM
тАО12-06-2004 04:14 PM
Re: Add in a new PV into VG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2004 04:25 PM
тАО12-06-2004 04:25 PM
Re: Add in a new PV into VG
Check out 'man vgcreate' very carefully. It's all there!
As you have the default pe_size of 4mb,
bhavin and myself suspect you also have the default max_ps which is adjusted to match the physical volume size. So that's about 9000 extends of 4MB, and that's now the max you can ever use on any disk added to that vg (probably max_pv = 16).
Verify with vginfo -v /dev/vg00
Unfortunatly, you have to roll-out, roll back-in, or re-ignite to change to a max_pe and/or pe_size.
But how about just adding the new disk in a new volume group? How critical is it to you do see a single volume group? Why not add a seconds one?
Also... there are many prior topic on this very question. Please try a search... more options... forum = hpux... text = max_pe (or something like that).
hth,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2004 04:42 PM
тАО12-06-2004 04:42 PM
Re: Add in a new PV into VG
How about if I add in a hard disk where the size is less than 36GB?
Server A
========
VG00 (1 PV with 36GB) PE=8
VG01 (1 PV with 36GB) PE=4
Server B
========
VG00 (1 PV with 72GB) PE=4
VG01 (1 PV with 72GB) PE=4
VG02 (1 PV with 36GB) PE=4
VG03 (1 PV with 36GB) PE=4
All the above installation and configuration is done by the HP engineer. I just wonder why he set the small PE? Any reason?
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2004 04:51 PM
тАО12-06-2004 04:51 PM
Re: Add in a new PV into VG
when you are creating a new vg if you are not specifying any options (see man page of vgcreate) default it will take a pe size of 4MB and max PE per PV as 1016 (if disk is less than 4GB).depending upon the size of disk max pe per pv will increase up to 65535 as default .
see the following options if you want to change this settings
-e max_pe Set the maximum number of physical extents
that can be allocated from any of the
physical volumes in the volume group. The
default value for max_pe is 1016. However,
if the size of any physical volume exceeds
1016 times the pe_size, the default value for
max_pe is adjusted to match the physical
volume size. The maximum number of physical
extents can be a value in the range 1 to
65535.
-s pe_size Sets the number of megabytes in each physical
extent, where pe_size is expressed in units
of megabytes (MB) in the range 1 to 256.
pe_size must be equal to a power of 2 (1, 2,
4, 8, etc.). The default value for pe_size
is 4 (four megabytes).
once created thereis no other way to change this parameters other than recreating the VG which will destroy data .
regds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2004 04:58 PM
тАО12-06-2004 04:58 PM
Re: Add in a new PV into VG
It means that no matter the hard disk size, if I'm not specify the PE size, the default PE size is 4MB. Am I right?
I thought the PE size will be adjusted by the system according to the hard disk size if we are not specify the PE size.
The most important thing is accroding to HP engineer, he told me that there is no different in term of perfomance, speed of data transferring if hv bigger PE size. Is it true?
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2004 05:08 PM
тАО12-06-2004 05:08 PM
Re: Add in a new PV into VG
speed of data trasferring ,etc depends on disk.
the io will depend on what is the rpm of disk,how many controllers you are using to access that disk (if you are using disk array),your network,etc.
regds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2004 05:46 PM
тАО12-06-2004 05:46 PM
Re: Add in a new PV into VG
All the above installation and configuration is done by the HP engineer. I just wonder why he set the small PE? Any reason?
No he has not done it deliberatley but used default. Default is 4MB. if you do not specify PE size while creating VG then it is set to 4MB whereas in ServerA he has set it to 8MB.
Well on server B i think you should go for new vg and this time make sure to specify the -s option which decides about the PE size. And then add disk to that VG instead of going in destructively. It offcourse depends on your requirement.
Hope that helps.
Regards,