- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: PE position in pvdisplay output?
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
Forums
Discussions
Discussions
Discussions
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
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
05-28-2003 06:01 AM
05-28-2003 06:01 AM
PE position in pvdisplay output?
--- Physical extents ---
which shows you the layour of the PEs and the upper section entitled
--- Distribution of physical volume ---
My question is, in this section, does the order that the LVOLs are listed have any relation to the layout on disk? It seems to me that on all my 10.20 boxes, the order is random and on 11.x, they are listed in lvol order (which makes more sense because lvol1 is usually the boot volume in vg00 and must be first on the disk).
For example, on 10.20, I see this:
--- Distribution of physical volume ---
LV Name LE of LV PE for LV
/dev/vg00/lvol3 256 256
/dev/vg00/lvol2 128 128
/dev/vg00/lvol4 896 896
/dev/vg00/lvol1 128 128
while on 11.x, I see this:
--- Distribution of physical volume ---
LV Name LE of LV PE for LV
/dev/vg00/lvol1 21 21
/dev/vg00/lvol2 256 256
/dev/vg00/lvol3 35 35
/dev/vg00/lvol4 384 384
Both, of course, have the boot volume lvol1 starting at PE 0000 which is all that counts yes?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 05:48 AM
05-28-2003 05:48 AM
Re: PE position in pvdisplay output?
You are correct in that as long as lvol1 starts at extent 0000, followed by lvol2 and lvol3, you are OK. The order of the lvols after lvol3 does not really matter, but the first 3 are critical.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 05:49 AM
05-28-2003 05:49 AM
Re: PE position in pvdisplay output?
The order of your lvols in your vgdisplay isn't that important. The LVM machinery keeps up with what PEs are on which PVs and which lvols they belong to. I've seen the lvols in a vgdisplay get jumbled after running a defrag with fsadm, but everything keeps running happily.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 05:50 AM
05-28-2003 05:50 AM
Re: PE position in pvdisplay output?
for ex..
--- Physical extents ---
PE Status LV LE
0000 current /dev/vg00/lvol1 0000
0001 current /dev/vg00/lvol1 0001
0002 current /dev/vg00/lvol1 0002
0003 current /dev/vg00/lvol1 0003
0004 current /dev/vg00/lvol1 0004
.
.
.
0025 current /dev/vg00/lvol2 0000
0026 current /dev/vg00/lvol2 0001
0027 current /dev/vg00/lvol2 0002
0028 current /dev/vg00/lvol2 0003
0029 current /dev/vg00/lvol2 0004
.
.
In this case 0 to 24 is lvol1 and 25 onwards its lvol2 and so on..
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 05:52 AM
05-28-2003 05:52 AM
Re: PE position in pvdisplay output?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 05:59 AM
05-28-2003 05:59 AM
Re: PE position in pvdisplay output?
As far as having a functional boot disk, the order of the first three logical volumes must be 'lvol1', 'lvol2' and then 'lvol3' with their physical extents conforming in that ascending sequence.
I checked two of my 10.20 servers. On one, the distribution of the logical volumes was strictly ascending, but on the other the logical volumes appeared as 3,2,1,7,5,8,6,4. Therefore, the situation you see is not something specific to 10.20.
Of course, in both cases, the allocation of physical extents began for 'lvol1' and proceeded in strict contiguous order through (at least) 'lvol3'.
My guess is that the version of Ignite used to ignite these servers did something different in the initial allocation of vg00's logical volumes.
The order of appearance of the logical volumes as reflected later in a 'vgdisplay' or a 'pvdisplay' should follow the *original* order of the 'lvcreate'. Thus, I suspect that an 'lvcreate' of *zero* size was done for the logical volumes, followed by an 'lvextend' with a desired size. In this fashion, one could see physical extents beginning at zero used for 'lvol1' (as should be the case for a bootable disk), yet 'lvol1' not be the first logical volume in the distribution of physical volume's logical volume list.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 06:14 AM
05-28-2003 06:14 AM
Re: PE position in pvdisplay output?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 06:35 AM
05-28-2003 06:35 AM