- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: calculating LV SIZE
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-13-2010 03:01 AM
тАО12-13-2010 03:01 AM
while i am reading doc it was mentioned before creating LV we nned to know PE size.Depending upon the PE size we need to creat lV.
From following o/p can you clarify.
#vgdisplay -v /dev/vg01
--- Volume groups ---
VG Name /dev/vg01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 1016
VGDA 2
PE Size (Mbytes) 4
Total PE 477
Alloc PE 475
Free PE 2
Total PVG 0
--- Logical volumes ---
LV Name /dev/vg01/lvol1
LV Status available/syncd
LV Size (Mbytes) 1900
Current LE 475
Allocated PE 475
Used PV 1
--- Physical volumes ---
PV Name /dev/dsk/c1t1d0
PV Status available
Total PE 477
Free PE 2
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2010 03:13 AM
тАО12-13-2010 03:13 AM
Re: calculating LV SIZE
LV Size (Mbytes) 1900
Its the Current LE (475) * PE size (4MB)
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2010 03:31 AM
тАО12-13-2010 03:31 AM
Re: calculating LV SIZE
You can create lvol in 2 different ways:
# lvcreate -n lvol1 -l 475 ...
# lvcreate -n lvol1 -L 1900 ...
man lvcreate
rgs,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2010 03:42 AM
тАО12-13-2010 03:42 AM
Re: calculating LV SIZE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2010 03:54 AM
тАО12-13-2010 03:54 AM
Re: calculating LV SIZE
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2010 04:03 AM
тАО12-13-2010 04:03 AM
Re: calculating LV SIZE
My question is If i need to create new LV then how to calcuate LV size?Don't consider the above o/p.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2010 04:07 AM
тАО12-13-2010 04:07 AM
Re: calculating LV SIZE
With lvcreate you can specify the number of PE or the size in MB.
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2010 04:12 AM
тАО12-13-2010 04:12 AM
SolutionFrom vgdiaplsy o/p,
free PE = 2
Size of one PE = 4 mb
So the size of the LV that can be created, is 2*4 = 8 mb.
You have already an LV which have 475 PEs .
>>Depending upon the PE size we need to creat LV<<
Either you can mention the LV size in mb using -L option or with the number of PEs with -l option with lvcreate command.
Eg.
If you have free PE= 25
and PE size = 4 mb ,
then your total free size is 25*4 = 100 mb
So with -l option, mention 25
and with -L option, mention 100
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2010 05:07 AM
тАО12-13-2010 05:07 AM