- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Usages of Physical Extend
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
04-20-2005 03:04 PM
04-20-2005 03:04 PM
Usages of Physical Extend
Any way to see how many physical extend are in use with a LV ?
kar fai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2005 03:15 PM
04-20-2005 03:15 PM
Re: Usages of Physical Extend
use lvdisplay command:
# lvdisplay -v /dev/vg##/lvol#
look at the "Allocated PE" and that is the physical extents for that logical volume.
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2005 03:27 PM
04-20-2005 03:27 PM
Re: Usages of Physical Extend
I should re-phrase my question.
if I have 1000 pe in a lvol, any way to see which pe are in use ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2005 03:36 PM
04-20-2005 03:36 PM
Re: Usages of Physical Extend
use "lvdisplay -v" and scroll to the logical extents, it will tell u which PE is use.
hope it helps.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2005 03:40 PM
04-20-2005 03:40 PM
Re: Usages of Physical Extend
--- Volume groups ---
VG Name /dev/vgname
VG Write Access read/write
VG Status available
Max LV 255
Current LE 250
Allocated PE 250
Used PV 1
.........
..........
LV Name /dev/vg01/lvbkp
LV Status available/syncd
LV Size (Mbytes) 2000
Current LE 500
Allocated PE 500
Used PV 1
--- Physical volumes ---
PV Name /dev/dsk/c5t0d0
PV Name /dev/dsk/c4t0d0 Alternate Link
PV Status available
Total PE 20476
Free PE 0
Autoswitch On
PV Name /dev/dsk/c5t0d1
PV Name /dev/dsk/c4t0d1 Alternate Link
PV Status available
Total PE 17917
Free PE 0
Autoswitch On
PV Name /dev/dsk/c4t0d4
PV Name /dev/dsk/c5t0d4 Alternate Link
PV Status available
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2005 05:24 PM
04-20-2005 05:24 PM
Re: Usages of Physical Extend
You need to first find out the disk of which you need free PEs
# vgdisplay -v vgname
in the last outputs it will show you the disks for that VG
then just give
# pvdisplay -v /dev/dsk/cntndn
it shows you all the PEs associated with the disk.
Current PEs are used ones and Free PEs free
ones
Thanks and Regards,
Abhijit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2005 06:55 PM
04-20-2005 06:55 PM
Re: Usages of Physical Extend
I think your question is the free PE of a LV.
Not free PE of a PV.
There is no way find out free PE in a LV.
If LV size is 1000 and if the file system on it may me very less. From LVM commands you cannot determine which is free/used.
If you have online-jfs installed and if your file system vxfs then you can use fsadm to organise the used data blocks and do a lvreduce!!
May be I am wrong,
Regds
TT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2005 08:45 PM
04-20-2005 08:45 PM
Re: Usages of Physical Extend
there isno way to find out which PE in a LV is used fro data and which is free. Data managment is done by file system layer so no LVM command can give you this information.
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2005 09:43 PM
04-20-2005 09:43 PM
Re: Usages of Physical Extend
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2005 09:44 PM
04-20-2005 09:44 PM